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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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

 

7 REPLIES 7
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

Thank you for confirming the root cause and sharing the limitation details with the community. Glad the issue is now understood, and we appreciate the update. This information will also help other users facing similar behavior with Fabric Core Git APIs.

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.

Top Kudoed Authors