Clone report

 

Updated: July 21, 2017



Request | Response

Clone report makes a copy of the requested report with the targeted new name within the same workspace by default (created report will be bound to the same original dataset as used by the original report).

In case you wish to clone a given report to a different workspace, please provide within the request the targeted workspace id and corresponding dataset in the targeted workspace (this operation will copy the report and rebind to a different dataset, must have the same model structure to not breaking report visuals).

You can also rebind the clone report to a different dataset within the same workspace, for this please provide the dataset id within the request body.

POST https://api.powerbi.com/v1.0/myorg/reports/{report_id}/Clone

Groups

Groups are a collection of unified Azure Active Directory groups that the user is a member of and is available in the Power BI service. These are referred to as app workspaces within the Power BI service. To learn how to create a group, see Create an app workspace.

POST https://api.powerbi.com/v1.0/myorg/groups/{group_id}/reports/{report_id}/Clone

Uri parameter

NameDescriptionData Type
group_idGuid of the Group to use. You can get the group id from the Get Groups operation. Groups are referred to as app workspaces within the Power BI service.String
report_idGuid of the report to get. You can get the report id from the Get reports operation.String

Header

Authorization: Bearer eyJ0eX ... FWSXfwtQ

Body schema

{
  "name": "string",
  "targetWorkspaceId": "string",
  "targetModelId": "string"
}

{
  "id": "string",
  "name": "string",
  "webUrl": "string",
  "embedUrl": "string",
  "datasetId": "string"
}

Status code

CodeDescription
200OK. Indicates success.
400Bad request. Invalid Post body.
404Not found
403Unauthorized
500Internal service error
Show: