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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
julsr
Resolver III
Resolver III

Modifying the Workspace Names is breaking my connections

Hi everyone!

 

I'm using Deployment Pipelines, and I have 3 workspaces with a prefix on them (i.e., Dev Workspace - Area1, Test Workspace - Area1, Prod Workspace - Area1). When removing the "- Area1" from the name of each workspace the Direct Query and Import connections break with the following error:

"We couldn't connect to your DirectQuery data source or internal model. Double-check that your server and database names are correct, and that you have permission to access them"

 

I fixed the previous error by modifying back the Workspace names adding the "- Area1" again, but how could I change them without breaking anything?

 

Thanks

2 REPLIES 2
v-zhangti
Community Support
Community Support

Hi, @julsr 

 

You can rename a workspace in a deployment pipeline by unassigning it from the pipeline stage and then assigning it again with the new name. However, this may cause some item connections to be lost or broken, so you need to review and fix them manually after renaming the workspace.
Assign a workspace to a Microsoft Fabric Application lifecycle management (ALM) deployment pipeline ...

 

You can also use the workspace parameter in the deployment pipeline settings to specify a custom name for each stage. This name will be used as a prefix for the workspace name when deploying to that stage. For example, if you set the workspace parameter to “Dev” for the development stage, the workspace name will be “Dev - Workspace Name”. This way, you can avoid changing the original workspace name and keep the connections intact.

Get started using deployment pipelines, the Fabric Application lifecycle management (ALM) tool - Mic...

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

GilbertQ
Super User
Super User

Hi @julsr 

 

Because it is linked to the actual name that is why it is breaking.


What you could possibly do is to save the PBIX as a PBIP and open it with Visual Studio Code, you should see the connection string in one of the files and there you can change the name?





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

Proud to be a Super User!







Power BI Blog

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.