Check provider logo

Organization has Modern Authentication enabled

exchange_organization_modern_authentication_enabled

Severitycritical
Serviceexchange
by Prowler

Microsoft 365 Exchange Online organization setting determines if Modern Authentication (OAuth 2.0) is enabled for client connections.

This evaluates whether clients use token-based sign-in rather than Basic credentials.

Risk

Without Modern Authentication, clients may fall back to Basic, disabling MFA and enabling password spraying and credential stuffing. Account takeover can expose mailboxes, alter rules, and send fraudulent emails, harming confidentiality and integrity.

Run this check with Prowler CLI

prowler m365 --checks exchange_organization_modern_authentication_enabled

Recommendation

Enable Modern Authentication org-wide and phase out Basic to enforce token-based access. Require MFA with conditional access, block legacy mail protocols where feasible, and apply least privilege on mailbox permissions. Monitor sign-ins for legacy usage to maintain defense in depth.

Remediation

CLI

Set-OrganizationConfig -OAuth2ClientProfileEnabled $true

Other
  1. Sign in to the Microsoft 365 admin center
  2. Go to Settings > Org settings > Modern authentication
  3. Enable "Turn on modern authentication for Outlook 2013 for Windows and later"
  4. Click Save

Source Code

Resource Type

NotDefined

References