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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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