Security & Compliance

Entra Mandatory MFA Enforcement: What Actually Breaks

11 min read

If your admins already use MFA for the affected Azure sign-ins, enforcement should not change their sign-in flow. The more likely disruption is an automation job still authenticating with a user name and password. Microsoft says users who already satisfy MFA see no change; confirm which tenant enforcement has reached before assuming every account is affected. Microsoft’s enforcement and tenant-status guidance.

What breaks is the deployment pipeline that’s been running since 2021 with a username and a password sitting in an environment variable, built by someone who left in 2023, documented nowhere. It’ll fail on a release day, the error will look like a permissions problem, and two people will spend a morning checking RBAC assignments before anyone thinks about identity.

Microsoft’s mandatory MFA guidance documents the rollout phases, account scope, tenant-status checks, and preparation steps. This guide focuses on how those rules affect common Azure admin and automation patterns.

The rollout dates and tenant-specific status

Microsoft’s rollout is phased and gradual, so use your tenant status page rather than assuming every tenant began on the same day. Its published dates are:

  • October 2024: Phase 1 began gradually for accounts using the Azure portal, Microsoft Entra admin center, and Microsoft Intune admin center. Phase 1 includes create, read, update, and delete operations.
  • February 2025: Phase 1 began gradually for the Microsoft 365 admin center.
  • September 30, 2025: the last start date tenants could select for Phase 1 postponement.
  • October 1, 2025: Phase 2 began gradually for Azure CLI, Azure PowerShell, the Azure mobile app, infrastructure-as-code tools, REST APIs, and Azure SDKs. Phase 2 covers create, update, and delete operations; read requests are exempt.
  • July 1, 2026: the latest Phase 2 enforcement start date tenants could select. That date has passed.

These dates and application scopes come from Microsoft’s current enforcement documentation.

Enforcement is tenant-specific. Microsoft illustrates a Phase 2 tenant status showing a start date on or after February 20, 2026. October 1, 2025 was the beginning of the gradual rollout, not a single global switch date. Sign in as a Global Administrator and check the Phase 2 status page to see whether enforcement has begun for your tenant.

If a tenant postponed Phase 1, Microsoft says Phase 2 was also postponed to that same date, though a later Phase 2 start date could be selected. Microsoft documents the interaction between phases.

Microsoft’s current documentation explicitly says the Phase 2 start date changed to October 1, 2025. The gradual rollout and tenant postponements explain why a tenant’s actual enforcement date can be later. See the Microsoft change note and schedule.

Managed identity or user account: that’s the whole question

This is where most coverage goes wrong, and the error costs real remediation hours in both directions.

Microsoft’s account-scope guidance says workload identities, including managed identities and service principals, are not affected by either phase. A pipeline authenticating with a service principal and a certificate keeps working. A function app using a system-assigned managed identity keeps working. An Entra Connect or Entra Cloud Sync deployment keeps working, because the synchronization service account isn’t affected.

What’s affected is the pattern where somebody created a normal user account, gave it a password, granted it Contributor, and pointed a script at it. Microsoft says user identities used as service accounts for scripts or other automation must satisfy MFA when enforcement applies. Automation accounts are out of scope only when they use a managed identity or service principal. See the Microsoft FAQ.

So the useful question isn’t “do service accounts need MFA.” It’s “which of my automations authenticate as a human-shaped account.”

In our experience the answer is always at least one more than the platform team expects, and it’s usually something with a name like svc-deploy that predates the current org chart.

Resource Owner Password Credentials

The OAuth 2.0 Resource Owner Password Credentials (ROPC) grant exchanges a username and password for a token and is incompatible with MFA. Microsoft says ROPC-based APIs used in an application throw exceptions after MFA is enabled in the tenant. Its current guidance lists the affected MSAL and Azure Identity methods and versions.

The entry points, per library, along with the version each was deprecated in:

  • .NET: AcquireTokenByUsernamePassword, deprecated as of MSAL.NET 4.74.0
  • Go: the public client username-password API, as of 1.6.0
  • Java: PublicClientApplication.acquireToken(UserNamePasswordParameters parameters), as of msal4j 1.24.0
  • Node: acquireTokenByUsernamePassword, as of 3.2.3
  • Python: acquire_token_by_username_password, as of 1.35.0

Worth noting the Java one specifically, since msal4j doesn’t follow the naming pattern the other libraries use and half the blog posts on this topic paste a method name that doesn’t exist there.

The environment variable trap

This one bites teams who believe they’re already modern, and it’s my favorite finding to hand over because the fix takes ten minutes once you’ve seen it.

DefaultAzureCredential is a credential chain in the Azure Identity libraries. If AZURE_USERNAME and AZURE_PASSWORD are set, Microsoft says DefaultAzureCredential or EnvironmentCredential can use them; this is a ROPC-based path and is incompatible with MFA. Microsoft’s Azure Identity notes describe this case and the deprecated UsernamePasswordCredential methods.

UsernamePasswordCredential itself is deprecated across the Azure Identity libraries on a parallel timeline: .NET at 1.14.0-beta.2, Go at 1.9.0, Java at 1.16.0-beta.1, Node at 4.8.0, Python at 1.21.0.

Grep every pipeline definition and secret store you have for AZURE_PASSWORD. That single search finds more broken automation than an hour of reading code.

Break-glass accounts are included in enforcement

Some organizations maintain emergency access accounts that are excluded from Conditional Access policies and protected with long passwords stored offline. That design is now insufficient for Azure management operations covered by Microsoft’s mandatory MFA rollout, and the gap can be easy to miss because the accounts may still sign in successfully.

Microsoft says all user accounts, including break-glass accounts, must complete MFA when enforcement begins. User exclusions do not exempt accounts. Its guidance recommends passkeys (FIDO2) or certificate-based authentication.

There’s a bigger version of this. If you configured exceptions or exclusions in a Conditional Access policy, they no longer apply to this enforcement. Exclusions were the standard tool for carving out accounts that couldn’t do MFA: the break-glass pair, the legacy service account, the vendor’s support login. That tool doesn’t work here anymore, and if your identity design leans on it, the revisit is bigger than a policy edit.

Microsoft’s recommended fix is a passkey (FIDO2) or certificate-based authentication. Both satisfy the requirement, and neither depends on a phone number, a SIM, or a person being awake. For a break-glass account that’s the right shape anyway: two hardware keys, two safes, two people, written down.

Older clients may not prompt clearly

Even where a user can complete MFA, an old client might not tell them that’s what’s needed.

Microsoft documents that a user without an MFA claim can access a Phase 2 application, but create, update, or delete requests can return an MFA claims challenge. Some clients prompt for step-up authentication; others return only an error. See Microsoft’s client behavior notes.

That second category is where your help desk tickets come from. Someone runs a deployment, gets an opaque authorization failure, and files a ticket that reads like an RBAC problem.

Microsoft recommends Azure CLI 2.76 and Azure PowerShell 14.3 or later for the best compatibility experience. Check its current preparation guidance for any later version recommendations before updating fleets. I’d treat that as a floor and push past it on every build agent and admin workstation. I’d also stop short of the claim I’ve seen elsewhere, that older versions can’t handle claims challenges at all. Microsoft doesn’t say that, and the failure mode is more varied than a single missing capability.

Where things fail, at a glance

What failsWhyFix
Scripts using username and passwordROPC can’t carry a second factorManaged identity, or service principal
CI/CD with AZURE_USERNAME and AZURE_PASSWORDDefaultAzureCredential picks those variables upFederated credentials or service principal
Break-glass accountsConditional Access exclusions stop applyingPasskey (FIDO2) or certificate-based auth
Old CLI or PowerShellError returned with no step-up promptAzure CLI 2.76+, Az PowerShell 14.3+

What stays out of scope

Knowing the boundary is worth as much as knowing the requirement, because it stops you remediating things that were never at risk.

Microsoft says Phase 2 covers requests sent to https://management.azure.com/, the Azure Resource Manager control plane, and that Graph APIs are generally out of scope. See Microsoft’s scope FAQ. Review Graph-based provisioning separately because this rule does not define its authentication requirements.

Reads are exempt under Phase 2. A monitoring job that only queries Azure resource state is outside this operation scope; a job that also tags, updates, creates, or deletes resources is not. Microsoft lists the covered operations.

Microsoft says mandatory MFA applies in public Azure and is not currently enforced in Azure for US Government or other sovereign clouds. See its cloud scope FAQ.

The Entra Connect and Entra Cloud Sync synchronization service account is not affected, according to Microsoft’s FAQ.

Applications hosted on Azure are outside this particular management-plane requirement. Microsoft says the app, website, or service owner sets the authentication requirements for those sign-ins. See Microsoft’s account scope explanation.

Test tenants are in scope, with no exception for test environments. B2B guests must satisfy MFA in the resource tenant or in their home tenant if cross-tenant access is configured to pass the MFA claim. Microsoft covers both cases in its FAQ.

Ways to prepare for enforcement

For tenants licensed for Conditional Access (Microsoft Entra ID P1 or P2), Microsoft recommends a policy that requires MFA for users and applications in scope. More restrictive requirements, such as phishing-resistant MFA, remain in force; Conditional Access exclusions do not exempt user accounts from Microsoft’s enforcement. Tenants without Conditional Access can use security defaults. See Microsoft’s preparation guidance.

For tenants without Conditional Access, Microsoft documents Azure Policy as a way to understand the impact and stage enforcement. It offers separate built-in policies for delete and create/update actions. The Azure Policy tutorial describes the two policies, audit mode, effect values, and resource selectors. The effect parameter takes AuditAction or Audit, and the override takes DenyAction or Deny, depending which definition you picked. The vocabularies aren’t uniform, which is normal for a preview and an easy way to write an assignment that silently does nothing.

Microsoft’s specific Azure Policy tutorial says these assignments do not provide resource compliance results: audit events appear in Activity Logs and the compliance list shows zero resources because the policy evaluates requests, not resource state. So “the compliance blade is clean” means nothing at all. Read the Activity Log instead: filter on operationName.value=='Microsoft.Authorization/policies/audit/action' from the CLI, or run AzureActivity | where CategoryValue == "Policy" if you’ve got the logs in a workspace.

The broad mandatory-MFA guidance describes audit effects in general terms, while the policy-specific tutorial says these assignments do not populate resource compliance results and explains why. For these request-based policies, use the Activity Log to review audit events.

Microsoft recommends using resource selectors to stage policy enforcement by region. Its tutorial also notes that error messages can vary by client and command while the policy is in preview.

If your MFA comes from somewhere else

Plenty of organizations already have strong multifactor authentication and none of it is Microsoft’s. That’s fine, but the integration has to be the current one.

Microsoft says a third-party MFA provider can integrate through the external authentication methods framework. Legacy Conditional Access custom controls do not satisfy the requirement; organizations using them need to migrate to an external authentication method. Microsoft’s external MFA guidance. Microsoft is explicit that custom controls don’t meet the MFA requirement and that you need to migrate to external MFA to keep using an external solution. That’s a genuine trap: a tenant on custom controls has MFA, believes it’s compliant, and isn’t. The remediation is a migration, not a setting.

If MFA is provided by a federated identity provider, Microsoft says the IdP must send the multipleauthn claim. For WS-Fed or SAML 1.1 it also accepts wiaormultiauthn; for SAML 2.0, the claim belongs in AuthnContext. Whether Entra accepts federated MFA depends on the domain’s federatedIdpMfaBehavior setting. Review Microsoft’s federation guidance and test the configuration before rollout. Get the claim wrong and Entra treats the sign-in as single-factor no matter what the user actually did at the IdP.

Test both configurations against Microsoft’s federation and external authentication guidance before relying on them for admin access.

What to do now

The latest selectable Phase 2 start date, July 1, 2026, has passed. Confirm each tenant’s status on Microsoft’s Phase 2 status page. If enforcement has begun and an emergency requires a temporary lift, a Global Administrator can ask Microsoft Help and Support. Otherwise, prepare for the requirement rather than relying on a deferral.

For each tenant, review recent sign-in activity and identify user identities still used for automation. Microsoft lists the relevant application IDs in its scope documentation. Pull thirty days of sign-in logs and filter to those applications. Azure CLI is 04b07795-8ddb-461a-bbee-02f9e1bf7b46, Azure PowerShell is 1950a258-227b-4e31-a9cf-717495945fc2, and the Azure mobile app is 0c1307d4-29d6-4389-a11c-5cbe7f65d7fa. IaC tooling authenticates as CLI or PowerShell, so it lands under those two. Add c44b4083-3bb0-49c1-b47d-974e53cbdf3c if you want the Phase 1 surfaces, since the Azure portal, Entra admin center, and Intune admin center share it. That one’s been enforced since 2024 and shouldn’t be producing surprises.

For every account in that result, ask one question: is this a person? If no, it moves to a workload identity: managed identity where the workload runs in Azure, service principal with federated credentials or a certificate where it doesn’t.

Then search every pipeline definition, key vault, and secret store for AZURE_PASSWORD and for the ROPC calls listed above. Re-key break-glass accounts onto FIDO2 or certificate-based auth, and rehearse the recovery path with the new method before you need it, because a break-glass account you’ve never tested is a story, not a control. Push Azure CLI and Az PowerShell past the floor everywhere. Assign the Azure Policy in audit and go read the Activity Log rather than the compliance blade.

None of it is difficult. All of it is tedious, and the tedium is why it gets deferred until a deployment fails on a Friday. If you’d rather have the sign-in log analysis and the workload identity conversion handled as a scoped piece of work than squeezed between sprints, our security team does that shape of engagement. You end up with an inventory, a converted pipeline set, and a break-glass procedure your auditors will accept.

The enforcement was never the risk. The undocumented account with a password in a build variable was always the risk. Microsoft just stopped letting you ignore it.

  • entra mfa enforcement
  • azure mfa
  • identity security
FAQ

Common questions, answered

Does mandatory MFA enforcement apply to service accounts?
Workload identities, such as managed identities and service principals, are not affected by either phase. If a user identity is used as a service account to run automation, that user account must complete MFA when enforcement applies to the sign-in. Microsoft recommends moving those automations to workload identities. Microsoft account-scope guidance.
Can I still postpone Phase 2 enforcement after July 1, 2026?
The latest Phase 2 start date tenants could select was July 1, 2026, so that deferral date has passed. Check the Microsoft tenant status page to confirm when enforcement began for your tenant. If it has begun, Microsoft says a Global Administrator can submit a request through Help and Support to temporarily lift enforcement. Microsoft postponement and support guidance.
Do break-glass accounts have to use MFA?
Yes. Microsoft applies the requirement to all user accounts, including break-glass accounts; Conditional Access exclusions do not exempt them from this enforcement. Microsoft recommends passkeys (FIDO2) or certificate-based authentication, both of which satisfy the MFA requirement. Microsoft account and break-glass guidance.
Are Microsoft Graph API calls in scope?
Generally, Microsoft Graph APIs are not in scope for Phase 2. Microsoft says the enforcement covers requests sent to `https://management.azure.com/`, the Azure Resource Manager control plane. Microsoft's scope FAQ.
Will read-only automation break?
Phase 2 does not require MFA for read operations. It applies to create, update, and delete requests. A read-only job is outside that Phase 2 operation scope; a job that also changes resources is not. Microsoft's Phase 2 scope.
Does this apply to test tenants and government clouds?
Yes, test tenants are in scope. Microsoft says enforcement applies in public Azure; it is not currently enforced in Azure for US Government or other sovereign clouds. Microsoft's tenant and cloud scope FAQ.

See it on your own data.

Book a 30-minute discovery call and we'll walk through your use case.