Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
Hi,
I'm using the Power BI Rest API via Powershell within ADO pipelines to fully automate the deployment of artifacts (datasets, reports, dashboards) across DEV->ACC->PROD Power BI Service workspaces. I use Power BI Service deployment pipelines but automate this very manual deployment process via "Selective Deploy" API calls within the ADO pipelines along with governance processes like archiving the artifacts incase of rollback etc. The one thing missing to fully automate the end to end process is to update the workspace apps once the artifacts have been deployed, I can't seem to find this API call, can this be done within the POST body of the Invoke-PowerBIRestMethod?
Thanks.
Solved! Go to Solution.
Figured this out, simply add the below to the body. The app will initially need to be published for this to work:
Check the pipeline and app exist by passing these artifact values into the function:
Has anyone tried to get this API working to Update or Publish the app ? I'm curious if it only works for Premium since it uses Deployment pipelines?
Check the pipeline and app exist by passing these artifact values into the function:
Figured this out, simply add the below to the body. The app will initially need to be published for this to work:
I have a similar problem: I want to update a workspace app via Powershell. But I do not use Pipelines. What would the skript look like? Thanks a lot in advance.
Did you figure out if the power bi or fabric api support this?
What API endpoint did you do this with?
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
13 | |
12 | |
7 | |
5 | |
4 |