Description:

Verifies that an enabled Conditional Access policy blocks the OAuth 2.0 device authorization grant (device code flow) for all users and all resources.

Why:

CIS M365 Foundations Benchmark v6 §5.2.2.12 requires blocking the OAuth 2.0 device authorization grant with Conditional Access. Blocking device code flow helps prevent device-code phishing attacks where users are tricked into authorizing attacker-controlled devices.

Configured: An enabled Conditional Access policy blocks device code flow for all users and all resources.

Not Configured: No enabled broad Conditional Access policy blocks device code flow.

Scoring: Contributes up to 1 point to the Posture Recommendations score.

Category: Identity

Microsoft Licensing: Requires Premium (P1) licensing

Secure Score Impact: Not verified. No Microsoft Secure Score control could be confirmed for this setting from published sources. See the note in README.md before publishing this field.

Remediation in Augmentt: Guided remediation steps (Instructions tab); Conditional Access Policy manager

Compliance Frameworks:

  • CIS Microsoft 365 Benchmark v6 (Level 1) — 5.2.2.12

  • CIS Controls v8 — 16.7

Microsoft documentation: