Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Create sharing link for a file or folder to anyone

I try to use the Operation ID: CreateSharingLink

of Power Automate


Site Address
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



"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.

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:


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


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021


Join the new Power Virtual Agents Community!

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


New & Improved Power Automate Community Cookbook

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


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)