cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Create sharing link for a file or folder to anyone

I try to use the Operation ID: CreateSharingLink

of Power Automate

Parameters

Site Addresshttps://mycompanyname.sharepoint.com/sites/mysite/
Library NameDocuments
Item IdDynamic ID element
Link TypeView and edit
Link ScopeAnyone with the link, including anonymous
Link Expirationa date

Error message:Forbidden

Status Code: 403

Body:

 

{
"error": {
"code": "notAllowed",
"message": "The feature has been disabled. Please contact your admin to get it enabled."
}
}

 

I'm the Administrator , in the Sharing page of the new SharePoint admin center

I've set the site level to anyone , so the most permissive sharing permissions.

About the file and folder link settings by default I've set to Anyone with the link.

 

Is there anyone who can help me understand how to fix it ? Thank's.

1 REPLY 1
Highlighted
Community Support
Community Support

Re: Create sharing link for a file or folder to anyone

 

Hi @3tsolutions ,

 

It seems that the sharing feature is disabled, so the Create sharing link action cannot be executed correctly.

Please refer to the settings mentioned in the links below to enable this feature:

https://docs.microsoft.com/en-us/sharepoint/turn-external-sharing-on-or-off

https://docs.microsoft.com/en-us/sharepoint/change-external-sharing-site

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (11,111)