Australian cloud for business software — built and run in Sydney since 2002

NetLeverage
NetLeverage

Your organization's policies do not allow you to share with these users: SharePoint and OneDrive

Technical article
Troubleshooting

About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.

A user who tries to share an item or a site in SharePoint Online or OneDrive for Business sees the error "Your organization's policies do not allow you to share with these users". Microsoft's page says: "This error message generally means that external sharing is turned off for your SharePoint or OneDrive sites." For a SharePoint site, the error page's resolution is: "Make sure that either New and existing guests or Anyone is selected, and then select Save if you made changes." It has separate steps for sharing from OneDrive. Check three settings in order, the organization level, the level on the site, and the level for OneDrive, and change only the one that blocks the share.

What the error means

SharePoint and OneDrive sharing is controlled at several levels, and the strictest one wins. Microsoft's sharing settings page says each site "has its own sharing setting that you can set independently, though it must be at the same or more restrictive setting as the organization", and that "The OneDrive setting can be more restrictive than the SharePoint setting, but not more permissive."

The four external sharing options are, from loosest to strictest:

  • Anyone: links that work without signing in, and sharing with guests who sign in.
  • New and existing guests: people outside the organization sign in, and are added to the directory.
  • Existing guests: only people already in the directory.
  • Only people in your organization: external sharing is off.

The site page also lists defaults by site type. Classic sites, communication sites and modern sites with no group default to "Only people in your organization". Group-connected sites, including Teams, default to "New and existing guests" if the Microsoft 365 Groups setting Let group owners add people outside the organization to groups is On, and otherwise to "Existing guests" only. OneDrive defaults to "Anyone". The root communication site has a default of "Anyone". These are defaults, and an administrator may have changed them.

Likely causes

Cause What you see How to confirm
External sharing is off for the organization Every site and every OneDrive refuses outside recipients SharePoint admin center, Policies, Sharing: External sharing is at "Only people in your organization"
The site is stricter than the organization One site refuses, others accept Active sites, select the site, More sharing settings
OneDrive is stricter than SharePoint Sharing from SharePoint sites works; sharing from OneDrive fails The OneDrive external sharing level in Policies, Sharing
The level allows only existing guests An address already in the directory works; a new address fails The setting reads "Existing guests"; the recipient is not in the Guests list
The recipient's domain is limited, or Entra collaboration settings block it One recipient domain fails, others work The "Limit external sharing by domain" list; Microsoft Entra collaboration restrictions
Group guest access is off for a group-connected site Guests are added but cannot open site content Microsoft 365 Group guest access setting

Prove the cause before changing anything

All of these read settings; none changes them. You need a SharePoint administrator or global administrator.

  1. Write down the user, the item or site they were sharing, the recipient's address and domain, and the time of the error.
  2. Organization level: sign in to the Microsoft 365 admin center, open the SharePoint admin center, expand Policies, select Sharing, and note the External sharing level for SharePoint and for OneDrive. Microsoft's older error page describes OneDrive's sharing level in the OneDrive admin center; the sharing settings page dated 2026-06-30 puts both in Policies, Sharing. If the screen differs from the steps, follow the one you see.
  3. Site level: in the SharePoint admin center, select Active sites, select the site, and on the Settings tab select More sharing settings. Note the option selected. The site page says changing this needs "at least a SharePoint Administrator" and that "Site owners can't change these settings."
  4. Read the same level from PowerShell, if you prefer. Connect, then ask for the detailed properties:
Connect-SPOService -Url https://contoso-admin.sharepoint.com
Get-SPOSite -Identity https://contoso.sharepoint.com/sites/finance -Detailed

Microsoft's Get-SPOSite page says SharingCapability "Returns the effective access level, which is the site policy and the tenant policy combined", and SiteDefinedSharingCapability "Returns the stored value of the site policy." If the two differ, the effective level is not the level stored on the site, so another level (for example the organization setting) is changing the result.

  1. For a recipient that fails alone, check the Guests page in the Microsoft 365 admin center and the domain limits under More external sharing settings.

Example (illustrative): contoso.com.au has 12 SharePoint sites. The organization level is "New and existing guests". Four sites, including finance, are classic or no-group sites left at the default "Only people in your organization". A sales user can share with a supplier from the sales site, but not from finance. Four of 12 sites, one third, refuse outside sharing, and Get-SPOSite -Identity https://contoso.sharepoint.com/sites/finance -Detailed shows SiteDefinedSharingCapability (the stored site setting) at its stricter value.

Fix

Change only the level that blocks the share. A wider level exposes more content to people outside the organization, so match the change to the business need and the sensitivity of the content.

Record the current setting

Before any change, write down the existing level at the level you will change, and save the site's properties to a file. Create C:\Temp first if it does not exist. Name the two sharing properties so they are certain to be written to the file:

Get-SPOSite -Identity https://contoso.sharepoint.com/sites/finance -Detailed | Format-List SharingCapability, SiteDefinedSharingCapability | Out-File C:\Temp\site-before.txt

Record the value of SiteDefinedSharingCapability, not SharingCapability. Microsoft's Get-SPOSite page says SharingCapability is the effective level, "the site policy and the tenant policy combined", and SiteDefinedSharingCapability is the stored value of the site policy. Restoring from the effective value would write the organization's cap into the site's own setting whenever the two differ, for example when the organization is stricter than the site. Microsoft's page also marks the -Detailed parameter as deprecated from SharePoint Online Management Shell version 5361 ("It will continue to work with earlier versions"), so open the saved file and confirm both properties show a value before you change anything; if either is empty, record the level from the site's More sharing settings screen instead. That saved value is the back-out.

Organization level

Read the mark first, then in the SharePoint admin center, under Policies, Sharing, set the External sharing level for SharePoint and OneDrive, and select Save.

Risk: this changes sharing for every site that does not have its own stricter setting. Impact: users can start sharing outside the organization at once. Microsoft's page adds: "If you turn off external sharing for your organization and later turn it back on, guests regain access." Back-out: set the level back to the recorded value and Save. Microsoft states that "If you restrict or turn off external sharing, guests typically lose access within one hour of the change", so a back-out is not instant for guests who already have access.

Site level

Read the mark first. The options depend on the organization setting.

Risk: this changes who can share one site's content outside. Back-out: select the recorded option and Save.

On the site's More sharing settings, choose the option that fits (Anyone, New and existing guests, Existing guests, or Only people in your organization) and Save. The PowerShell equivalent uses the documented values Disabled, ExistingExternalUserSharingOnly, ExternalUserSharingOnly and ExternalUserAndGuestSharing:

Set-SPOSite -Identity https://contoso.sharepoint.com/sites/finance -SharingCapability ExternalUserSharingOnly

ExternalUserSharingOnly is described as "External user sharing (share by email) is enabled, but anonymous link sharing is disabled." The back-out is the same command with the value recorded from SiteDefinedSharingCapability in C:\Temp\site-before.txt.

OneDrive

Risk: changing the OneDrive external sharing level below applies the same exposure as the levels above to every user's OneDrive.

Set the OneDrive external sharing level in Policies, Sharing. It cannot be more permissive than the SharePoint level.

To undo it: restore the recorded level.

Domain and guest settings

If one recipient fails alone, look at the domain limit (the list holds up to 5,000 domains) and at Microsoft Entra collaboration restrictions. Microsoft also notes that where a Microsoft 365 group's settings stop guest members from reaching group resources, "even if you turn on external sharing for the site, guests of the group might not be able to access site content."

Confirm the fix

  • The same user shares the same item with the same recipient and no longer sees the error.
  • The recipient receives the invitation and can open the item after signing in.
  • Get-SPOSite -Identity <site> -Detailed shows SharingCapability and SiteDefinedSharingCapability at the values you intended.
  • Other sites still hold their original levels. Sample two sites that were not changed.

What to watch afterwards

  • Guest accounts created by the change. Microsoft's settings page lists guest expiry options; decide whether guest access should expire.
  • Anyone links, if you chose Anyone. The page describes link expiry and view-only options for Anyone links.
  • Sites that were changed for one project. Put a date in the change record to narrow them again.
  • Group-connected sites, where the Teams and Groups guest settings also apply.

Risks and limits

These commands have not been run or lab-tested.

  • The error page is brief and says only that the message "generally" means external sharing is turned off. The other rows in the cause table come from the sharing settings pages, which describe the settings but do not link each one to this exact message.
  • Menu names differ between Microsoft's pages. The site and organization pages (2026) are newer than the error page (2025-07-14).
  • A change that widens sharing is a security decision. The right level depends on the business; widen only as far as the need.
  • Set-SPOSite needs the caller to be a SharePoint Online administrator and a site collection administrator, according to its page.
  • Microsoft's sharing pages state that Microsoft Entra external collaboration settings and allowed or blocked domains also apply to site sharing, and to file and folder sharing when Azure B2B collaboration is enabled. A fix in SharePoint alone may not be enough.
  • The user who sees the error may not be the person who can change the setting. Microsoft's page says that if a message tells you that you lack permission to proceed, "you'll have to contact your SharePoint administrator or Microsoft 365 administrator to perform the resolution steps for you."

Sources