The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello team, I am trying to build an Azure devops yaml pipeline to push code to a fabric workspace. I already have a service principal but it is not working as updatefromgit fabric api only support git provider from github. Now I am stuck. what could be done here.
It only support user token and not app token.
As it is a devops pipline so everything should be automated.
Could someone guide me on what could be achieved here?
Solved! Go to Solution.
Hi @Debitsme,
Thank you for reaching out to Microsoft Fabric Community Forum.
Microsoft Fabric’s updateFromGit API only supports GitHub and requires a user PAT, so it doesn’t work with Azure DevOps or service principals — limiting full CI/CD automation from DevOps.
Instead of using the Fabric updateFromGit API, we can deploy our Power BI content — saved as .pbip (Power BI Project) or .pbix files — directly to the Fabric workspace using the Power BI REST API.
This works well with Azure DevOps, is secure, and it's 100% automated.
For reference: https://learn.microsoft.com/en-us/fabric/cicd/deployment-pipelines/pipeline-automation
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!
Regards,
Vinay Pabbu
Hi @Debitsme,
You can use the Fabric CI/CD package to streamline your deployment process. The fabric-cicd Python library is designed for deploying Microsoft Fabric items from a repository into a workspace. It supports various authentication methods, including user tokens, SPN, Managed Identity, etc. , and can help automate your CI/CD workflows.
Key Features of the Fabric CI/CD Module:
You can build an Azure DevOps pipeline to integrate this package, ensuring a seamless and automated deployment process.
you can check the following documentation:
Introducing fabric-cicd Deployment Tool | Microsoft Fabric Blog | Microsoft Fabric
GitHub - microsoft/fabric-cicd: Jumpstart CICD deployments in Microsoft Fabric
Getting Started - fabric-cicd
Best Regards,
Shreya
Hi @Debitsme,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.
Regards,
Vinay Pabbu
Hi @Debitsme,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.
Regards,
Vinay Pabbu
Hi @Debitsme,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.
Regards,
Vinay Pabbu
Hi @Debitsme ,
You want to create a YAML pipeline to push code from Azure DevOps to a Microsoft Fabric workspace, but you're stuck because the updateFromGit API only supports GitHub and only works with a user token. This is currently a common situation due to the limitations of Fabric APIs.
Summary:
Currently limited Azure DevOps + Fabric API integration for full automation. The best workaround:
Define user token as secret,
Calling updateFromGitwith a script.
However, in the long run, it would be more sustainable to switch to GitHub Actions or wait for Microsoft's app token support.
Hi @Debitsme, our team is working on releasing the SPN support for Azure DevOps in the upcoming weeks.
Stay tune.
Thanks
Hi @Debitsme,
You can use the Fabric CI/CD package to streamline your deployment process. The fabric-cicd Python library is designed for deploying Microsoft Fabric items from a repository into a workspace. It supports various authentication methods, including user tokens, SPN, Managed Identity, etc. , and can help automate your CI/CD workflows.
Key Features of the Fabric CI/CD Module:
You can build an Azure DevOps pipeline to integrate this package, ensuring a seamless and automated deployment process.
you can check the following documentation:
Introducing fabric-cicd Deployment Tool | Microsoft Fabric Blog | Microsoft Fabric
GitHub - microsoft/fabric-cicd: Jumpstart CICD deployments in Microsoft Fabric
Getting Started - fabric-cicd
Best Regards,
Shreya
Hi all,
I can elaborate on this by sharing a link that covers exactly how to use fabric-cicd with a YAML pipeline in Azure DevOps. It even contains a link to a sample template you can use.
I hope this helps...
Hi @Debitsme,
Thank you for reaching out to Microsoft Fabric Community Forum.
Microsoft Fabric’s updateFromGit API only supports GitHub and requires a user PAT, so it doesn’t work with Azure DevOps or service principals — limiting full CI/CD automation from DevOps.
Instead of using the Fabric updateFromGit API, we can deploy our Power BI content — saved as .pbip (Power BI Project) or .pbix files — directly to the Fabric workspace using the Power BI REST API.
This works well with Azure DevOps, is secure, and it's 100% automated.
For reference: https://learn.microsoft.com/en-us/fabric/cicd/deployment-pipelines/pipeline-automation
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!
Regards,
Vinay Pabbu
User | Count |
---|---|
19 | |
10 | |
6 | |
3 | |
3 |
User | Count |
---|---|
48 | |
24 | |
17 | |
12 | |
12 |