How to Fix Power Automate Error: Sharing Is Disabled on the Site
Question details
The user needs to resolve an issue where a Power Automate flow fails to create a SharePoint sharing link due to an error claiming sharing is disabled.

- Product
- Microsoft Power Automate and SharePoint
- Device & OS
- not provided
- Scenario
- Attempting to automate the creation of a SharePoint document sharing link using a Power Automate flow.
- Observed behavior
- The flow execution fails with a specific error message stating that sharing has been disabled on the site, even though sharing appears to be enabled for standard users.
Before troubleshooting your flow, ensure you have SharePoint Administrator privileges or can contact your IT department, as resolving this often requires reviewing site and tenant-level sharing policies.
Check SharePoint Site and Tenant-Level Sharing Policies
This error most frequently occurs because the underlying SharePoint tenant or specific site settings restrict the creation of the requested sharing link type.
Even if users can share files manually, the specific type of link the flow is requesting (e.g., 'Anyone with the link') might be blocked at the administrative level.
Log in to the Microsoft 365 admin portal and open the SharePoint Admin Center using an administrator account.
Navigate to 'Policies' in the left sidebar and select 'Sharing' to review the global tenant-level external sharing settings. Ensure it is not set to 'Only people in your organization'.
Go to 'Sites' > 'Active sites', select the specific site used in your Power Automate flow, and check its individual 'Sharing' settings under the 'Policies' tab.
Ensure that default link permissions and sensitivity labels applied to the site or document are not overriding the flow's attempt to create a sharing link.
Inspect Flow Connection Permissions and Run History
Verify that the account authenticating the SharePoint connector in Power Automate has not lost its permissions or encountered authentication issues.
Looking for a simpler way to manage and share documents?
Complex administrative configurations in Microsoft SharePoint and Power Automate can be frustrating for everyday tasks. Try WPS Office, a free, lightweight, and highly compatible Office alternative that makes document creation, editing, and cloud sharing seamless without the heavy IT overhead.

Frequently Asked Questions
Why does my Power Automate flow say sharing is disabled when I can share it manually?
Manual sharing often uses your personal user credentials, whereas the flow might be using a connection account with different permissions. Additionally, the flow might be configured to create an 'Anyone' link, which may be disabled by admin policies, even if 'Specific people' links are allowed manually.
Do sensitivity labels affect SharePoint sharing links?
Yes. If a sensitivity label applied to a document or site restricts external sharing, Power Automate will fail to generate a sharing link and return an access denied or sharing disabled error.
Where can I find detailed logs for this SharePoint sharing error?
You can check the SharePoint audit logs in the Microsoft Purview compliance portal, or review the flow run history in Power Automate to see the exact HTTP response and failure reason provided by the SharePoint API.




