Description
Only members of the security groups {{ external_sharing_groups }} can share SharePoint and
OneDrive content with guests. In the SharePoint admin center this is Allow only users in specific
security groups to share externally; the groups are stored in
WhoCanShareAuthenticatedGuestAllowList (and WhoCanShareAnonymousAllowList if Anyone links
are allowed). Other users can still share inside the organization.
Rationale
Most users never need to share outside the organization. Restricting the right to named groups reduces the number of accounts that can exfiltrate content by sharing, makes the remaining external sharing reviewable through group membership, and limits what a compromised ordinary account can expose.
Impact
Users outside the groups get an error when they try to share with an external address and must ask a group member or request membership. Plan the request process and the group owners. The list only accepts security groups (not Microsoft 365 groups). Guests already added to a team or site keep their access.
Setting
| Location | SharePoint admin center > Policies > Sharing > More external sharing settings > Allow only users in specific security groups to share externally |
| Default | Off (all users can share externally) |
| Recommended | On, limited to {{ external_sharing_groups }} |
Parameters
| Parameter | Baseline | Hardened | Bounds |
|---|---|---|---|
external_sharing_groupslist. Security groups (names or object IDs) whose members may share externally. | | |
The value used is your override (tailoring file), else the profile's, else the one of the profile it extends, else the default. Bounds limit what an override may set.
Audit
- Sign in to the SharePoint admin center (https://admin.microsoft.com/sharepoint) as at least a Global Reader.
- Browse to Policies > Sharing > More external sharing settings.
- Check that Allow only users in specific security groups to share externally is selected and
that Manage security groups lists only
{{ external_sharing_groups }}. - With the SharePoint Online Management Shell (SharePoint Administrator):
Get-SPOTenant | Select-Object WhoCanShareAuthenticatedGuestAllowList, WhoCanShareAnonymousAllowListand resolve the GUIDs in Entra. - Fail if external sharing is allowed and the restriction is off, or if a group outside the approved list is present.
Remediation
- Create (or reuse) a security group for the people allowed to share externally, with an owner who approves membership. Optionally review it with an access review.
- In the SharePoint admin center, browse to Policies > Sharing > More external sharing settings, select Allow only users in specific security groups to share externally, then Manage security groups, add the groups and choose Can share with authenticated guests. Select Save. Role: SharePoint Administrator.
- PowerShell equivalent:
Set-SPOTenant -WhoCanShareAuthenticatedGuestAllowList "<group object ID>"(comma-separated object IDs).
Rollback
Clear Allow only users in specific security groups to share externally, or add the missing group.
References
- Manage security groups for external sharing Microsoft, vendor-doc, accessed 2026-10-24
- Manage sharing settings for SharePoint and OneDrive in Microsoft 365 Microsoft, vendor-doc, accessed 2026-10-24
- Set-SPOTenant (SharePoint Online Management Shell) Microsoft, vendor-doc, accessed 2026-10-24
- CISA SCuBA Microsoft SharePoint Online and OneDrive baseline CISA, standard, accessed 2026-10-24
Mappings
| Framework | ID | Relation | Note |
|---|---|---|---|
| NIST SP 800-53 Rev. 55.1.1 | AC-21 | related | |
| NIST SP 800-53 Rev. 55.1.1 | AC-6 | related | |
| CISA SCuBA Microsoft 365 Secure Configuration Baselines2.0.0 | MS.SHAREPOINT.1.3v1 | partial | SCuBA accepts approved domains or approved security groups; this control covers the groups, CB-M365-COLLAB-005 the domains. |
How this control relates to the other framework's: equivalent, stricter, looser, partial or related.
Threats mitigated
| Taxonomy | ID |
|---|---|
| MITRE ATT&CK | T1567.002 |
Related controls
- related
CB-M365-COLLAB-003Restrict SharePoint external sharing to authenticated guests - related
CB-M365-COLLAB-005Limit SharePoint and OneDrive external sharing to approved domains
People and lifecycle
| Authors |
|
| Introduced in | v0.1.0 |
| Created, updated | 2026-10-24, 2026-10-24 |
| Translations | fr |