# (L1) Ensure multifactor authentication is enabled for all users

An enabled Conditional Access policy requires multifactor authentication for all users, in all cloud apps.

Source: https://maester.dev/docs/tests/CIS.M365.5.2.2.2

<!-- This file is generated by website/scripts/generate-test-docs.mjs. Do not edit manually. -->

<div class="test-byline"><div class="test-byline-avatars"><a class="test-byline-avatar test-byline-avatar--author" href="/contributors/jeremyfinney-lgtm" title="Jeremy Finney · Original author"><img src="https://github.com/JeremyFinney-lgtm.png" alt="Jeremy Finney" width="28" height="28" loading="lazy" decoding="async" /></a></div><div class="test-byline-meta"><span class="test-byline-text">Contributed by <a href="/contributors/jeremyfinney-lgtm">Jeremy Finney</a></span><a class="test-byline-link" href="/contributors">All contributors →</a></div></div>

<p class="test-part">Part of <a href="/docs/tests/cis">CIS</a> · Entra ID · Conditional Access · <a href="/docs/tests">All checks</a></p>

```powershell title="Run this check"
Invoke-Maester -TestId CIS.M365.5.2.2.2
```

## Overview

An enabled Conditional Access policy requires multifactor authentication for all users, in all cloud apps.

Passwords are the most common way into Microsoft 365 accounts: they are phished, reused, guessed and sprayed. Requiring a second factor for every user at sign-in blocks most of these attacks even when the password is known.

The policy must target all users and all resources, require MFA or an authentication strength, and be enabled. Policies that apply only at a certain risk level, or that are in report-only mode, do not satisfy the test. Excluding emergency access accounts is expected.

User and group exclusions are not evaluated by this test. Application exclusions are evaluated; Microsoft Rights Management Services (`00000012-0000-0000-c000-000000000000`) is the only allowed exclusion. The benchmark recommends this exception so external users can open documents protected by sensitivity labels. Any other excluded application causes the policy to fail, and the result lists excluded applications.

#### Remediation action

1. Sign in to the [Microsoft Entra admin center](https://entra.microsoft.com).
2. Go to **Entra ID** > **Conditional Access** > [**Policies**](https://entra.microsoft.com/#view/Microsoft_AAD_ConditionalAccess/ConditionalAccessBlade/~/Policies) and select **New policy**.
3. Under **Users**, include **All users**. Exclude your emergency access accounts.
4. Under **Target resources**, select **All resources (formerly All cloud apps)**. If external users need to open documents protected by sensitivity labels, exclude Microsoft Rights Management Services (`00000012-0000-0000-c000-000000000000`); do not add other application exclusions.
5. Under **Grant**, select **Grant access** and **Require multifactor authentication** (or **Require authentication strength**).
6. Set **Enable policy** to **On** (use **Report-only** first to measure the impact) and select **Create**.

#### Related links

* [Microsoft Entra admin center - Conditional Access policies](https://entra.microsoft.com/#view/Microsoft_AAD_ConditionalAccess/ConditionalAccessBlade/~/Policies)
* [Require multifactor authentication for all users with Conditional Access](https://learn.microsoft.com/entra/identity/conditional-access/howto-conditional-access-policy-all-users-mfa)
* [Plan a Conditional Access deployment](https://learn.microsoft.com/entra/identity/conditional-access/plan-conditional-access)
* [CIS Microsoft 365 Foundations Benchmark v7.0.0 - 5.2.2.2](https://www.cisecurity.org/benchmark/microsoft_365)

## Details

<details>
<summary>Every attribute of this check</summary>

| Field | Value |
| --- | --- |
| Test ID | CIS.M365.5.2.2.2 |
| Severity | High |
| Suite | CIS |
| Product | Entra ID |
| Feature | Conditional Access |
| Area | Authentication |
| Resource type | Tenant |
| User impact | Medium |
| Implementation cost | Medium |
| MITRE ATT&CK | T1078.004 Cloud Accounts, T1110 Brute Force |
| Supports benchmark | CIS Microsoft 365 Foundations Benchmark (version 7.0.0), requirement 5.2.2.2 |
| Benchmark level | L1 |
| Benchmark profiles | E3 Level 1 |
| Supports controls | cis-m365:5.2.2.2, nist-800-53-r5:IA-2(2) |
| PowerShell test | [Test-MtCisMfaForEveryUser](https://github.com/maester365/maester/blob/main/tests/cis/Test.CIS.M365.5.2.2.2.ps1) |
| Services | Graph |
| Compatible licenses | AAD_PREMIUM |

</details>

## Source

- Test: [`tests/cis/Test.CIS.M365.5.2.2.2.ps1`](https://github.com/maester365/maester/blob/main/tests/cis/Test.CIS.M365.5.2.2.2.ps1)
- Documentation: [`tests/cis/Test.CIS.M365.5.2.2.2.md`](https://github.com/maester365/maester/blob/main/tests/cis/Test.CIS.M365.5.2.2.2.md)
