Every user should be required to sign in with multifactor authentication
This check looks at whether the Microsoft Entra tenant behind your Azure subscriptions requires multifactor authentication for all users, through Conditional Access or security defaults. The safe setting is that no user can sign in with a password alone.
Why it matters
A password on its own can be guessed, reused from another breach or phished. Once someone has it, they get whatever the user can reach, and in an Azure tenant that can include subscriptions, storage and keys. A second factor stops most of those attacks because the stolen password is not enough.
Microsoft recommends requiring MFA for all users and explains the options in Require MFA for all users with Conditional Access and security defaults.
How to check it yourself
In the Microsoft Entra admin center open Protection, then Conditional Access, then Policies. Look for an enabled policy that targets all users and all cloud apps and has Require multifactor authentication under Grant. If you have no such policy, open Overview, then Properties, then Manage security defaults, and see whether they are on.
The following Microsoft Graph PowerShell commands only read configuration:
Connect-MgGraph -Scopes Policy.Read.All
Get-MgIdentityConditionalAccessPolicy |
Where-Object { $_.GrantControls.BuiltInControls -contains 'mfa' } |
Select-Object DisplayName, State,
@{n='Users';e={$_.Conditions.Users.IncludeUsers -join ','}}
Get-MgPolicyIdentitySecurityDefaultEnforcementPolicy | Select-Object IsEnabledA policy whose Users column is All and whose State is enabled meets the setting. Exclusions in the policy are people who can still sign in without MFA, so review them too.
How to fix it
Create a Conditional Access policy in the Entra admin center: assign it to all users, select all cloud apps, and under Grant choose Require multifactor authentication. Exclude one or two emergency access accounts that are protected in another way, and set the policy to report-only first so you can see the effect before you enforce it. Once the report looks right, switch it to on.
Scripted version in report-only mode. It changes your tenant, so ConfigCobra never runs it for you:
Connect-MgGraph -Scopes Policy.ReadWrite.ConditionalAccess
$body = @{
displayName = 'Require MFA for all users'
state = 'enabledForReportingButNotEnforced'
conditions = @{
users = @{ includeUsers = @('All'); excludeUsers = @('EMERGENCY-ACCOUNT-OBJECT-ID') }
applications = @{ includeApplications = @('All') }
}
grantControls = @{ operator = 'OR'; builtInControls = @('mfa') }
}
New-MgIdentityConditionalAccessPolicy -BodyParameter $bodySmaller tenants without Conditional Access can turn on security defaults instead.
What changes when you fix it
Everyone who signs in to Azure, the Azure portal, Microsoft 365 or any other app in the tenant is affected. After the policy is enforced, each user is asked to register an authentication method and then to confirm sign-ins.
- Users need a phone, an authenticator app or a security key before they can continue.
- Service accounts and scripts that sign in as a normal user with a password stop working. Move them to a service principal or managed identity.
- Emergency access accounts must stay excluded, or an outage of the second factor can lock everyone out.
- The help desk gets more requests during the first days, for lost or new phones.
Run the policy in report-only mode and read the sign-in logs for accounts that would fail before you enforce it.
Included in
| Benchmark | CIS ID | Profile |
|---|---|---|
| CIS Microsoft Azure Foundations v6.0.0 | 5.1.3 | Level 1 |
More checks in Identity Services
- Ensure that 'security defaults' is Enabled in Microsoft Entra IDCIS 5.1.1
- Ensure that 'Require Multifactor Authentication to register or join devices with Microsoft Entra' is set to 'Yes'CIS 5.1.2
- Ensure that 'Allow users to remember multifactor authentication on devices they trust' is DisabledCIS 5.1.4
Check this on your Microsoft Azure
ConfigCobra runs this check with every other control of the CIS Microsoft Azure Benchmarks, read-only.