web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Restore/Reset Unique F...
Power Automate
Answered

Restore/Reset Unique Folder Permission in a SharePoint Library using flow

(0) ShareShare
ReportReport
Posted on by 32

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.

 

 

 

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    69,437 Most Valuable Professional on at

    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. 

  • rlee2021 Profile Picture
    32 on at

    @Pstork1 

     

    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. 

  • Verified answer
    Pstork1 Profile Picture
    69,437 Most Valuable Professional on at

    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.

  • rlee2021 Profile Picture
    32 on at

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

  • Pstork1 Profile Picture
    69,437 Most Valuable Professional on at

    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?

  • rlee2021 Profile Picture
    32 on at

    @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? 😊

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 840

#2
Valantis Profile Picture

Valantis 661

#3
Haque Profile Picture

Haque 589

Last 30 days Overall leaderboard