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 / Create new folder in S...
Power Automate
Unanswered

Create new folder in SharePoint and grant edit access to external users

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I am building a flow for following scenario

  • Create folder in Bookings SP library once a user creates booking in Microsoft bookings:
  • Folder name <name of the person that booked >
  • Grant Edit access to the folder to the person that made the booking
  • Send notification to the person who booked

Note: Can not use "Create sharing link for a file or folder" because only the external user whom we have given access should be able to upload files. Also can not use "Grant access to an item or a folder" action because the notification goes to spam.

Categories:
I have the same question (0)
  • LouiseBach Profile Picture
    30 on at

    Hey @Anonymous 

    I had to do something similar for a booking system result folder for my department.

    Using the function "send a http request" I got it (flow) to create a folder (standard trigger, not http), break inheritance, remove all previous access (had to remove visitor access), re-add members group and then add specific users to have read access.

    I used these links for inspiration/help:

    https://isaacsogunro.com/2019/06/26/microsoft-flow-create-folder-and-break-inheritance/
    https://www.portiva.nl/portiblog/2019/10/21/set-list-item-level-permissions-in-sharepoint-using-flow
    https://codeplayandlearn.wordpress.com/2015/07/07/53/
    https://powerusers.microsoft.com/t5/General-Power-Automate/Grant-Folder-Level-Permssion/td-p/160967
    https://sergeluca.wordpress.com/2018/05/03/assign-unique-permissions-to-a-document-with-the-new-send-an-http-request-to-sharepoint-action-how-to-use-the-sharepoint-rest-api-in-flow/
    help1.pnghelp2.png

    I used a variable to store the location of the folder, which could then be included into the mail to the booker.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @LouiseBach 
    In action "get employee id" you are getting the user id from site users. But since my user is an external user I can not get their id using this action. So my question is that where can I get this 'principalid' for external users?

  • LouiseBach Profile Picture
    30 on at

    maybe the "get user profile" action can be used? 

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard