A partner can’t open the link you just sent, or a contractor still has access months after the project ended. Both problems usually trace back to one page.
In this tutorial, we’ll walk through the SharePoint admin center sharing settings in the order they appear: the external sharing sliders, guest options, default links, other settings, a single site’s limit, and a PowerShell check.
Everything here comes from our own tenant on 10/25/2026. We only looked; we never change live sharing settings for a demo.
Quick answer: Sharing settings in the SharePoint admin center live under Policies > Sharing. Set the SharePoint and OneDrive sliders under External sharing, review More external sharing settings and File and folder links, then select Save. Restrict single sites from Active sites.
What You Need Before You Start
- The SharePoint Administrator role or higher. Site owners can’t change these settings; here’s how the SharePoint Administrator role is assigned.
- Access to the SharePoint admin center (Microsoft 365 admin center > Admin centers > SharePoint).
- A rough idea of who you share with: nobody outside, known guests, or anyone with a link.
- Optional: PowerShell 7 with the Microsoft.Online.SharePoint.PowerShell module for the check in Step 7.
Step 1: Open the Sharing Page
In the SharePoint admin center, expand Policies in the left navigation and select Sharing. The page opens with the line “Use these settings to control sharing at the organization level in SharePoint and OneDrive.”
Everything on this page is organization-wide. It sets the ceiling; each site can stay at that level or go stricter, never looser.
Step 2: Choose the External Sharing Level
Under External sharing, two sliders control who content can be shared with, one for SharePoint and one for OneDrive. Each runs from Most permissive to Least permissive:
- Anyone: users can share files and folders with links that don’t require sign-in.
- New and existing guests: guests must sign in or provide a verification code.
- Existing guests: only guests already in your organization’s directory.
- Only people in your organization: no external sharing at all.

Our tenant has SharePoint at Anyone and OneDrive at Existing guests. That pairing is allowed because OneDrive can be more restrictive than SharePoint, but never more permissive.
If you tighten the level, guests typically lose access within an hour. Once the right level is set, users can share a SharePoint site with external users from the site itself.
Step 3: Review More External Sharing Settings
Expand More external sharing settings. These five options fine-tune the level you just picked:

- Limit external sharing by domain: allow or block up to 5,000 domains. Off in our tenant.
- Allow only users in specific security groups to share externally: off for us.
- Allow guests to share items they don’t own: on. Clear it and guests need Full Control to reshare.
- Guest access to a site or OneDrive will expire automatically after this many days: on, 60 days.
- People who use a verification code must reauthenticate after this many days: off (30 grayed out).
Guest expiry is the setting we’d turn on first in any tenant. We covered the site-side view in setting up guest access expiration.
Step 4: Set the Default File and Folder Link
Under File and folder links, pick the link type people see first when they select Share or Copy link: Specific people, Only people in your organization, or Anyone with the link.

Our tenant defaults to Anyone with the link with Edit permission. Anyone links must expire within 30 days, files allow View and edit, and folders allow View, edit, and upload.
Microsoft notes a catch: on a site that only allows signed-in guests, an Anyone default falls back to Only people in your organization. Every sharing link also adds Limited Access in SharePoint entries behind the scenes.
Shortening the Anyone expiry updates existing links to the new limit. Lengthening it leaves existing links with their current expiration.
Step 5: Check Other Settings and Save
The last section, Other settings, holds three checkboxes. All three are on in our tenant:

- Show owners the names of people who viewed their files in OneDrive.
- Let site owners choose to display the names of people who viewed files or pages in SharePoint (it needs the site setting on too).
- Use short links for sharing files and folders.
If you change anything on the page, select Save at the bottom. Nothing applies until you do.
Step 6: Restrict Sharing for One Site
Go to Sites > Active sites, select the site, and open the Settings tab. The External file sharing dropdown shows that site’s level.

Our SPGuides site, a private team site, sits at New and existing guests, one step below the organization. Group-connected sites start there when group owners can add guests; communication sites start at Only people in your organization.
More sharing settings opens the full panel. Microsoft Learn documents Limit sharing by domain there, plus “Same as organization-level setting” checkboxes you clear to set a site’s own guest expiry and default link.
Step 7: Check Sharing Settings with PowerShell
For an audit, PowerShell is faster than clicking through pages. We used the SharePoint Online Management Shell module in PowerShell 7 and connected to the admin URL:
Import-Module Microsoft.Online.SharePoint.PowerShell
Connect-SPOService -Url "https://spguides-admin.sharepoint.com"
# Organization-level sharing settings (Policies > Sharing)
Get-SPOTenant | Format-List SharingCapability, DefaultSharingLinkType, DefaultLinkPermission,
RequireAnonymousLinksExpireInDays, ExternalUserExpireInDays, SharingDomainRestrictionMode
# One site's own limit (Active sites > Settings > External file sharing)
Get-SPOSite -Identity "https://spguides.sharepoint.com/sites/SPGuides" |
Format-List Url, SharingCapability

The output matched the admin center exactly:
SharingCapability : ExternalUserAndGuestSharing
DefaultSharingLinkType : AnonymousAccess
DefaultLinkPermission : Edit
RequireAnonymousLinksExpireInDays : 30
ExternalUserExpireInDays : 60
SharingDomainRestrictionMode : None
Url : https://spguides.sharepoint.com/sites/SPGuides
SharingCapability : ExternalUserSharingOnly
If the cmdlets aren’t found, see Connect-SPOService is not recognized. Connecting to the regular site URL instead of the -admin URL gives a tenant administration site error.
To change settings, use Set-SPOTenant and Set-SPOSite. These are documented examples; we didn’t run them on our tenant:
# Documented syntax only - we didn't run these on our tenant
Set-SPOTenant -SharingCapability ExternalUserSharingOnly
Set-SPOTenant -DefaultSharingLinkType Direct -DefaultLinkPermission View
Set-SPOTenant -SharingDomainRestrictionMode AllowList -SharingAllowedDomainList "partner1.com partner2.com"
Set-SPOSite -Identity "https://spguides.sharepoint.com/sites/SPGuides" -SharingCapability ExistingExternalUserSharingOnly
Sharing Settings Cheat Sheet
Here’s how the admin center labels map to PowerShell, with the values we saw on 10/25/2026:
| Admin center setting | PowerShell property | Our tenant |
|---|---|---|
| External sharing (SharePoint) | SharingCapability | Anyone = ExternalUserAndGuestSharing |
| Site External file sharing | Get-SPOSite SharingCapability | New and existing guests = ExternalUserSharingOnly |
| Default link type | DefaultSharingLinkType | Anyone with the link = AnonymousAccess |
| Default link permission | DefaultLinkPermission | Edit |
| Anyone links must expire within | RequireAnonymousLinksExpireInDays (0-730) | 30 days |
| Guest access expires after | ExternalUserExpireInDays (30-730) | 60 days |
| Limit external sharing by domain | SharingDomainRestrictionMode | None |
The other two levels map to ExistingExternalUserSharingOnly (Existing guests) and Disabled (Only people in your organization).
Common Mistakes to Avoid
- Asking a site owner to open sharing: only a SharePoint Administrator can change a site’s external sharing level.
- Setting a site looser than the organization: the site dropdown never goes above the organization slider.
- Ignoring Microsoft Entra settings: Entra external collaboration settings also decide who can invite guests.
- Switching sharing off and back on: guests regain access. Turn it off on sensitive sites first.
- Expecting Request Files without Anyone: it needs OneDrive at Anyone and edit-capable Anyone links.
If a guest still can’t upload after all this, check the library permissions; we cover that in giving external users upload access.
Does a Site Setting Override the Organization Setting?
Only in one direction. A site can be the same as or stricter than the organization, so our SPGuides site can block Anyone links while the tenant allows them.
If you later turn sharing off for the organization, every site loses external sharing and shared links stop working. Turn it back on and each site returns to its previous level.
Next Steps
Once the tenant level is right, review who already has access on your busiest sites. Our SharePoint access requests guide shows how to control new requests, and the SharePoint tutorials hub has the rest.
We’d pair this setup with these permission tutorials:
Frequently Asked Questions
Where are the sharing settings in the SharePoint admin center?
Expand Policies in the left navigation and select Sharing. That page holds the organization-level settings for both SharePoint and OneDrive.
Who can change sharing settings in SharePoint Online?
You need at least the SharePoint Administrator role. Microsoft’s site sharing guide confirms that site owners can’t change a site’s external sharing level.
Can OneDrive allow more sharing than SharePoint?
No. The OneDrive setting can be the same as or more restrictive than SharePoint, never more permissive.
How long does a sharing change take to apply?
Microsoft’s sharing settings article says guests typically lose access within one hour after you restrict or turn off external sharing.
How do I check sharing settings with PowerShell?
Connect with Connect-SPOService to your -admin URL, then run Get-SPOTenant for organization settings and Get-SPOSite -Identity | Select SharingCapability for one site.

Hey! I’m Bijay Kumar, founder of SPGuides.com and a Microsoft Business Applications MVP (Power Automate, Power Apps). I launched this site in 2020 because I truly enjoy working with SharePoint, Power Platform, and SharePoint Framework (SPFx), and wanted to share that passion through step-by-step tutorials, guides, and training videos. My mission is to help you learn these technologies so you can utilize SharePoint, enhance productivity, and potentially build business solutions along the way.