Reports - Clone Report
Clones the specified report from "My Workspace".
If after cloning the report and its dataset reside in two different upgraded workspaces or "My Workspace", a shared dataset will be created in the report's workspace.
Reports with live connection will lose the live connection when cloning, and will have a direct binding to the target dataset.
Required scope: Content.Create
To set the permissions scope, see Register an app.
Required permissions: Report - Write permissions. Target dataset (if provided) - Build permissions.
POST https://api.powerbi.com/v1.0/myorg/reports/{reportId}/Clone
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
report
|
path | True |
|
The report id |
Request Body
Name | Required | Type | Description |
---|---|---|---|
name | True |
|
The new report name |
targetModelId |
|
Optional parameter for specifying the target associated dataset id. |
|
targetWorkspaceId |
|
Optional parameter for specifying the target workspace id. Empty Guid (00000000-0000-0000-0000-000000000000) indicates 'My Workspace'. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK |
Definitions
Clone |
Power BI clone report request |
Endorsement |
Power BI endorsement details |
Report |
A Power BI report. Below is a list of properties that may be returned for a report. Only a subset of the properties will be returned depending on the API called, the caller permissions and the availability of the data in the Power BI database. |
Sensitivity |
Artifact sensitivity label info |
CloneReportRequest
Power BI clone report request
Name | Type | Description |
---|---|---|
name |
|
The new report name |
targetModelId |
|
Optional parameter for specifying the target associated dataset id. |
targetWorkspaceId |
|
Optional parameter for specifying the target workspace id. Empty Guid (00000000-0000-0000-0000-000000000000) indicates 'My Workspace'. |
EndorsementDetails
Power BI endorsement details
Name | Type | Description |
---|---|---|
certifiedBy |
|
The user that certified the artifact |
endorsement |
|
The endorsement status |
Report
A Power BI report. Below is a list of properties that may be returned for a report. Only a subset of the properties will be returned depending on the API called, the caller permissions and the availability of the data in the Power BI database.
Name | Type | Description |
---|---|---|
createdBy |
|
The report owner |
createdDateTime |
|
The report created date time. |
datasetId |
|
The dataset id |
description |
|
The report description |
embedUrl |
|
The report embed url |
endorsementDetails |
The report endorsement details |
|
id |
|
The report id |
modifiedBy |
|
The user that modified this report |
modifiedDateTime |
|
The report modified date time. |
name |
|
The report name |
reportType |
enum:
|
The report type |
sensitivityLabel |
The report sensitivity label |
|
webUrl |
|
The report web url |
SensitivityLabel
Artifact sensitivity label info
Name | Type | Description |
---|---|---|
labelId |
|
The sensitivity label ID |