cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
3tsolutions
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 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.

View solution in original post

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 II
Dual Super User II

@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 II
Dual Super User II

@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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,705)