Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
sidkumar
Microsoft Employee
Microsoft Employee

How to get Authorization token to make a POST request to update a Power BI workspace

I need an Authorization token to make a POST request to update a Power BI workspace (in order to automatically deploy changes from the git repo into the workspace) which is made when the 'Update all' button is clicked in the Source control section.

 

community question on updating from git.png

 

When you click Update All in the PowerBI workspace's Souce Control section, a POST call is made.

This is the url for POST call:

https://df-msit-scus-redirect.analysis.windows.net/metadata/git/workspaces/{YOUR_WORKSPACE_ID}/updat...

 

Body will look like this:

{
  "targetCommit""Your_Target_Commit_ID",
  "workspaceHead""Your_Current_Commit_ID"
}
 
Headers will include an Authorization token: Bearer {Token_in_question}
 
How can I get this Token?
Thank you
1 REPLY 1
arvindsingh802
Super User
Super User

Please follow https://www.youtube.com/watch?v=f7HLyiAk-lQ 
and https://www.youtube.com/watch?v=OSUPpLUAfek 

 


If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!!
Proud to be a Super User!!

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.