Forum Discussion
Power BI App Deployment with Azure DevOps
- 1 year ago
Hello camelopardkh,
Thank you for your follow-up.you can automate deploying specific reports and updating the associated app by combining Power BI REST APIs with ADO pipelines. consider below points:
- Store your .pbix or .pbip files in an ADO Git repository (master branch). Use an ADO pipeline to selectively upload a specific report to your Power BI workspace using the POST /imports API. This allows you to target individual reports rather than moving all workspace content.
- After uploading the report, use the POST /groups/{groupId}/apps API to programmatically publish or update the app. This API updates the app’s content based on the workspace, including your newly deployed report. You can trigger this in ADO using a task that calls the API with a service principal for authentication.
- Use a service principal for secure, non-interactive access to Power BI APIs. Configure it in ADO with credentials stored securely in Azure Key Vault.
This approach avoids manual app updates and aligns with your ADO workflow for selective report deployment.
If you have any further questions, please don't hesitate to contact us through the community. We are happy to assist you.
Thank you.
Hello camelopardkh,
Thank you for reaching out to the Microsoft Fabric Forum Community.
You're correct that as of now, the Power BI REST API only supports GET operations for Power BI apps and it does not support POST/PUT/PATCH to automate publishing or updating a Power BI app through an Azure DevOps pipeline. This is a known limitation for teams aiming to fully automate their deployment workflows using CI/CD pipelines. Please consider below points:
- Use Deployment Pipelines for deploying content across development, test, and production stages.
- Use Azure DevOps to manage .pbip project files or .pbix files and automate pushing content to workspaces.
- Manually publish or update the app in the production workspace via the UI since the REST API doesn’t support automating this step yet.
If this information is helpful, please “Accept as solution” and give a "kudos" to assist other community members in resolving similar issues more efficiently.
Thank you.