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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Unable to connect to organizational private GitHub repo

Hi, 

 

I am unable to get GitHub data from private repos in my organization. I am getting this error message:

 

 

Unable to connect
We encountered an error while trying to connect.
Details: “The GitHub owner/repository provided could not be found or you do not have sufficent [sic] access. Please check the values and try again.”

 

 

I have successfully connected GitHub to Power BI, and the GitHub organization owner has approved my request to allow PBI to access private organization data (see screenshots below).

 

Steps to reproduce:

 

1. I opened Power BI Desktop and clicked get data

FelixVita_2-1637149060470.png

 

2. On my first time using the GitHub connector in Power BI I was prompted to login with GitHub to authorize GitHub with Power BI. On that same screen I had the option to request access to any organizations I have on my GitHub profile. I clicked "Request" on my organization which resulted in the prompt shown in the screenshot below

FelixVita_3-1637149097512.png

After requesting access to my org I clicked the green "Authorize Power BI" button. 

 

3. I waited until access was granted by the GitHub organization owner. Then I double checked my github settings to be 100% sure:

FelixVita_0-1637161863226.png

 

4. Next step is to fill in organization and repo name. (You are normally taken directly to this step after completing step 1 if your GitHub is already authenticated with Power BI). Here is an example of how to do it with a public repo:

FelixVita_4-1637149657324.png

By the way, public repos work fine for me to import into Power BI. I'm only facing the problem for organizational private repos. 

 

5. Then the error message appears.

FelixVita_0-1637148587606.png

 

How do I fix this problem? Any help is super appreciated, thanks 🙂

Status: Investigating

Since the GitHub connector is still a preview connector so would not certain whether it supports private repos in Power BI Desktop.

vyingjl_0-1637215343604.png

 

Have you tried to connect to GitHub private repos in Power BI Service? 

Refer: Tutorial: Connect to a GitHub repo with Power BI 

 

You can also try to use the web connector in Power BI Desktop to connect to GitHub:

Connect Powerbi to Github 

 

Best Regards,
Community Support Team _ Yingjie Li

Comments
v-yingjl
Community Support
Status changed to: Investigating

Since the GitHub connector is still a preview connector so would not certain whether it supports private repos in Power BI Desktop.

vyingjl_0-1637215343604.png

 

Have you tried to connect to GitHub private repos in Power BI Service? 

Refer: Tutorial: Connect to a GitHub repo with Power BI 

 

You can also try to use the web connector in Power BI Desktop to connect to GitHub:

Connect Powerbi to Github 

 

Best Regards,
Community Support Team _ Yingjie Li

FelixVita
New Member

@v-yingjl Hi! Thanks for the quick response! Those are two interesting options.

 

Regarding option #1 (Power BI service)

I tried this, and it works! Great! The only problem is that I can't figure out how to capture the data from multiple repositories and aggregate this into one report. (Is this is even possible without using Power BI Desktop?) See screenshot below.

FelixVita_0-1637233626165.png

 

 

Regarding option #2 (Web connector)

Looks like this is a bit more work to set up, so I have not yet tried this approach. I'll post an update here once I've given it a try.

zoeguest
Regular Visitor

Hi, I am having the same issue. Do you know if it is possible to connect to a private organizational repo?

 

Thanks