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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Em1993
Frequent Visitor

Access Forbidden When Saving Power BI Project To Github Repo

Lately when I try saving changes to my github repo for my Power Bi Project file I get the below error. Anyone experience this? I cant see any issues that would cause this. Has worked fine for months with no issues.

 

Em1993_0-1734122184167.png

 

3 REPLIES 3
Anonymous
Not applicable

Hi, @Em1993

Is this issue solved now? If you have any other questions, please feel free to share with us.

And don't forget to accept the answers if they helped. Your action would be helpful to other users who encounter the same issue and read this thread. 

 

Thanks for your understanding. 

Best regards,

Lucy Chen

danextian
Super User
Super User

Try saving the file in a different location then overwrite what's in github after.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

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


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
rajendraongole1
Super User
Super User

Hi @Em1993 - 

Pause OneDrive Sync Temporarily:

Right-click the OneDrive icon in the taskbar.
Select "Pause syncing" for 2 hours (or a suitable duration).
Save the Power BI report file (.pbix) to the GitHub folder manually.
Resume syncing in OneDrive after saving.
Save Locally First:

Instead of saving directly to the GitHub folder, save the .pbix file to a local location outside OneDrive.
Then manually copy the saved file back into the GitHub repository folder.
Check File Permissions:

Ensure your user account has full read/write permissions to the OneDrive folder and subfolders.
Right-click the OneDrive folder → Properties → Security tab → Edit permissions.
Disable OneDrive File-On-Demand:

OneDrive's "Files On-Demand" feature sometimes delays file availability, causing save errors.
To disable it:
Open OneDrive settings.
Go to the Sync and Backup section.
Uncheck "Save space and download files as you use them."
Close Conflicting Processes:

Ensure no other applications (e.g., Git clients, other Power BI sessions, or file viewers) are accessing or locking the .pbix file.
Use Task Manager to close unnecessary processes.
Power BI Permissions:

If Power BI lacks permissions for OneDrive, open it as an administrator:
Right-click Power BI Desktop → Run as Administrator.
GitHub and OneDrive Sync Conflict:

Avoid syncing the GitHub folder directly with OneDrive. Instead, store the .pbix file locally and push it to GitHub using a version control tool (like GitHub Desktop).

https://community.fabric.microsoft.com/t5/Issues/Unable-to-Save-or-Open-pbix-Documents/idi-p/299218

https://community.fabric.microsoft.com/t5/Issues/Error-Access-to-the-path-is-denied/idi-p/498709

 





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

Proud to be a Super User!





Helpful resources

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

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.