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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
TalIL87
Frequent Visitor

Clone Power BI reports between tenants using Power BI REST API

Hi!
 
I have 2 workspaces:
  • Workspace A hosted on tenant A: Vendor workspace which contains the product PBIX. "Golden workspace".
  • Workspace B: Client workspace, hosted on tenants B, client workspace.

On workspace A I have: Dataset + report A Report which is connected to the dataset above.

I want to copy the content workspace A to workspace B using the rest API. (I am using python).

I am using PPU or Pro license, I don't have premium capacity.

I want to copy the content workspace A to workspace B using the rest API. (I am using python). I am pretty familiar with Power BI service principal profiles and used them several times.

a legit solution can be to import PBIX files to workspace B, I don't must clone workspace A.

 

My final goal is to create the workflow on this link.

 

Thank you, Tal

 

4 REPLIES 4
Hariharan_R
Solution Sage
Solution Sage

Hi @TalIL87 

You need to ensure you are using the right authentication.

Ref - https://www.sqlshack.com/migrate-power-bi-reports-between-multiple-workspaces/

Ref - https://powerbi.microsoft.com/sv-se/blog/duplicate-workspaces-using-the-power-bi-rest-apis-a-step-by...

Thanks

Hari

Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


My Blog :: YouTube Channel :: My Linkedin


Hi

I generated the token and used in order to create workspaces an dusers. So from the authentication aspect I think I am good. Thanks for the links, the thing is that all the examples are based on powershell. any chance you have examples with the REST API HTTP requests?

 

appriciate the help, Tal

Anonymous
Not applicable

Hi @TalIL87,

Did these report contents design on the power bi service side? If not, I'd like to suggest you parametrized these reports with query parameters.

Deep Dive into Query Parameters and Power BI Templates | Microsoft Power BI Blog | Microsoft Power B...
Then you can directly use rest API to export and re-publish to different tenants, and change the query parameter to work in different environments.

Using the Power BI Service Parameters to change connection strings (To possibly change between Dev  

Regards,

Xiaoxin Sheng

Thanks for the help

I'm familiar with the parameters. Currently, my main obstacle is to import the PBIX or clone it.

 

I think about 2 options:

  1. Clone a work space and all the reports and datasets in it (The option I described above).
  2. Import a PBIX I uploaded to Blob storage (The PBIX are small, about 100MB). Does it possible using PPU or Pro license? Or I need premium capacity for this.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.