Forum Discussion

camelopardkh's avatar
camelopardkh
Regular Visitor
1 year ago
Solved

Power BI App Deployment with Azure DevOps

Hello Power BI Community, I’m currently exploring ways to update a Power BI app through an Azure DevOps pipeline. From what I’ve found so far, it looks like Microsoft only offers GET APIs for Power ...
  • v-ssriganesh's avatar
    v-ssriganesh
    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.