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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Tibor_Stokl
Frequent Visitor

Not able to connect to Github repo for git integration

Hello I am unable to connect my premium capacity workspace to GitHub repo. 

 

It gives me an error "Invalid Git token: There was an error with the Git token provider. Check the credentials and try again". The token should be fine since it is just copied from Github. The scope of the classic token is on "Full control of private repositories" only.

 

I suspect that the problem might be that my companies Github is hosted on an URL named "code.rbi.tech" so it isn't the classic "github.com" URL. 

 

In the documentation in the section "General Git integration limitations" it says that now "Sovereign clouds" are not supported and I suspect that the token is from an URL that is a sovereign cloud but I am not sure.

 

Can someone confirm this? Thank you. 

2 ACCEPTED SOLUTIONS
GilbertQ
Super User
Super User

Hi @Tibor_Stokl 

 

It does appear to me that it will not work unless it is from github.com for now.

 

You can vote or create an idea here: https://aka.ms/FabricIdeas 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

hackcrr
Super User
Super User

@Tibor_Stokl 

Your idea is exactly right, I created a token on github and used it in my workspace using:

hackcrr_0-1724801889400.png

 

hackcrr_1-1724801928610.png

hackcrr_3-1724802082136.png

 

hackcrr_2-1724801979835.png

As you might guess, your repository should be hosted on GitHub.

 

 

If I have answered your question, please mark my reply as solution and kudos to this post, thank you!

 

 

View solution in original post

3 REPLIES 3
hackcrr
Super User
Super User

@Tibor_Stokl 

Your idea is exactly right, I created a token on github and used it in my workspace using:

hackcrr_0-1724801889400.png

 

hackcrr_1-1724801928610.png

hackcrr_3-1724802082136.png

 

hackcrr_2-1724801979835.png

As you might guess, your repository should be hosted on GitHub.

 

 

If I have answered your question, please mark my reply as solution and kudos to this post, thank you!

 

 

GilbertQ
Super User
Super User

Hi @Tibor_Stokl 

 

It does appear to me that it will not work unless it is from github.com for now.

 

You can vote or create an idea here: https://aka.ms/FabricIdeas 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Hi guys, Im dealing with the same message error but the posted solution is not working for me.

I have two scenarios:

1. When using the classic PAT, the workspace connects with the GitHub account BUT it doesnt shows the complete list of branches of the repo, just a few old ones.

2. When using the fine-grained token with CONTENT permission on read-write mode, the message error mentioned appears.

 

Referring to the posted solution, if I write just "https://github.com" the ADD button remains disabled until I write the complete repo url.

What else can I check ?

Helpful resources

Announcements
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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

Top Solution Authors