Forum Discussion
Download commits, commiter data from GitHub to PowerBI
- 11 months ago
Hii Copycat
Since you're using GitHub Enterprise with SSO, the Power BI GitHub connector will not work it only supports public github.com using GitHub’s own OAuth app. Enterprise SSO logins, enterprise domains (github.company.com), and PAT-based auth are not supported in the connector, so your use case cannot refresh in Power BI Service.
The working alternatives is :
Power Automate >> connect to GitHub Enterprise using SSO >> save commits/JSON to SharePoint/Blob >. Power BI refreshes from there.
Hii Copycat
You can connect using below steps :
- Power BI Desktop >> Get Data >> GitHub
- Enter:
- Owner = org or user name
- Repository = repo name
- When the browser opens >> log in with your normal GitHub account
- GitHub will ask permission:
- “Power BI wants to access your GitHub data”
- Click Authorize
- Power BI retrieves an OAuth token automatically
There is no need of PAT or Password.
I may forgot to include this information.
I'm using GitHub Enterprise not personal GH (github.company_name.com). That means I do not have password for my github account since I need to log in via SSO.
After reading a bit, I found that this PowerBI connector won't work for my usecase - because of above.
Still looking for a different way to do it. Does anyone got any ideas how to achieve it?
- rohit199111 months ago
Super User
Hii Copycat
Since you're using GitHub Enterprise with SSO, the Power BI GitHub connector will not work it only supports public github.com using GitHub’s own OAuth app. Enterprise SSO logins, enterprise domains (github.company.com), and PAT-based auth are not supported in the connector, so your use case cannot refresh in Power BI Service.
The working alternatives is :
Power Automate >> connect to GitHub Enterprise using SSO >> save commits/JSON to SharePoint/Blob >. Power BI refreshes from there.