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

Community site session details

Session Id : +5Vy0TG+UPaySUZtcaOZzj
Power Automate - Building Flows
Answered

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

Like (0) ShareShare
ReportReport
Posted on 27 Sep 2021 10:20:26 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.

 

 

 

I have the same question (0)
  • rlee2021 Profile Picture
    32 on 29 Sep 2021 at 06:54:16
    Re: Restore/Reset Unique Folder Permission in a SharePoint Library using flow

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

  • Pstork1 Profile Picture
    67,623 Most Valuable Professional on 28 Sep 2021 at 12:45:34
    Re: Restore/Reset Unique Folder Permission in a SharePoint Library using flow

    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 28 Sep 2021 at 07:04:02
    Re: Restore/Reset Unique Folder Permission in a SharePoint Library using flow

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

  • Verified answer
    Pstork1 Profile Picture
    67,623 Most Valuable Professional on 27 Sep 2021 at 12:00:29
    Re: Restore/Reset Unique Folder Permission in a SharePoint Library using flow

    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 27 Sep 2021 at 11:31:14
    Re: Restore/Reset Unique Folder Permission in a SharePoint Library using flow

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

  • Pstork1 Profile Picture
    67,623 Most Valuable Professional on 27 Sep 2021 at 11:11:44
    Re: Restore/Reset Unique Folder Permission in a SharePoint Library using flow

    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. 

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 786 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 724 Super User 2025 Season 2

#3
stampcoin Profile Picture

stampcoin 290 Super User 2025 Season 2

Last 30 days Overall leaderboard