SharePoint external sharing controls how your staff share files, folders and sites with clients, vendors and outside consultants. Microsoft turns external sharing on by default, and its settings reference lists the most open option, Anyone, as the default level for both SharePoint and OneDrive. That is convenient, but few firms ever revisit it.
This guide explains the settings that matter, in the order you would plan them, and ends with a simple policy template you can adapt. The admin steps all live in the SharePoint admin center under Policies and then Sharing, plus a few in the Microsoft Entra admin center.
The 4 sharing levels
Microsoft offers 4 levels for SharePoint and for OneDrive, from most to least permissive.
SharePoint external sharing: organization level first, then each site
The organization-level setting is a ceiling. Microsoft states that each site can be set to the same level or a more restrictive one, but never more open. The OneDrive setting can also be more restrictive than SharePoint, but not more permissive.
That gives a clean pattern for a small firm. Set the organization level to the most open sharing you will ever need. Then lock down the sites that should never leave the building, such as finance, HR and leadership. Microsoft itself recommends keeping confidential information in a site with external sharing turned off and creating separate sites for external work. To change one site, go to Sites, then Active sites, select the site and choose Sharing.
Change the default link
When someone clicks Share, SharePoint offers a link type by default. Microsoft lists Anyone with the link as the default in its settings reference, which means a hurried user can create an unauthenticated link to a sensitive file without noticing.
Microsoft's own best-practice guidance is to change the default. In the Sharing page, under File and folder links, select Only people in your organization. Staff can still choose Specific people when they need to share outside the firm. That one change does more than most others to prevent accidental exposure.
Anyone link expiration and permissions
If you keep Anyone links available, put limits on them. Microsoft's reference shows Anyone links do not expire by default, and file links allow editing by default.
On the Sharing page, under the expiration and permissions options for Anyone links, select These links must expire within this many days and enter a number. Pick a window that matches how long clients usually need a file, for example 14 or 30 days. You can also restrict Anyone links to View only for files and folders. If you shorten the expiration later, Microsoft updates existing links to the shorter limit. Expired links cannot be renewed, so a user simply shares again if needed.
Some firms decide Anyone links are not needed at all and set the level to New and existing guests. That trades a little convenience for knowing exactly who opened what.
Guests: who invites them and how long they stay
A guest is an outside person with an account in your directory, created when they accept a sharing invitation. Guests are easier to track than Anyone links, but they accumulate.
A simple external sharing policy template
Settings work best with a short written policy staff can follow. Adapt this to your firm.
How this fits your wider setup
Sharing settings work best on top of a sensible site layout, so start with how to organize SharePoint if your structure is still a single big site. Guests also sign in through Microsoft Entra ID, so your sign-in protections matter too. Our guide to Microsoft 365 security best practices covers the basics.
NexJen's SharePoint and Microsoft 365 Security Posture engagements, part of our Microsoft 365 consulting, review sharing settings and deliver findings and a roadmap. They are advisory, and implementation is quoted separately. For ongoing care, see what NexJen Essentials includes.
Common questions
How do I turn off external sharing in SharePoint?
In the SharePoint admin center, go to Policies and then Sharing, and set the SharePoint level to Only people in your organization. To turn it off for one site only, change that site's sharing setting under Active sites.
Can Anyone links in SharePoint expire automatically?
Yes. On the Sharing page, select These links must expire within this many days and enter a number. You can set a different limit for individual sites.
What is the difference between an Anyone link and a Specific people link?
An Anyone link works for whoever has it, with no sign-in, and cannot show who opened the file. A Specific people link only works for the people you name, who must verify who they are.
Can OneDrive have different sharing settings from SharePoint?
Yes, but only more restrictive ones. Microsoft does not allow the OneDrive setting to be more permissive than the SharePoint setting.
How do I stop regular users from inviting guests?
In the Microsoft Entra admin center, open External collaboration settings and change Guest invite settings to allow only users assigned to specific admin roles. You can give trusted staff the Guest Inviter role.
Check your sharing exposure
A free Security Snapshot gives you a quick, plain-English view of your Microsoft 365 security, including where sharing may be more open than you think.
Get a free Security Snapshot