Yes, you can use PowerShell, the Power BI REST API, or Azure DevOps pipelines to automate and manage deployments when integrating Power BI deployment pipelines with CI/CD tools like Azure DevOps.
The suggested method is to make use of Power BI REST APIs.
- Automate processes such as importing PBIX files, allocating pipeline workspaces, deploying between stages, and initiating dataset refreshes.
- Power BI REST API Documents
- Create Pipelines for Azure DevOps
- Build CI/CD pipelines that:
- Take PBIX files out of a Git repository.
- Deploy to Dev/Test/Prod using APIs using PowerShell or your scripts.
- Add testing logic and approval procedures.
- Azure DevOps Extension for Power BI
- To make deployment automation easier, use custom or third-party extensions.
- Able to automate tasks like versioning, publishing, and refreshing.
- Include Source Control (Git)
- Keep PBIX files in a Git repository.
- Trigger builds/deployments on changes using Azure DevOps workflows.