Check ID: sharepoint_external_sharing_restricted
Provider: Microsoft 365
Service: sharepoint
Severity: HIGH
Categories: internet-exposed, identity-access, e3
Resource type: NotDefined

What this check verifies

Microsoft 365 SharePoint org-wide external sharing is evaluated to ensure it excludes anonymous ‘Anyone’ links and is restricted to authenticated guests via ExternalUserSharingOnly, ExistingExternalUserSharingOnly, or fully Disabled.

Risk

Anonymous or overly permissive sharing enables uncontrolled link access, eroding confidentiality and accountability. With edit links, integrity can be altered by unknown parties. Forwarded links and caching complicate revocation, increasing data exfiltration and long-lived exposure.

Recommendation

Set org-level sharing to ExternalUserSharingOnly or stricter (ExistingExternalUserSharingOnly/Disabled). Apply least privilege with default links scoped to SpecificPeople, enforce Microsoft Entra B2B guest authentication, limit domains, require link expiration, block guest resharing, and monitor via audit logs.

Remediation

Set-SPOTenant -SharingCapability ExternalUserSharingOnly

References

Where this check fires

This check runs on every scheduled scan against your Microsoft 365 account. Findings appear at Cloud Security → Findings filterable by Check ID = sharepoint_external_sharing_restricted. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to Microsoft 365 checks