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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Sarim_Husain
Microsoft Employee
Microsoft Employee

Issue with Fabric Core GIT APIs

I am trying to use https://learn.microsoft.com/en-us/rest/api/fabric/core/git APIs to perform GIT Sync in once of my workspaces.

 

I have tried two things

  1. Creating a Service Connection in ADO and running a YML pipeline
  2. Generating auth token directly in Python notebook and hitting the API

I am using a SPN which has access to the target workspace and has the APIs whitelisted as well. I have attached the error screenshot as well Any guidance would be appreciated

I have verified that my token is working using other API calls 

 

Sarim_Husain_0-1776912161019.png

 

6 REPLIES 6
V-yubandi-msft
Community Support
Community Support

Hi @Sarim_Husain ,

If you get a chance, please review the responses shared by @Sarim_Husain . They have correctly pointed out the key points, so kindly check and let us know if you need any additional details.

 

Thank you for your response, @ibarrau .

Thanks, I found that this is a limitation

The limitation is applied for SP with automatic credentials source regardless of the repo (github/ ADO).

So nothing much we can do for now, unless there is a way to create a feature to include Apps

Thank you for confirming and providing the details. I understand the limitation with SPNs in this situation and will watch for any updates from the product team.

 

If there are any changes or you find more information, please share it here. Let us know if you need us to validate anything else on our end.

Thanks for all the help

Hi @Sarim_Husain

Just checking in to see if the issue has been resolved on your end. If the earlier suggestions helped, that’s great to hear! And if you’re still facing challenges, feel free to share more details happy to assist further.

Thank you.

ibarrau
Super User
Super User

Hi. That error is a bad request. Something on the way you build the request, url, body, etc is not ok. Can you show your code? otherwise we can only say the same thing the message of the picture says, you are missing the credentials configuration.

Regards


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.