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

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

Reply
PhantomThread
Advocate II
Advocate II

Has anyone got git integration working?

So we're a year in to using Fabric, and we've got quite a lot of stuff in there now.

 

However, I'm still outside of proper source control management as deployment pipelines don't work and deploying our branch to a new workspace never works.

 

If anyone has got it working and is properly doing anything close to CI/CD can you share with the community how you did it?

 

Cheers!

2 REPLIES 2
jwinchell40
Super User
Super User

@PhantomThread - This is still a work in progress for us because of the solution we provide and host for clients in Fabric we are waiting on PBIR App Support; then we will go full tilt on figuring it out.

 

What we have done to date (sorry for the long post), but while we not in an automated CI/CD space yet; we've been able to prove out a lot of things so we can look at building deployment automations.

 

Happy Path Projects:

For our happy path projects, mainly internal, where the Datasets/Reports are similiar we've connected each one of those workspaces to a GIT Repo with a Main branch and sub-folders for each individual workspace.  Each workspace is connected to their respective folder.  That has given us the ability to edit the Datasets/Dashboards directly in Power BI web so we can track changes.  It has been very reliable and given the TMDL support detecting conflicts between changes local vs web has been huge.

 

New Deployments:

While this is not automated yet; when we have a new deployment of this solution we setup the Workspace and connect it to the same Project & configure the Sub-Folder for that workspace.  In VS Code (local or web) I open the project and I copy my template files into this new sub-folder.  Then I update the file names, report parameters.  I save and commit all changes.  Then on the Workspace side we pull changes and my Dataset & Reports are deployed and they just work.  I've eliminated opening the template in Desktop, change parameters then publishing.  I do it all in 5-10m and I'm done.  Documenting these steps will help build the automation when we get time to do it; but we've been able to at least prove out that it will actually work.

 

Copy/Paste Changes:

I've been able to open the project in VS Code; add a measure to the template then Copy/Paste that measure code into all of the other reports. Save & Committ and all of the Datasets get that new measure.  No longer am I having to open up each Dataset to add the change manually.

 

One thing I'm really excited about that we just proved out is making changes to data source queries.  A lot of our solutions use data from sources we do not host and require a gateway.  As we all know in Power BI Desktop you cannot connect to data sources behind a gateway.  So everytime we have a change we have to repoint the dataset at a dummy, local db, make changes publish.  Then change connection parameters and refresh so that the right data gets pulled.   Very time consuming.  We've been able to change Power Query steps in VSCode Commit them and then it just works in Web.  That is a huge timesaver for us.  It cuts a good 10-15m out of the process; in some cases more.

 

 

 

Anonymous
Not applicable

Hi @PhantomThread 

 

Microsoft provides some documentation and blogs about CI/CD options in Fabric. They introduce some best practices.

Exploring CI/CD Capabilities in Microsoft Fabric: A Focus on Data Pipelines | Microsoft Fabric Blog ...

CI/CD workflow options in Fabric - Microsoft Fabric | Microsoft Learn

Best practices for lifecycle management in Fabric - Microsoft Fabric | Microsoft Learn

 

You said the deployment pipeline and git integration don't work, did you receive any error message? Error message sometimes could indicate a possible cause. 

 

At the moment, some Fabric artifacts are not supported in deployment pipeline or git integration. If you hit these limitations, you might experience a failure. Please check the following documentation for troubleshooting first. 

Fabric lifecycle management tools Frequently asked questions - Microsoft Fabric | Microsoft Learn

Troubleshoot the Fabric lifecycle management tools. - Microsoft Fabric | Microsoft Learn

 

If you are unable to resolve the failure you met, please provide more details about what you have tried for CI/CD process and share the error messages (note: please remove sensitive information).

 

Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!

Helpful resources

Announcements
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.

May FBC25 Carousel

Fabric Monthly Update - May 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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