Template family: Conditional Access
Applies to: Microsoft Entra ID
Where to find it: Secure → Conditional Access → Templates → Augmentt Default

What this template is for

The device code authentication flow is designed for input-constrained devices such as smart TVs and IoT devices. It is frequently abused by attackers in phishing campaigns where a user is tricked into entering a device code on a legitimate Microsoft page, granting the attacker an authenticated session token. Blocking this flow eliminates the attack vector entirely for standard users. This policy satisfies CIS Microsoft 365 Foundations Benchmark v6.0.0 section 5.2.2.12 (L1).

What it actually does

Who it covers. Every user in the tenant, when they sign in to all cloud apps.

Who is excluded. Service-provider (GDAP) guest accounts are excluded automatically, so your own technicians keep access if the policy misfires.

When it fires. Only when the sign-in uses the device code flow.

What it enforces. Entra ID will block the sign-in outright.

Deployment state. Report-only.

Augmentt deploys this template in report-only mode. Entra ID evaluates every sign-in and records what would have happened in the sign-in logs, but nothing is blocked or challenged until you switch the policy to On. Review the report-only results before enforcing.

Compliance mapping

  • CIS Microsoft 365 Foundations Benchmark v6.0.0 — section 5.2.2.12 (L1)


This is an Augmentt Default template, shipped with the product and shared across all customers. Deploying it creates a new policy in the customer tenant; edit the deployed policy rather than the template.