Skip to main content
Version: 3.0.0-preview

CIS.M365.7.2.6 - (L2) Ensure SharePoint external sharing is managed through domain whitelist/blacklists

Overviewโ€‹

The SharePoint allow list or block list decides which external domains can receive shared content. Without a domain list, a user can share SharePoint files and sites with any external domain, including domains that the organization does not trust or that an attacker controls, which makes it an easy route for sending data out of the tenant.

Limiting external sharing to an allow list of approved domains keeps shared content with partners you have agreed to work with. Sharing with other domains is blocked until the domain is added to the list. The domain list applies to sharing with named guests, not to Anyone links, so turn off Anyone links as well (CIS 7.2.3) if content must stay with approved partners. Agree the list of partner domains with the teams that share content before you turn the restriction on.

Remediation actionโ€‹

  1. Sign in to the SharePoint admin center.
  2. Go to Policies > Sharing.
  3. Expand More external sharing settings.
  4. Select Limit external sharing by domain, then select Allow only specific domains.
  5. Add the approved domains and select Save.

To apply the setting with PowerShell, connect with Connect-PnPOnline -Url https://<tenant>-admin.sharepoint.com -Interactive and run the following, replacing the example domains with your approved domains:

Set-PnPTenant -SharingDomainRestrictionMode AllowList -SharingAllowedDomainList 'partner.example.com contoso.example.org'

Test Metadataโ€‹

FieldValue
Test IDCIS.M365.7.2.6
SeverityMedium
SuiteCIS
ProductSharePoint
FeatureExternal sharing
AreaExternal access and sharing
Resource typeTenant
User impactMedium
Implementation costMedium
MITRE ATT&CKT1213.002 Sharepoint, T1530 Data from Cloud Storage, T1537 Transfer Data to Cloud Account
Supports benchmarkCIS Microsoft 365 Foundations Benchmark (version 7.0.0), requirement 7.2.6
Benchmark levelL2
Benchmark profilesE3 Level 2
Supports controlscis-m365:7.2.6, nist-800-53-r5:AC-21
PowerShell testTest-MtCisSpoSharingDomainList
ServicesSharePointOnline

Sourceโ€‹