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
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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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