You are trying to share a file or folder from a SharePoint site, but the Anyone link option is grayed out or missing. This problem occurs only on one specific site, while other sites in your tenant still show the Anyone link as available. The root cause is a site-level sharing setting that overrides the tenant-level policy. This article explains why the Anyone link is disabled for a single site and provides step-by-step instructions to re-enable it.
Key Takeaways: Anyone Link Disabled for One Site
- SharePoint admin center > Active sites > Site settings > Sharing: Controls whether Anyone links are allowed for a specific site, independent of the tenant policy.
- Site-level sharing setting: When set to New and existing guests or Existing guests only, the Anyone link option is disabled for that site.
- Tenant-level sharing policy: Must allow Anyone links globally, but the site-level setting can restrict them further.
Why the Anyone Link Is Disabled for One Site
SharePoint offers several link types for sharing files and folders: Anyone, People in your organization, People with existing access, and Specific people. The Anyone link is the most permissive option because it allows anyone with the link to access the content without signing in.
Microsoft 365 administrators control sharing at two levels: the tenant level and the site level. The tenant-level sharing policy sets the maximum allowed sharing scope. The site-level sharing setting can reduce that scope for a specific site but cannot expand it beyond the tenant limit.
When the Anyone link is disabled for a single site, the tenant-level policy almost certainly allows Anyone links. The cause is the site-level sharing setting. If the site-level setting is configured to New and existing guests or Existing guests only, the Anyone link option disappears from the sharing dialog for that site. The setting Anyone must be selected at the site level to enable the Anyone link.
How the Site-Level Sharing Setting Works
Every SharePoint site has a Sharing section in its site settings. This section contains a slider or radio buttons that determine the external sharing scope for that site. The options are:
- Anyone – Users can share files and folders using Anyone links. This option must be selected for the Anyone link to appear.
- New and existing guests – Users can share with people outside the organization, but only via Guest links (People in your organization or Specific people). Anyone links are disabled.
- Existing guests only – Users can share only with guests who already have access to the site. Anyone links are disabled.
- Only people in your organization – No external sharing is allowed. Anyone links are disabled.
If the site-level setting is anything other than Anyone, the Anyone link is grayed out or missing when users attempt to share content from that site.
Steps to Enable the Anyone Link for a Single Site
Before changing the site-level setting, verify that the tenant-level sharing policy allows Anyone links. If the tenant policy restricts sharing to People in your organization, no site can use Anyone links.
To check the tenant-level policy:
- Open the SharePoint admin center
Sign in to Microsoft 365 with a Global Administrator or SharePoint Administrator account. Go to the Microsoft 365 admin center, then select Admin centers > SharePoint. - Navigate to the Sharing policy
In the left navigation, select Policies > Sharing. Look for the External sharing section. The slider must be set to Anyone for Anyone links to be available at the tenant level.
If the tenant policy is set to Anyone, proceed to the site-level fix.
Method 1: Change the Site-Level Sharing Setting in the SharePoint Admin Center
- Locate the affected site
In the SharePoint admin center, select Active sites from the left navigation. Find the site where the Anyone link is disabled. You can search by site name or URL. - Open site settings
Click the site name to open the site details panel. In the panel, select the Settings tab. - Change the external sharing setting
Scroll down to the External sharing section. Click the Change how external users can share items link. In the dialog that opens, select Anyone. Click Save. - Verify the change
Go to the site, open a document library, select a file, and click Share. The Anyone link option should now be available.
Method 2: Change the Site-Level Sharing Setting Using PowerShell
If you prefer automation or need to change settings for multiple sites, use the SharePoint Online Management Shell.
- Install and connect to SharePoint Online
Install the SharePoint Online Management Shell module if you have not already. Open PowerShell as an administrator and runInstall-Module -Name Microsoft.Online.SharePoint.PowerShell. Then connect to your tenant:Connect-SPOService -Url https://yourtenant-admin.sharepoint.com. - Check the current site-level sharing setting
RunGet-SPOSite -Identity https://yourtenant.sharepoint.com/sites/yoursiteurl | fl SharingCapability. The output shows the current setting, such as ExternalUserAndGuestSharing (Anyone) or ExistingExternalUserSharingOnly (Existing guests only). - Set the sharing capability to Anyone
RunSet-SPOSite -Identity https://yourtenant.sharepoint.com/sites/yoursiteurl -SharingCapability ExternalUserAndGuestSharing. This command enables Anyone links for the site. - Confirm the change
RunGet-SPOSite -Identity https://yourtenant.sharepoint.com/sites/yoursiteurl | fl SharingCapabilityagain. The output should show ExternalUserAndGuestSharing.
If the Anyone Link Still Does Not Appear
Tenant-Level Policy Overrides Site Settings
Even if you set the site-level sharing to Anyone, the Anyone link will not appear if the tenant-level policy is set to a more restrictive option. In the SharePoint admin center, go to Policies > Sharing and confirm the External sharing slider is set to Anyone. If it is set to New and existing guests or a lower option, increase it to Anyone.
Site Collection Feature Disables Anyone Links
Some site templates or customizations may disable the Anyone link feature. Check if the site is a classic site or a modern site. Classic sites might have custom permissions or features that block Anyone links. If the site uses a classic template, consider migrating to a modern site or reviewing the site collection features in Site settings > Site collection features.
Guest Access Settings in Microsoft Entra ID
Microsoft Entra ID (formerly Azure AD) has guest user access settings that can affect external sharing. Go to Microsoft Entra admin center > External Identities > External collaboration settings. Ensure that Guest invite restrictions is set to Anyone in the organization can invite guest users. If this setting is too restrictive, Anyone links may be blocked even if SharePoint settings allow them.
| Item | Tenant-Level Policy | Site-Level Setting |
|---|---|---|
| Description | Global sharing maximum for all SharePoint sites and OneDrive | Sharing scope for a specific site |
| Location | SharePoint admin center > Policies > Sharing | SharePoint admin center > Active sites > Site settings > External sharing |
| Anyone link enabled | Slider must be set to Anyone | Option must be set to Anyone |
| Override behavior | Cannot be overridden by site-level settings | Can reduce scope but cannot increase beyond tenant policy |
| Common misconfiguration | Set to New and existing guests instead of Anyone | Set to Existing guests only instead of Anyone |
After you update the site-level sharing setting to Anyone, verify the change by sharing a file from the affected site. The Anyone link should now appear in the sharing dialog. If the problem persists, review the tenant-level policy and the Entra ID guest settings. The site-level setting is the most common cause of this issue, and changing it resolves the problem in the majority of cases.
For administrators who manage multiple sites, use the PowerShell method to apply the Anyone setting to several sites at once. Combine the Set-SPOSite command with a Get-SPOSite filter to target only sites that have a specific sharing setting. This approach saves time and ensures consistency across your environment.