Forum Discussion
Powerbi PBIP cannot save RLS (access to \roles is denied)
- Anonymous1 year ago
Hi both. I haven't tried to move to a non-one drive fodler (and I would not be a solution since if I do I'll lose all the benefits of shared one drive folder). HOWEVER what fixed was deleting the \roles folder and saving again. PowerBI recreated the folder, I guess with the right permissions.
- 1 year ago
Hi Anonymous
Thank you for sharing your update and confirming that you dont have any issue. i request you to please accept your own post as the solution, this will help other community members who might face a similar issue.
Thanks again for your contribution!
Hi Anonymous ,
Thank you for reaching out to Microsoft Community.
I understand that you are facing an issue while saving RLS on your PBIP file.
Try moving the PBIP project folder to a local, non-synced location, then re-open it in Power BI, make your RLS edits, and see if the save works without error.
As per your statement I can see that the location is under OneDrive, OneDrive syncing might lock or interfere with file access, causing a write permission error.
Right-click the OneDrive icon in the system tray.
Choose "Pause syncing" (for 2 hours or more).
Make and save the RLS changes.
Resume syncing afterward.
Try again by running Power BI Desktop as Administrator and also make sure user account has Full Control on the data source.
If this helped, please mark it as the solution so others can benefit too. And if you found it useful, kudos are always appreciated.
Thanks,
Chaithra E.
Hi both. I haven't tried to move to a non-one drive fodler (and I would not be a solution since if I do I'll lose all the benefits of shared one drive folder). HOWEVER what fixed was deleting the \roles folder and saving again. PowerBI recreated the folder, I guess with the right permissions.
- v-echaithra1 year ago
Community Support
Hi Anonymous
Thank you for sharing your update and confirming that you dont have any issue. i request you to please accept your own post as the solution, this will help other community members who might face a similar issue.
Thanks again for your contribution!