Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Sandhyarani958
Frequent Visitor

Copying reports from one workspace to another workspace using Power BI Rest APIs

Hello All,

 

I got requirement to copy reports from one workspace to another workspace using Power BI Rest APIs.

 

Several methods to get the response from Power BI api have been tested from Power Shell cmdlets. Able to copy the reports in default user workspace. The request is failing when I copy the report to a different workspace. Need help in confirming if the rest POST APIs provided by Microsoft to clone a report is valid.

 

Please post views about it.

 

Thanks,

Sandhya

 
1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

Hi @Sandhyarani958,

 

For duplicate workspace and its contents, you can refer to following blog to know more about this: (based on rest api and powershell script)

Duplicate workspaces using the Power BI REST APIs: a step-by-step tutorial

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

3 REPLIES 3
u02cm62
Helper V
Helper V

I used this script that was mentioned in the solution, however, it seems to not work on V1 workspaces to V2 workspaces.  When I copy from one V2 workspace to another, it works fine.  However, when I pick a workspace that's v1 to a new v2, it doesn't work and says I don't have edit rights, even though I am admin on all our workspaces.  Does this only work now on V2 workspaces?  I was hoping to use this for copying over so I can go from v1 to v2.

Anonymous
Not applicable

@u02cm62  did u get solution? also when u say v1 to v2...u mean classic(old) workspace to new worspace?

i tried the same,,it nly copies from new workspace to old but not vice versa,,,,

v-shex-msft
Community Support
Community Support

Hi @Sandhyarani958,

 

For duplicate workspace and its contents, you can refer to following blog to know more about this: (based on rest api and powershell script)

Duplicate workspaces using the Power BI REST APIs: a step-by-step tutorial

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors