Permission & Access Issues

Disable Organization-Wide Sharing Links in SharePoint Online

Phi Hung VoPhi Hung Vo Nov 18, 2026 868 views

Question details

The user wants to prevent contributors from creating organization-wide sharing links for a SharePoint site.

How to Disable Organization-Wide Sharing Links in SharePoint Online
Product
SharePoint Online
Device & OS
not provided
Scenario
A SharePoint administrator wants to limit broad link-based access to content on a site.
Observed behavior
Contributors may be able to create links that allow people in the organization to access shared content.
Before you start

Identify the affected site URL and have a SharePoint administrator account ready. Install or update the SharePoint Online Management Shell and identify your tenant's SharePoint admin URL.

Solution 1Recommended

Disable organization-wide links for the SharePoint site

Use SharePoint Online PowerShell to restrict organization-wide sharing links on the affected site.

1
Connect to SharePoint Online

Open the SharePoint Online Management Shell and run Connect-SPOService -Url https://<tenant>-admin.sharepoint.com. Replace <tenant> with your tenant name and sign in with an administrator account.

2
Apply the site restriction

Run Set-SPOSite -Identity <site> -DisableCompanyWideSharingLinks, replacing <site> with the full URL of the affected SharePoint site.

3
Check the sharing options

Open the affected site, select a file, and choose Share > Link settings. Check that an organization-wide link is no longer available to create.

4
Review additional controls

In the SharePoint admin center, open Sites > Active sites, select the site, and review its Sharing settings. Also review Policies > Sharing for organization-level restrictions.

Disable organization-wide links for the SharePoint site
Review existing access: Do not assume the setting removes existing links or permissions. Review existing links and site permissions separately, and remove access where necessary.
Free Microsoft Office alternative

Edit Office files with WPS Office

WPS Office is a free, lightweight alternative with a familiar interface and compatibility with common Microsoft Office formats, making it easier to move existing documents into a different editing workflow. It does not change SharePoint sharing policies.

Open and edit files shared from SharePoint after downloading themCompatible with Microsoft Word, Excel, and PowerPoint formatsFamiliar document, spreadsheet, and presentation toolsFree and lightweight for everyday Office work
QA img-9

Frequently Asked Questions

Does changing the default link type disable organization-wide links?

No. A default link type changes the option initially presented in the Share dialog; it does not necessarily prevent users from choosing another available link type. Use the site restriction and check Share > Link settings.

Will disabling organization-wide links remove existing links?

Do not assume existing links are removed. For sensitive files, open Share > Manage access and review or remove links and permissions that should no longer be available.

Where can I review a site's sharing settings?

In the SharePoint admin center, go to Sites > Active sites, select the site, and open its Sharing settings. Organization-level controls are available under Policies > Sharing.

Does an organization-wide link automatically grant access to everyone?

An organization-wide link can allow eligible people in the organization who have the link to access the shared content. It is different from granting everyone direct site membership.