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 / SharePoint Permissions...
Power Automate
Unanswered

SharePoint Permissions Flow Clearing Folder Permissions and Adding a Group

(0) ShareShare
ReportReport
Posted on by 92

Hello,

 

I have a flow, which feels like it's so close to being complete. The aim of the flow, simply put, is to do the following:

 

  1. Create a predefined parent folder. This parent folder then also has 5 other sub-folders generated (all as part of this same flow).
  2. Inheritance is then switched off for some of the subfolders of the newly created parent folder.
  3. Need help with: Now that inheritance is switched off for the required subfolders, I need a way of clearing all existing permissions against them.
  4. Need help with: Finally, I need to add a group called 'Management' to the same subfolders that the above has been actioned against, giving them just the usual edit permissions.

Would really, really appreciate any help on this, as this has been something I've been trying to work on and figure out for a long time.

 

Thanks,

Billy

 

Categories:
  • tom_riha Profile Picture
    10,187 Most Valuable Professional on at

    Hello @BP-PT ,

    you can remove permissions using HTTP requests as described here: https://tomriha.com/how-to-remove-permissions-from-a-sharepoint-folder-with-power-automate/.

    The correct permissions can be then assigned back using the 'Grant access to an item or a folder' action. Or with a few more HTTP requests if the 'Management' group is a SharePoint group.

  • BP-PT Profile Picture
    92 on at

    Hi @tom_riha ,

     

    Thank you so much for your response - this has been incredibly helpful.

     

    I'm just stuck at the last step now, which is adding in the Management group with permissions. This is a O365 security group. Please can you help me with this and then I can be done with this 😄 

     

    Thanks,

    Billy

  • tom_riha Profile Picture
    10,187 Most Valuable Professional on at

    If it's an O365 security group then you can use the 'Grant access to an item or a folder' to assign the permission to each of the folders.

  • BP-PT Profile Picture
    92 on at

    @tom_riha , thank you for this, much appreciated.

     

    Is there a way that I can basically apply this process (as per my original post) for 5 subfolders created without having to duplicate each seperate process in the flow for removal, listing and addition of permissions for each subfolder?

     

    Thanks,

    Billy

  • tom_riha Profile Picture
    10,187 Most Valuable Professional on at

    Hello @BP-PT ,

    it depends on how you create the folders. If you create the subfolders in some loop then you could do all the permission settings right after you create the folders.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 349 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard