cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
3tsolutions
Advocate II
Advocate II

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 ACCEPTED SOLUTION

Accepted Solutions
v-bacao-msft
Community Support
Community Support

 

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.

View solution in original post

6 REPLIES 6
v-bacao-msft
Community Support
Community Support

 

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.
J8
Frequent Visitor

Hi,

I am having the same forbidden error here but with  just "People in my organization".

Has anyone found a solution on this?

I think I was granted with full access permission on the Sharepoint.

But if access to https://admin.microsoft.com/sharepoint?page=home&modern=true (SharePoint Admin Centre) is denied, does it mean I am not the SharePoint admin?

Can anyone point out specifically what to change according to below links in order to get this "create sharing link for a file or folder" run?

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

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

Thanks.

Mira_Ghaly
Dual Super User
Dual Super User

@J8 you need to be a global admin or sharepoint admin so that u can enable external sharing and if u can't access the admin site then u do not have the sufficient permissions just follow the 2 articles mentioned above and u will get there

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here
J8
Frequent Visitor

@Mira_Ghaly ya, I got my IT support to turn on this sharing feature, thanks!

Mira_Ghaly
Dual Super User
Dual Super User

@J8 Is it working for you now?

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here
J8
Frequent Visitor

Yes, it's working now.

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

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

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (3,190)