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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
dsuneetha
Regular Visitor

How to update semantic model's cloud connection after updating the Fabric workspace with Git API

I have our Fabric dev workspace integrated with github repo Dev branch.  QA workspace is integrated with the same github Repo's Main branch.

I created a lakehouse, couple of delta parquet tables and a semantic model and  committed these changes from Dev Fabric workspace to git hub repo Dev branch and merged theses changes into Main branch using a PR.

Later I updated QA workspace with commits pushed to the Main branch using Fabric Git API. 

 

In QA workspace, the semantic model  is connecting to Dev workspace. I could not figure out how to update this connection. 

 

How to update the Semantic model to point to QA workspace's SQL anlytics end point using the UI? Also is there any API to update this programmatically?

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @dsuneetha 

Thanks for reaching out Microsoft Fabric community forum

Currently, there is no direct UI option in Power BI or Fabric to update a semantic model’s connection to a new SQL Analytics endpoint directly in the Fabric workspace.

 

If the semantic model is linked automatically to a Lakehouse via Direct Lake mode and created natively in Fabric, there isn't a straightforward UI-based edit for its connection string. The workspace connection defaults to the workspace where the Lakehouse resides.

 

To move the semantic model:

Create a new semantic model in the QA workspace.

Use the same tables, measures, and structures as in the Dev model.

Connect the new model to the QA Lakehouse.

 

You can also update the connection programmatically by interacting with the Git repository where the configuration files for your semantic model are stored

 

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

Thank you.

 

View solution in original post

3 REPLIES 3
dsuneetha
Regular Visitor

Thank you for suggesting a solution. I also spoke with the support team. Currently there is no API to update just the SQL Analytics endpoint/lakeshouse id. Either we have to manually update model.ibm file and commit the change to git repo or use getItem/update Item definitions API to update it.

Anonymous
Not applicable

Hi @dsuneetha 
Thank you for your patience. From the steps outlined above, please let us know if anything was helpful to you, so that we can convert it into a formal answer. If so, we would appreciate it if you could Accept it as a solution and drop a 'Kudos' so other members can find it more easily.
Thank you.

Anonymous
Not applicable

Hi @dsuneetha 

Thanks for reaching out Microsoft Fabric community forum

Currently, there is no direct UI option in Power BI or Fabric to update a semantic model’s connection to a new SQL Analytics endpoint directly in the Fabric workspace.

 

If the semantic model is linked automatically to a Lakehouse via Direct Lake mode and created natively in Fabric, there isn't a straightforward UI-based edit for its connection string. The workspace connection defaults to the workspace where the Lakehouse resides.

 

To move the semantic model:

Create a new semantic model in the QA workspace.

Use the same tables, measures, and structures as in the Dev model.

Connect the new model to the QA Lakehouse.

 

You can also update the connection programmatically by interacting with the Git repository where the configuration files for your semantic model are stored

 

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

Thank you.

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Fabric Update Carousel

Fabric Monthly Update - September 2025

Check out the September 2025 Fabric update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.