Why SharePoint sharing options are grayed out
A grayed-out (greyed-out) sharing option in SharePoint means an administrator's setting does not allow that kind of sharing for this site. Microsoft documents three causes: the organization's external sharing level, the site's own external sharing level, and a site collection feature called Limited-access user permission lockdown mode. A fourth is simpler: the "Anyone with the link" option is unavailable for .aspx pages, because sharing them is not supported.
Microsoft's troubleshooting article puts it in one line: "If one of the sharing options is grayed out, your organization's administrators may have restricted it." The person sharing cannot fix it from the Share dialog. A SharePoint Administrator changes the setting, or the sharer picks a link type that is allowed.
| What you see | Usual cause | Who fixes it |
|---|---|---|
| Anyone with the link is grayed out | The external sharing level for the organization or the site is lower than Anyone | SharePoint Administrator |
| Anyone with the link is grayed out on a page | The item is an .aspx page | Share a different way; this is by design |
| Anyone and People in your organization are both grayed out | Limited-access user permission lockdown mode is active on the site | Site collection administrator |
| "Your organization's policies do not allow you to share with these users" | External sharing is turned off for the organization or the site | SharePoint Administrator |
Cause 1: the organization's external sharing level
The organization-wide setting is the ceiling for every site. It has four levels:
| Level | What Microsoft says it allows |
|---|---|
| Anyone | "Allow users to share files and folders by using links that anyone who has the link can access the files or folders without authenticating." |
| New and existing guests | Guests must sign in with a work or school account or a Microsoft account, or provide a code to verify their identity |
| Existing guests | "Allow sharing only with guests who are already in your directory." |
| Only people in your organization | "Turn off external sharing." |
The link option follows the level. Of "Anyone with the link", Microsoft says: "This option is available only if your external sharing setting is set to Anyone." At any lower level it is grayed out for everybody.
To check or change the level:
- Sign in to admin.microsoft.com as a SharePoint Administrator.
- In the left pane, under Admin centers, select SharePoint. You might need to select Show all first.
- In the SharePoint admin center, expand Policies and select Sharing.
- Under External sharing, set the sharing level for SharePoint and OneDrive.
- Select Save.
The OneDrive level "can be more restrictive than the SharePoint setting, but not more permissive."
Cause 2: the site's external sharing level
Each site has its own level, and Microsoft's rule is that "it must be at the same or more restrictive setting as the organization." So the organization can allow Anyone while one site allows only people in the organization, and on that site the option is grayed out.
New sites do not all start at the same level, which is why sharing works on one site and is grayed out on the next:
| Site type | Default sharing setting |
|---|---|
| Communication sites | Only people in your organization |
| Modern team sites with no Microsoft 365 group | Only people in your organization |
| Classic sites | Only people in your organization |
| Group-connected sites, including Teams | New and existing guests if the Microsoft 365 Groups setting Let group owners add people outside the organization to groups is on; otherwise Existing guests only |
| The root communication site | Anyone |
To change a site's level:
- In the SharePoint admin center, select Sites, then Active sites.
- Select the site.
- On the Settings tab, select More sharing settings. Microsoft's troubleshooting article reaches the same options with the Sharing button.
- Select an external sharing option. To let people share with anyone outside the organization, Microsoft's fix is to "make sure that either New and existing guests or Anyone is selected".
- Select Save, then try sharing again.
Two rules from Microsoft's article on site sharing settings:
- "You must be at least a SharePoint Administrator in Microsoft 365 to change the sharing settings for a site. Site owners can't change these settings."
- "The available settings depend on your organization-level setting." If the level you want is unavailable for the site, raise the organization level first.
Cause 3: Limited-access user permission lockdown mode
This one produces a different picture. With the site collection feature Limited-access user permission lockdown mode active, Microsoft says "the end user will see both Anyone and People in Microsoft grayed out", where the second option carries your organization's name.
To turn it off, as a site collection administrator:
- On the site, go to Site settings.
- Select Site collection features.
- Deactivate Limited-access user permission lockdown mode.
Check why it was turned on before you deactivate it. SharePoint site collection administrator explains who can reach these settings.
Cause 4: you are sharing an .aspx page
Microsoft's note: "The Anyone with the link option might be greyed out if you attempt to share .aspx pages. Sharing .aspx pages is not supported." Choose another link type for a page.
"Your organization's policies do not allow you to share with these users"
This error appears when you type an outside person's address and SharePoint refuses it. Microsoft's explanation: "This error message generally means that external sharing is turned off for your SharePoint or OneDrive sites."
The fix is the same two checks, in the same order:
- The organization. In the SharePoint admin center, under Policies, select Sharing, and check the level under External sharing.
- The site. In Active sites, select the site you are sharing from and make sure New and existing guests or Anyone is selected. Save, then try sharing again.
If you are not an administrator, Microsoft's instruction is to "contact your SharePoint administrator or Microsoft 365 administrator to perform the resolution steps for you."
If sharing with outside people works for some colleagues or some addresses and not for others, three settings under More external sharing settings on the same Sharing page are worth checking:
- Limit external sharing by domain. Administrators can allow or block sharing with listed domains, up to 5,000 of them.
- Allow only users in specific security groups to share externally. External sharing can be limited to members of chosen security groups.
- Allow guests to share items they don't own. By default, guests must have full control permission to share items externally.
When the link type you want is not the default
A grayed-out option and a different default are two separate things. Administrators choose which link type is offered first when someone selects Share, for the organization and for each site:
- In Active sites, select the site and select Sharing on the command bar.
- Under Default sharing link type, clear the Same as organization-level setting checkbox and choose the default for this site.
- Under Default link permission, do the same for the default permission.
- Select Save.
Microsoft notes one interaction that looks like a fault: if the organization default is Anyone with the link but the site only allows guests who sign in, "the default link is Only people in your organization. Users need to change the link type to Specific people to share files and folders in the site or OneDrive externally."
What a user can do without an administrator
- Pick an allowed link type. In the Share dialog, open the link settings and choose People in your organization if Anyone is grayed out.
- Add people by name. Type the names of the colleagues who need the file. Outside addresses work only when the site allows guests.
- Ask for the site level to be raised. Tell your SharePoint administrator which site and who you need to share with. Site owners cannot change the setting themselves.
How long changes take
Microsoft gives one figure, for tightening the setting: "If you restrict or turn off external sharing, guests typically lose access within one hour of the change." Turning external sharing off for the organization and on again later restores guests' access, and the links that stopped working resume.
Frequently asked questions
Why is "Anyone with the link" grayed out in SharePoint?
The external sharing level for your organization or for that site is lower than Anyone. Microsoft states that the option "is available only if your external sharing setting is set to Anyone." It is also unavailable for .aspx pages.
How do I enable "Anyone with the link" in SharePoint?
A SharePoint Administrator sets the organization's external sharing level to Anyone under Policies, then Sharing, in the SharePoint admin center, and sets the same level on the site under Active sites. A site cannot be more permissive than the organization.
Can a site owner fix grayed-out sharing options?
For the external sharing level, no. Microsoft states that site owners cannot change the sharing settings for a site; it takes a SharePoint Administrator. A site collection administrator can deactivate Limited-access user permission lockdown mode.
Why are both "Anyone" and "People in your organization" grayed out?
The site collection feature Limited-access user permission lockdown mode is active. Deactivate it under Site settings, Site collection features.
What does "Your organization's policies do not allow you to share with these users" mean?
External sharing is turned off for your organization or for the site you are sharing from, or a rule such as a blocked domain applies to that address. An administrator checks the level under External sharing.
Why does sharing work on one site and not on another?
Sites have their own sharing level and different defaults. Communication sites and team sites with no group start at "Only people in your organization", while group-connected sites start at "New and existing guests" or "Existing guests only".
Why can't I share a SharePoint page with "Anyone with the link"?
Sharing .aspx pages with that link type is not supported, so the option is grayed out for pages.
How long does a sharing setting change take?
When external sharing is restricted or turned off, Microsoft says guests typically lose access within one hour.
Related reading
- SharePoint external sharing - configuring sharing securely across the tenant.
- SharePoint admin center - where the Sharing policies and Active sites pages live.
- SharePoint site collection administrator - who can change site collection features.
- SharePoint permission levels explained - what each level lets people do.
- Request access to a SharePoint site - when someone needs access and has none.
- SharePoint 'Access Denied' and 'You Need Permission': fixes - when the person you shared with still cannot get in.
- How to download files and folders from SharePoint - the Can view and Can't download link options.
Mark Smith co-founded SmiKar Software in 2015 and has spent the past decade helping organisations solve Microsoft 365 data management challenges. He works with the SmiKar team to build solutions for SharePoint archiving, storage optimisation, governance and compliance, supporting customers from growing businesses through to Fortune 500 enterprises.
More about SmiKar


