Skip to main content
Version: 3.0.0-preview

CIS.M365.7.2.2 - (L1) Ensure SharePoint and OneDrive integration with Azure AD B2B is enabled

Overview​

7.2.2 (L1) Ensure SharePoint and OneDrive integration with Azure AD B2B is enabled

Entra ID B2B provides authentication and management of guests. Authentication happens via one-time passcode when they don't already have a work or school account or a Microsoft account. Integration with SharePoint and OneDrive allows for more granular control of how guest user accounts are managed in the organization's AAD, unifying a similar guest experience already deployed in other Microsoft 365 services such as Teams.

Current service behavior: Microsoft enabled Entra B2B integration for new external sharing in commercial tenants between May and July 2026. In these tenants, EnableAzureADB2BIntegration no longer controls the integration, and the integration cannot be disabled. This test checks that property for CIS compliance, so a False value may not reflect actual B2B behavior in an affected commercial tenant. The property remains relevant only where Microsoft says it still controls integration.

Note: Global Reader role currently can't access SharePoint using PowerShell.

Rationale​

External users assigned guest accounts will be subject to Entra ID access policies, such as multi-factor authentication. This provides a way to manage guest identities and control access to SharePoint and OneDrive resources. Without this integration, files can be shared without account registration, making it more challenging to audit and manage who has access to the organization's data.

Impact​

B2B collaboration is used with other Entra services so should not be new or unusual. Microsoft also has made the experience seamless when turning on integration on SharePoint sites that already have active files shared with guest users. The referenced Microsoft article on the subject has more details on this.

Remediation​

  1. Connect to SharePoint Online using Connect-SPOService
  2. In tenants where this property still controls integration, run:
Set-SPOTenant -EnableAzureADB2BIntegration $true

Default Value: False. In commercial tenants where Microsoft enabled the integration, this property no longer determines the behavior for new external sharing.

Test Metadata​

FieldValue
Test IDCIS.M365.7.2.2
SeverityMedium
SuiteCIS
ProductSharePoint
Related productsEntra ID
FeatureExternal sharing
AreaExternal access and sharing
Resource typeTenant
User impactLow
Implementation costLow
MITRE ATT&CKT1078.004 Cloud Accounts, T1213.002 Sharepoint
Supports benchmarkCIS Microsoft 365 Foundations Benchmark (version 7.0.0), requirement 7.2.2
Benchmark levelL1
Benchmark profilesE3 Level 1, E5 Level 1
Supports controlscis-m365:7.2.2
PowerShell testTest-MtCisSpoB2BIntegration
ServicesSharePointOnline

Source​