How to stop external sharing of sensitive documents in microsoft 365
Summary
This guide helps you troubleshoot and resolve: How to stop external sharing of sensitive documents in microsoft 365. Follow the steps below to fix the issue.
Common Causes
How to stop external sharing of sensitive documents in Microsoft 365
Small businesses often need to share documents with clients, suppliers, or external partners while ensuring confidential internal files remain secure. Microsoft 365 provides granular controls to manage how content leaves your organisation. This guide explains how to configure external sharing settings at the tenant, site, and file levels to protect sensitive information without blocking legitimate collaboration.
Identify and classify sensitive documents
Before applying sharing restrictions, identify which documents require protection. Sensitive information may include client contracts, payroll records, financial statements, tax file numbers, payment card details, and intellectual property.
- Review SharePoint and OneDrive libraries for folders containing confidential client or employee data.
- Use file names and metadata to flag documents that contain personal or financial information.
- Store sensitive files in dedicated SharePoint sites or OneDrive folders so you can apply stricter sharing policies to specific locations rather than the entire tenancy.
- If your Microsoft 365 licence includes sensitivity labels, apply labels such as Confidential or Strictly Internal to documents that must not be shared externally.
Understand external sharing types
Before changing settings, it is important to understand the two main ways people outside your organisation can access Microsoft 365 content:
- Authenticated guest access: External users sign in with a Microsoft account or a work or school account. They are added to your directory as guests and can be tracked and removed.
- Anonymous sharing links: Anyone with the link can access the file or folder without signing in. These links carry the highest risk because they can be forwarded to unintended recipients.
For sensitive documents, anonymous links should be disabled wherever possible, and guest access should be limited to people who genuinely need ongoing collaboration.
Configure tenant-level external sharing settings
Tenant-level settings act as the baseline for your entire Microsoft 365 environment. Changes here apply to SharePoint and OneDrive unless overridden at the site level.
- Sign in to the Microsoft 365 admin centre using an administrator account.
- Go to Settings > Org settings > SharePoint.
- Select Sharing.
- Under External sharing, choose one of the following options:
- Only people in your organisation: Blocks all external sharing. Use this if your business does not need to share documents with anyone outside your tenancy.
- New and existing guests: Allows sharing with authenticated external users only. Anonymous links are disabled.
- Anyone: Allows anonymous sharing links. This is not recommended for businesses handling sensitive client or financial data.
- Under Default sharing link type, select People in your organisation or Specific people. Avoid Anyone links for sensitive content.
- Select Save.
Configure OneDrive-specific sharing defaults
OneDrive sharing settings can differ from SharePoint and should be configured separately for users who store sensitive files in personal OneDrive accounts.
- Open the SharePoint admin centre.
- Go to Settings > OneDrive > Sharing.
- Set the external sharing level to match or exceed the restrictions applied at the tenant level.
- Set the Default sharing link type to Specific people.
- Configure Link expiration so that anonymous and guest links automatically expire after a set number of days.
- Select Save.
Configure site-level external sharing settings
Individual SharePoint sites can have stricter sharing settings than the tenant. This is useful for separating general team sites from sites that store sensitive client records or payroll information.
- Open the SharePoint admin centre.
- Go to Sites > Active sites and select the site you want to manage.
- Open the Sharing tab.
- Choose the external sharing level for that site. It cannot be more permissive than the tenant setting, but it can be more restrictive.
- Set the Default link type to Specific people for sites containing sensitive documents.
- Enable Link expiration for guest and anonymous links where supported.
- Select Save.
For a small business, consider creating a dedicated SharePoint site for confidential files and applying the strictest sharing policy to that site only.
Manage sharing at the file and folder level
Even with secure tenant and site settings, individual users can still overshare specific documents. Review and adjust existing links regularly.
- Open SharePoint or OneDrive in a web browser.
- Select the file or folder you want to secure.
- Select Share, then choose Manage access.
- Review the list of people and groups with access.
- Remove any Anyone links by selecting the link and choosing Remove link.
- Change guest access to Specific people where appropriate.
- Select Apply or Save.
Apply default link types and permissions
Default link types determine what option is preselected when users share a file. For small businesses handling sensitive information, configure defaults to limit exposure:
- Set the default link to Specific people so users must explicitly choose broader access.
- Disable Anyone links at the tenant level unless a specific business need justifies them.
- Require sign-in for shared links where possible, so access is tied to an identifiable email address.
- Set link expiration for anonymous and guest links so access does not continue indefinitely.
Use Conditional Access for guest users
Azure AD, now known as Microsoft Entra ID, Conditional Access can add an extra layer of protection for guest users. Small businesses with appropriate licences can require multi-factor authentication, compliant devices, or location-based restrictions before external users access shared resources.
Data loss prevention and licensing
Data loss prevention (DLP) policies can automatically flag or block sharing of content containing sensitive information such as tax file numbers or payment card details. DLP policies require specific Microsoft 365 licences, such as Microsoft 365 E5 or compliance add-ons, which are not typically included in Business Basic or Business Standard plans. General small businesses should verify their licence entitlement before relying on DLP rules.
Audit external access across SharePoint and OneDrive
Regular audits help you identify who can access your data and detect unintended sharing.
- Open the Microsoft Purview compliance portal or the SharePoint admin centre.
- Go to Reports or Activity and select Sharing activity.
- Filter by External users to see which files have been shared outside your organisation.
- Review the Access control report in SharePoint to identify sites with permissive sharing settings.
- If your licence includes DLP, review DLP policy matches to identify sensitive documents being shared externally.
Schedule a sharing audit at least once per quarter, or whenever your business onboards a new client or supplier who requires document access.
Remove external access when no longer needed
When a project ends or a supplier relationship changes, remove access promptly:
- Remove the guest user in Microsoft Entra ID (formerly Azure AD) under Users > All users, or in the Microsoft 365 admin centre under Users > Active users by selecting the guest account and choosing Delete user.
- Delete sharing links for completed projects from Manage access in SharePoint or OneDrive.
- Break inheritance on folders that contained sensitive material and reapply permissions only to current staff.
Troubleshooting external sharing issues
- Sharing options are greyed out: This usually means the site is restricted by the tenant-level sharing policy. A site cannot be more permissive than the tenant setting. Review the tenant-level external sharing option in the Microsoft 365 admin centre and adjust it if required.
- Changes do not propagate: Tenant-level and site-level changes can take up to 24 hours to apply across all SharePoint sites and OneDrive accounts. Wait at least one business day before expecting new restrictions to take effect.
- Cannot remove a sharing link: Ensure you are signed in as the file owner or a site administrator. Open Manage access, select the link, and choose Remove link. If the link was created by another user, you may need site administrator privileges to revoke it.
- Guest user cannot be removed: Guest accounts are managed in Microsoft Entra ID or under Users > Active users in the Microsoft 365 admin centre, not in a separate Guest users section. Confirm you have the correct administrator role to delete guest accounts.
Taking these steps helps your small business collaborate securely with external partners while keeping confidential documents protected. If you need assistance reviewing your Microsoft 365 sharing configuration, Open a Ticket.
Still Having Issues?
💻 Open a Ticket