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

(L2) Ensure guest user invitations are limited

CIS.M365.5.1.6.3MediumEntra IDExternal identitiesPreview 3.0

Part of CIS · Entra ID · External identities · All checks

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

5.1.6.3 (L2) Ensure guest user invitations are limited

By default, all users in the organization, including B2B collaboration guest users, can invite external users to B2B collaboration. The ability to send invitations can be limited by turning it on or off for everyone, or by restricting invitations to certain roles.

The recommended state is Only users assigned to specific admin roles can invite guest users or No one in the organization can invite guest users including admins (most restrictive).

Restricting who can invite guests limits the exposure the organization might face from unauthorized accounts. The default behavior allows anyone within the organization to invite guests and non-admins to the tenant, posing a security risk.

This introduces an obstacle to collaboration by restricting who can invite guest users to the organization. Designated Guest Inviters must be assigned, and an approval process established and clearly communicated to all users.

To remediate using the UI:

  1. Navigate to Microsoft Entra admin center https://entra.microsoft.com.
  2. Expand Entra ID > External Identities and select External collaboration settings.
  3. Under Guest invite settings set Guest invite restrictions to one of the following:
    • Only users assigned to specific admin roles can invite guest users
    • No one in the organization can invite guest users including admins (most restrictive)
  4. Select Save.
  1. Connect to Microsoft Graph using Connect-MgGraph -Scopes 'Policy.ReadWrite.Authorization'.
  2. Run one of the following PowerShell commands depending on the desired state:

To set Only users assigned to specific admin roles can invite guest users:

Update-MgPolicyAuthorizationPolicy -AllowInvitesFrom 'adminsAndGuestInviters'

To set No one in the organization can invite guest users including admins (most restrictive):

Update-MgPolicyAuthorizationPolicy -AllowInvitesFrom 'none'

Note: The default value is Anyone in the organization can invite guest users including guests and non-admins (most inclusive), shown as everyone in PowerShell.

Every attribute of this check
FieldValue
Test IDCIS.M365.5.1.6.3
SeverityMedium
SuiteCIS
ProductEntra ID
FeatureExternal identities
AreaExternal access and sharing
Resource typeTenant
User impactMedium
Implementation costLow
MITRE ATT&CKT1136.003 Cloud Account
Supports benchmarkCIS Microsoft 365 Foundations Benchmark (version 7.0.0), requirement 5.1.6.3
Benchmark levelL2
Benchmark profilesE3 Level 2
Supports controlscis-m365:5.1.6.3, nist-800-53-r5:AC-2
PowerShell testTest-MtCisGuestInvitationsLimited
ServicesGraph