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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

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