Showing results for 
Search instead for 
Did you mean: 
Not applicable

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

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.

Advocate II
Advocate II

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:

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

Not applicable

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?

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

Helpful resources

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

AI Builder AMA June 7th carousel (up on May 25th, take down June 8th) (1).png

'Ask Microsoft Anything' about AI Builder!

The AI Builder team invite you to ask questions and provide helpful answers at our next AMA.

Users online (1,512)