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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors