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 / Give certain permissio...
Power Automate
Unanswered

Give certain permissions to created folders from any user

(0) ShareShare
ReportReport
Posted on by 12

Hello awesome community,

 

I have the following case: If any user inside an Document Library creates an specific folder (lets say "sales") for this folder the current permissions are removed and new permissions are assign (Group). So just for this specific folder and every time a folder named sales is created.

 

Thanks for your help!

Categories:
I have the same question (0)
  • Thomas49875 Profile Picture
    12 on at
    Re: Give certain permissions to created folders from any user

    Is this possible with HTTP POST Request? 

  • ScottShearer Profile Picture
    25,268 Most Valuable Professional on at
    Re: Give certain permissions to created folders from any user

    @Thomas49875 

    You can assign permission to a SharePoint group via a SharePoint HTTP action - here is a link for instructions.

    You'll need some logic in your Flow - check the Is folder property for true and then check the name.

     

     

  • Thomas49875 Profile Picture
    12 on at
    Re: Give certain permissions to created folders from any user

    @ScottShearer Thank you very much for that link! There it says in the first step: "This action removes all kinds of permissions for an item for which you specify the ID."

     

    Since a user is creating the folder "sales" in a Document Library  I do not have an ID yet. So what do I have to do before that step ?

  • Thomas49875 Profile Picture
    12 on at
    Re: Give certain permissions to created folders from any user

    Does anybody has an idea about the first step? So the Flow should be

     

    --> Any user creates a specific Folder like "sales"   

    --> The Flow takes all permissions 

    --> The Flow gives new permissions 

     

    How do I create the flow so that the flow recognizes that a folder "sales" has been created and the flow must now change the permissions here?

     

    Thanks for you help!

  • Verified answer
    ScottShearer Profile Picture
    25,268 Most Valuable Professional on at
    Re: Give certain permissions to created folders from any user

    @Thomas49875 

    Use the When a file is created (properties only) trigger - the ID will be available via dynamic properties.  This is the only ID that you'll need as you are setting folder permissions.

    Then use a condition and check the Is folder property for true.

    You need not remove all permissions unless you want to.  If you do choose to remove permissions, make sure that the account you are using is a site owner or SCA.

    image.png

     

     

     

     

     

     

  • Thomas49875 Profile Picture
    12 on at
    Re: Give certain permissions to created folders from any user

    -

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
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard