Global Default Sharing Policy
Controls the organisation-wide sharing level for SharePoint and OneDrive. This setting defines the maximum external sharing allowed across the tenant and governs how users can share files, folders, and sites.
Settings this baseline controls
| Setting | What it does |
|---|---|
| SharePoint external sharing | Determines what level of sharing is available for SharePoint sites. Learn more |
| OneDrive external sharing | Determines what level of sharing is available for OneDrive. Learn more |
| Default link type | The default link type for sharing (None, Direct, Internal, or AnonymousAccess). Learn more |
| Default link permission | The default link permission (View or Edit). Learn more |
| Viewer names shown in SharePoint | Controls whether user display names are shown to viewers in SharePoint. Learn more |
| Viewer names shown in OneDrive | Controls whether user display names are shown to viewers. Learn more |
| Anonymous folder link permission | The type of anonymous access links for folders (View or Edit). Learn more |
| Anonymous file link permission | The type of anonymous access links for files (View or Edit). Learn more |
Configure it
This baseline tightens SharePoint and OneDrive’s default sharing policy for the whole tenant.
-
Add the baseline to the tenant (Adding a baseline), or deploy it to many tenants at once as part of a scheme (Deploying a scheme).
-
Set SharePoint sharing level and OneDrive sharing level (the settings table calls them SharePoint external sharing and OneDrive external sharing) to Existing guests. This limits sharing to guests already in the tenant’s directory, rather than Anyone (fully anonymous links) or New and existing guests (anyone who signs in or verifies a code). Choosing a SharePoint level sets OneDrive to match, and OneDrive can’t be set more permissive than SharePoint.
-
Set Default link type to Specific people (only the people the user specifies) and Default link permissions (the settings table calls it Default link permission) to View, so the link a user is offered by default is the most restrictive one, not the widest.
-
Leave both Viewer activity tracking switches on (Viewer activity in SharePoint and Viewer activity in OneDrive; the settings table lists the pair as Viewer names shown in SharePoint and Viewer names shown in OneDrive), so an owner can still see who has viewed a file they’ve shared.
-
Select Save. To have Octiga put these values back automatically if the tenant’s sharing policy is loosened again in Microsoft 365, turn on Auto on the baseline’s row on the tenant’s Org-level Baselines tab, or on the scheme for a baseline a scheme supplies. It acts only while the tenant’s Allow auto-remediation setting is on (Tenant settings).
File anonymous link permissions and Folder anonymous link permissions (the settings table calls them Anonymous file link permission and Anonymous folder link permission) only apply when SharePoint sharing level is Anyone, and the editor only shows them then. With Existing guests there’s nothing to set for them. The editor’s Cross-baseline settings point to two related baselines: guest resharing is set by External (Guest) Users Resharing, and anonymous link expiry by Anonymous Links Expiry.
Check it worked
Passing means SharePoint Online’s sharing policy matches all of the values above. Check them in the SharePoint admin centre, under Policies → Sharing. Once this applies, anyone trying to share externally can only reach guests already in the organisation’s directory, and the link type and permission offered by default are Specific people and View.
Standards this addresses
Doing this for every tenant?
Step through the deploy wizard to apply a scheme to a tenant, groups or users, and see what Managed and Direct do at deploy time.