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 :
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 withNow that inheritance is switched off for the required subfolders, I need a way of clearing all existing permissions against them.
  4. Need help withFinally, 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:
I have the same question (0)
  • tom_riha Profile Picture
    10,185 Most Valuable Professional on at
    Re: SharePoint Permissions Flow Clearing Folder Permissions and Adding a Group

    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
    Re: SharePoint Permissions Flow Clearing Folder Permissions and Adding a Group

    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,185 Most Valuable Professional on at
    Re: SharePoint Permissions Flow Clearing Folder Permissions and Adding a Group

    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
    Re: SharePoint Permissions Flow Clearing Folder Permissions and Adding a Group

    @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,185 Most Valuable Professional on at
    Re: SharePoint Permissions Flow Clearing Folder Permissions and Adding a Group

    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard