cancel
Showing results for 
Search instead for 
Did you mean: 

Create sharing link for a file or folder in SharePoint for specific people

Hi,

 

Currently in the Microsoft Flow 'Create sharing link for a file or folder' the Link Scope field only has the following options:

- Anyone with the link, including anonymous

- People in your organization

 

Please also add the following option which is available in SharePoint and OneDrive:

- Specific people

 

We really need to be able to create a sharing link just for specific people.

Status: New
Comments
David_Nguyen
Microsoft

Hi @puszes31 

 

Share People with existing access means you need to know if the recipients already have the access. 

 

Then you just need to use the Get File Properties and pass the Full Path to create a link

 

image.png

 

If you want to share using the SharePoint format, here it is:

 

Uri: _api/web/Lists(guid'887C029D-25BE-467D-947C-FDF147AD1BA9')/GetItemById(@{triggerBody()?['entity']?['ID']})/ForwardObjectLink

*Guid is the listid.

Body:

 

{
"peoplePickerInput":"[{\"Key\":\"@{triggerBody()['text']}\"}]",
"emailBody":""
}

 

 

 

 

 

damiancastaneda
New Member

I'm agree. This would be too usefull.

toddcarr1
Regular Visitor

@damiancastaneda  If you look back one page you will see it is done and works.

bmoyer
Frequent Visitor

Hi @David_Nguyen 

 

I am also trying to send my own email with folder sharing link to an external email. You provided a workaround using the Sharepoint REST and ShareLink endpoint. Could you provide an example of the body of the request again please? I noticed there's an ObjectId - not sure what to provide for this. thanks

AIUYM19
Helper V

Still a "new" idea 2.5 years later with 129 votes. 🙄 Why does Power Automate even bother offering to let users enter a "custom value" if it cannot accept custom values in this action? Way to go, Microsoft... wonderful customer experience yet again... 😑

 

 

 

 

Oh yeah; I forgot. You don't care about customer experience. Silly me.

m-emeraud
Regular Visitor

Needs the additional features of 

Specific people

block download

Block printing