Clone report
Updated: July 21, 2017
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
| Name | Description | Data Type |
|---|---|---|
| group_id | Guid 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_id | Guid 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
| Code | Description |
|---|---|
| 200 | OK. Indicates success. |
| 400 | Bad request. Invalid Post body. |
| 404 | Not found |
| 403 | Unauthorized |
| 500 | Internal service error |