Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hello,
I would like to use Azure DevOps with Power BI automation tools to create Deployment pipeline/Assign a workspace to the deployment pipeline/Give user access to the pipeline/workspace etc.. in Power BI service
I want to Azure Service Priciple as a service connection in Azure DevOps.
Please explain me all the API permissions needed for the Service Priciple and the process to setup in DevOps and Power BI Service.
Thanks Heaps
Solved! Go to Solution.
Hi @Pker_Tank ,
Thanks for posting in Microsoft Fabric Community.
To automate Power BI Deployment Pipelines using Azure DevOps and a Service Principal, please follow these steps:
1. Ensure the Service Principal has the following Power BI API permissions in Microsoft Entra ID (Azure AD):
-Workspace.ReadWrite.All – Manage all workspaces.
-Pipeline.ReadWrite.All – Manage deployment pipelines.
-Tenant.Read.All – Read tenant settings.
-Dataset.ReadWrite.All – Manage datasets.
After adding these, an admin must grant consent in Azure AD.
2. Enable Service Principal Access in Power BI
3. Set Up Azure DevOps Service Connection
4. Automate Deployment Pipelines Using Power BI REST APIs
Use Power BI REST APIs in your DevOps pipeline to:
Hope this helps. Please reach out for further assistance.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and a kudos would be appreciated.
Best Regards,
Vinay.
Hi @Pker_Tank ,
Just following up to check if the provided response has addressed your needs. If it does, please mark it as 'Accepted solution' to assist others with similar queries. If you need further assistance, please reach out.
Thank you.
Hi @Pker_Tank ,
Thanks for posting in Microsoft Fabric Community.
To automate Power BI Deployment Pipelines using Azure DevOps and a Service Principal, please follow these steps:
1. Ensure the Service Principal has the following Power BI API permissions in Microsoft Entra ID (Azure AD):
-Workspace.ReadWrite.All – Manage all workspaces.
-Pipeline.ReadWrite.All – Manage deployment pipelines.
-Tenant.Read.All – Read tenant settings.
-Dataset.ReadWrite.All – Manage datasets.
After adding these, an admin must grant consent in Azure AD.
2. Enable Service Principal Access in Power BI
3. Set Up Azure DevOps Service Connection
4. Automate Deployment Pipelines Using Power BI REST APIs
Use Power BI REST APIs in your DevOps pipeline to:
Hope this helps. Please reach out for further assistance.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and a kudos would be appreciated.
Best Regards,
Vinay.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.