Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi all,
I’m trying to connect Fabric to GitHub (cloud version).
I created a fine-grained personal access token (PAT) with:
Contents: Read and write
Access to my specific repository (explicitly selected under “Repository access”)
Then in Fabric, I added the Git connection with this PAT. After that, I entered my repository URL:
https://github.com/<org>/<repo>.git
aslo tried
https://github.com/<org>/<repo>
Is there any additional organization-level setting required for Fabric to be able to list branches?
Has anyone run into this and found the missing step?
Thanks in advance!
Solved! Go to Solution.
Hi @tayloramy ,
Thanks for your help! The issue was that I hadn’t added Fabric to the IP allowlist.
I downloaded the Microsoft IP list and added the Power BI IP ranges — that resolved the problem. ✅
Hi @tayloramy ,
Thanks for your help! The issue was that I hadn’t added Fabric to the IP allowlist.
I downloaded the Microsoft IP list and added the Power BI IP ranges — that resolved the problem. ✅
Hi @MauroCerzosimo ,
I'm glad you found a solution and resloved the query. Thank you very much for sharing here.
If you have further queries please reach out.
Thankyou for connecting with Microsoft Community Forum
Hi @MauroCerzosimo,
Glad you found a resolution! I never had to add any IPs to an allowlist for GitHub integrations, my organization must not have it restricted like yours does.
If you found this helpful, consider giving some Kudos. If I solved your problem or answered your question, mark this post as the solution.
Hi @MauroCerzosimo ,
I would also take a moment to thank @tayloramy , for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions
Hi @MauroCerzosimo,
This error means that your personal access token doesn't have permissions in the repository.
When creating a fine graned PAT, some different permissions are required if the repo is in an org.
The first is to set the resource owner as the org instead of you:
I believe you need to be an owner of the organization to be able to do this. AFter this is done, you can select the respository or repositories you want to grant permissions to, and apply the sepcific permissions you need, which are Contents: Read and write:
After all this is set up, you should be good to go.
You have the correct URL,
https://github.com/<org>/<repo>
If you found this helpful, consider giving some Kudos. If I solved your problem or answered your question, mark this post as the solution.
Proud to be a Fabric Community Member
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!