Verify that 'Guest invite restrictions' is set to 'Only users assigned to specific admin roles can invite guest users'

Framework Reference: A.5.15 Integration: Azure – Microsoft Entra ID (formerly Azure AD)

Why this matters

Allowing any userβ€”including guests and non-adminsβ€”to invite external users into your tenant presents a serious security risk. It increases the attack surface, weakens identity governance, and undermines the principle of least privilege. Restricting guest invitations to specific admin roles ensures controlled onboarding of external identities and reduces the likelihood of unauthorized access.


What this check does

This Auto Check verifies whether guest invite permissions are restricted to users assigned to specific admin roles.

Check Logic

Passes if:

  • AllowInvitesFrom is set to adminsAndGuestInviters.

Fails if:

  • The setting is configured to allow broader groups (e.g. everyone, none, or adminsAndUserMember).

Applies to:

  • Microsoft Entra ID (formerly Azure Active Directory)

How to fix it

Azure Portal

  1. Go to Microsoft Entra ID from the Azure Portal.
  2. Under Manage, select External Identities.
  3. Click on External collaboration settings.
  4. Under Guest invite settings, set Guest invite restrictions to:
    Only users assigned to specific admin roles can invite guest users.
  5. Click Save.

PowerShell

Connect-MgGraph Update-MgPolicyAuthorizationPolicy -AllowInvitesFrom "adminsAndGuestInviters"


Exceptions

There are no legitimate exceptions for production environments. If temporary broader access is required (e.g. during a migration), it must be time-bound and logged.


Further resources

Was this article helpful?