Skip to content
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

Sponsor

(L1) Ensure reauthentication with verification code is restricted

CIS.M365.7.2.10MediumSharePointExternal sharingPreview 3.0

Part of CIS · SharePoint · External sharing · All checks

Run this check
Invoke-Maester -TestId CIS.M365.7.2.10

Guests who sign in with a one-time verification code prove access by reading an email sent to their address. If the verification is not repeated for a long time, a guest whose mailbox or account has been compromised keeps access to shared SharePoint content without a new check.

Requiring guests to verify again every 15 days or less limits how long a stale or compromised guest account keeps working. Guests sign in again with a new code each time, which is a small extra step for them.

  1. Sign in to the SharePoint admin center.
  2. Go to Policies > Sharing.
  3. Expand More external sharing settings.
  4. Select People who use a verification code must reauthenticate after this many days and enter 15 or fewer.
  5. Select Save.

In commercial tenants, Microsoft Entra B2B integration is enabled by default for new external sharing, and Entra guest settings take precedence over these SharePoint values for new guests. Microsoft began retiring SharePoint OTP for commercial tenants in October 2026; Microsoft Entra B2B email OTP remains supported. This test still audits the SharePoint values specified by CIS 7.2.10 and does not check the Entra B2B authentication or reauthentication policy. See CIS 5.2.3.7 for the recommended Email OTP configuration.

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

Set-PnPTenant -EmailAttestationRequired $true -EmailAttestationReAuthDays 15
Every attribute of this check
FieldValue
Test IDCIS.M365.7.2.10
SeverityMedium
SuiteCIS
ProductSharePoint
FeatureExternal sharing
AreaAuthentication
Resource typeTenant
User impactLow
Implementation costLow
MITRE ATT&CKT1078.004 Cloud Accounts
Supports benchmarkCIS Microsoft 365 Foundations Benchmark (version 7.0.0), requirement 7.2.10
Benchmark levelL1
Benchmark profilesE3 Level 1
Supports controlscis-m365:7.2.10, nist-800-53-r5:IA-5
PowerShell testTest-MtCisSpoGuestReauthentication
ServicesSharePointOnline