A deployment script has to sign in as something. The quick way, years ago, was to create an ordinary user, give it rights on the subscription and put its password where the pipeline could read it. It worked, so it stayed. Microsoft calls this a user based service account, and its mandatory multifactor rule is aimed straight at it.
What is enforced, and since when
The rule came in two phases. The first covered the places where people click: the Azure portal, the Microsoft Entra admin center and the Intune admin center from the second half of 2024, and the Microsoft 365 admin center from February 2025. The second began on 1 October 2025 and reaches the tools that scripts use: Azure CLI, Azure PowerShell, the Azure mobile app, infrastructure as code tools, the SDKs and the REST API that manages resources.
Phase two was applied tenant by tenant, and a Global Administrator could push the date back, but no later than 1 July 2026. That date has passed. No tenant should plan on being exempt.
- A person in the Azure portalAsked
- A user account whose script creates, changes or deletesAsked. The script stops.
- The same account, when the script only readsNot asked
- A managed identity or a service principalNot asked
Who is asked and who is not
The rule applies to user accounts. Microsoft's page is plain about the exception. Neither phase touches a workload identity, the family that managed identities and service principals belong to. It also draws a line by action. Creating, updating or deleting a resource needs the second factor. Reading does not.
That detail explains a pattern that confuses teams. A reporting script that only lists resources keeps running under the old account. The deployment job fails at its first change, with the same account and the same password. The difference is the verb.
Moving a job off a person's account
- If the job runs inside Azure, use a managed identity. A virtual machine, a function or an automation account can be given an identity of its own. There is no password to store or to rotate.
- If it runs outside Azure, use a service principal. A pipeline on another platform then signs in as an application and not as a person.
- Give it only what the job needs. The old account often held Owner on the whole subscription, because nobody wanted a release to fail. The move is the moment to narrow the new identity to the resource groups it deploys to.
Update the tools as well. The Azure team's post on phase two asks for Azure CLI 2.76 and Azure PowerShell 14.3, or later versions.
The emergency account is not exempt
Many tenants keep one or two emergency accounts for the day the normal sign in fails. They are user accounts, so the rule covers them. Microsoft's advice is to set them up with a passkey or with certificate based sign in. Test that sign in before the day it is needed.
Why so strict? Microsoft's research puts the share of account compromise attacks that a second factor stops above 99.2 percent. A deployment account with a stored password and wide rights was the softest target in the tenant.
Where Emergeware fits
Our Cloud Infrastructure and Application practice works on the automation of infrastructure and operations. Moving a pipeline from a person's account to an identity of its own is part of that work. See Cloud Infrastructure and Application.
Do this month
Tick them off as you go. Nothing is saved or sent.
Sources
Each one was opened on 14 Nov 2026.