CYBER FORENSICS · PRIVACY & AI · LEGAL TECHNOLOGY · MANAGED ITCall us 24/7: (289) 582-9930
Guide · Microsoft 365

Locking down SharePoint and OneDrive external sharing

Out of the box, Microsoft 365 lets staff share files with almost anyone. That is convenient until a confidential folder link turns up in the wrong inbox. This guide explains the sharing levels, when to turn off Anyone links, sensible defaults, and how to find what is already shared.

4 min readManaged IT

Reviewed by the ITRS security team · Last updated

Sharing levels explained

SharePoint and OneDrive each have an organization-wide external sharing setting, managed in the SharePoint admin center. The OneDrive setting can be the same as or more restrictive than the SharePoint setting, never more permissive, and each site can be set the same as or more restrictive than the organization. Microsoft Learn's "Manage sharing settings for SharePoint and OneDrive" documents each level.

LevelWhat it allowsTypical fit
Anyone
Links that work for anyone who has them, no sign-in; plus guests who authenticate
Rarely appropriate firm-wide; sometimes for a marketing site
New and existing guests
Sharing with outsiders who sign in or enter a one-time verification code
Most professional-services firms
Existing guests
Only people already in your directory as guests
Sensitive sites: HR, finance, board
Only people in your organization
No external sharing
Internal-only sites and many OneDrive accounts

Anyone links: when to disable

Anyone links are the riskiest option because they cannot be traced to a person. A forwarded link works for whoever receives it, and you cannot tell who opened it. Microsoft notes you cannot track who has access to shared items when Anyone links are used.

For law, accounting, HR and health practices, the safer default is to turn Anyone links off and use "New and existing guests", where the recipient must authenticate. If the business genuinely needs Anyone links (large file delivery to the public, for example), restrict them: set them to expire after a set number of days, allow View only, and limit them to specific sites.

Expiry and permission defaults

  • Default link type: set to "Specific people" so staff must choose recipients, rather than "Only people in your organization" or "Anyone with the link".
  • Default permission: View, not Edit. Users can still upgrade a link when they need collaboration.
  • Guest access expiry: SharePoint can make guest access to a site or OneDrive expire after a set number of days, so old guests age out instead of keeping access for years.
  • Organization link expiry: admins can now set expiration for "People in your organization" links too; existing links are evaluated against the policy when used.
  • Re-authentication: require guests using verification codes to re-authenticate after a set period.

Site-level exceptions

Set the organization level to the most permissive setting you need anywhere, then tighten individual sites. A typical pattern: organization allows New and existing guests; client collaboration sites keep that; HR, finance, leadership and board sites are set to Only people in your organization; one marketing site is allowed Anyone links if truly needed.

Guest settings on Microsoft 365 Groups and Teams also affect connected SharePoint sites, so check both. Sensitivity labels applied to sites can enforce these external sharing settings automatically, which stops a site owner from loosening them later.

Guest access reviews

Guests accumulate. Every past client, contractor and opposing party who was ever shared a file can remain in your directory. Review them at least quarterly.

With the appropriate Microsoft Entra ID Governance or P2 licensing, Access Reviews can ask site or team owners to confirm each guest still needs access and remove those who are not confirmed. Without those licences, export guest users from Entra ID, sort by last sign-in, and remove or block those who have not signed in for months. Record who reviewed what and when; that record is evidence of the PIPEDA safeguards principle in practice.

Finding what's already shared

  1. Run sharing reports

    SharePoint can produce a sharing report for a site or OneDrive listing items shared through links and with guests.

  2. Search the audit log

    Sharing events (links created, guests invited, Anyone links used) are recorded in the Microsoft 365 audit log for investigation.

  3. Prioritize sensitive locations

    Start with HR, finance, client and leadership sites rather than every OneDrive.

  4. Remove or convert risky links

    Delete Anyone links that are no longer needed; replace with Specific people links.

  5. Change settings, then communicate

    Tell staff what changed and how to share with clients properly.

Questions we hear

Clients will be asked to sign in or enter a one-time code emailed to them. Most manage easily after the first time; tell them in advance.

Keep reading

Related reading.

Next step

Want this handled for your business?

Tell us your users, devices and sites. We are staffed 24/7 and reply with next steps. Quotes are built from your environment, not a price list. Active incident? Call (289) 582-9930, 24/7.