Hi,
I would like to ask for assistance from experts here. I would like to know how to reset or restore the unique folder permission set on a specific folder (not the whole library). I know how to break the inheritance, assign roles to a user for that specific folder, and resetting the the role inheritance of the library using the below parameters.
_api/Web/lists/getByTitle('Final Documents')/ResetRoleInheritance()
But that's not what I want, I just want to reset or restore the unique permission created on a specific folder.
Appreciate the feedback.
@Pstork1 Thanks for the advise. I followed your suggestion, I'm using HTTP calls to add and configure roles. After I configure the role for the user, I used another HTTP request to remove the user, and another HTTP call to add manually the groups and users similar to the unique permissions I initially created. Thanks again @Pstork1 for your suggestions. I'm new to power automate and power platform and wanted to become an expert like you, any advise on how I can become an expert like you? 😊
To change the permissions to Read you would first need to remove the Edit permission you already assigned and then set the Read permission. Are you using HTTP calls in the action to assign the permissions or are you using the Share action?
@Pstork1 can you please show me how I can achieve that? How can I manually rebuild the unique permissions I created on a folder? I tried to add an action where it would configure the role of the user back to READ only once the move folder is done but it would still show that his access is still at EDIT.
The only way to do that would be to rebuild that set of permissions manually. Unique permissions are stored in place, so once you change them there is no way to restored them. But you can recreate them the same way you did in the first place.
I meant to restore the unique permission I have initially created on a folder. I'm trying to build a flow that allows a user to move folders or files from 'Draft' library to a specific folder (Confidential Documents) in the 'Final' library. The 'Final' library has to 2 folders in it, one of the folder has inherited the site permission which has 'READ' permissions only , and the other one (Confidential Documents) I created a unique permission thru 'manage permissions' and remove groups who doesn't need access to this folder. The flow that I've created breaks the inheritance on the 'Confidential Documents' folder and configure a 'EDIT' of the user for him to be able to move folders, but after this flow, I don't know how to restore the unique permission I initially created for the 'Confidential Documents' folder once the moving of folders/files are done.
Could you explain what you mean by reset the unique permissions? Folder permissions are either inherited from the level above them or set individually. If you want to get back to the original permissions that were on the folder when you broke inheritance then reset the inheritance on the folder and follow that with another call to break inheritance. That will leave you with a folder that has unique permissions that are equal to the original permissions it inherited.
Michael E. Gernaey
497
Super User 2025 Season 1
David_MA
436
Super User 2025 Season 1
Riyaz_riz11
244
Super User 2025 Season 1