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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
ndexsystems
Regular Visitor

Copying Semantic models and RDL files to new workspaces and rebind files to new data source and blob

Is it possible to copy the contents of a power bi workspace to another workspace and then change the data connections with a power shell script?  The workspace includes reports, semantic models and RDL files and the data is stored in blob storage containers on azure.

1 ACCEPTED SOLUTION
GilbertQ
Super User
Super User

Hi @ndexsystems 

 

Yes, this can be done by using the different part of the APIs in order to move your semantic models and reports between different app workspaces. You can also change the connexion strings with the APIs

Power BI REST APIs for embedded analytics and automation - Power BI REST API | Microsoft Learn

 

A lot of the APIs can also be used with PowerShell scripts. Power BI Cmdlets reference | Microsoft Learn

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

1 REPLY 1
GilbertQ
Super User
Super User

Hi @ndexsystems 

 

Yes, this can be done by using the different part of the APIs in order to move your semantic models and reports between different app workspaces. You can also change the connexion strings with the APIs

Power BI REST APIs for embedded analytics and automation - Power BI REST API | Microsoft Learn

 

A lot of the APIs can also be used with PowerShell scripts. Power BI Cmdlets reference | Microsoft Learn

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.