← All notes

Azure11 Nov 20264 min readBy the X-Axis consulting team

Azure now asks your scripts for a second factor

Mandatory multifactor sign in reached the command line and deployment tools. If a nightly job runs under a person's account, it is living on borrowed time.

30 second answer

Azure requires multifactor authentication for user accounts that manage resources through the CLI, PowerShell, SDKs and deployment tools. Service principals and managed identities are not affected. Move any automation that signs in as a person.

Most people met this change in the Azure portal. One morning the sign in asked for a code, they set up the authenticator app, and that was that. Microsoft finished rolling that first phase out to every tenant in March 2025.

The second phase is the one that bites, because it is aimed at things that do not have a phone.

What phase two covers

How Azure rolled out mandatory multifactor sign in
  1. Phase oneAzure portal, Entra and Intune admin centers
  2. March 2025Portal enforcement reached every tenant
  3. 1 Oct 2025Phase two begins: CLI, PowerShell, SDKs, deployment tools
  4. July 2026Last date tenants could postpone to

From 1 October 2025 Azure began enforcing multifactor authentication at the resource management layer. In plain terms, that is anything that creates, changes or deletes Azure resources, whichever tool does it. The Azure CLI. Azure PowerShell. The mobile app. The REST API. The SDKs. Infrastructure as code tools. Enforcement has been applied tenant by tenant, and organizations that needed more time could ask to postpone it until July 2026. That window has now closed.

Microsoft's reason is hard to argue with. Its own research says multifactor authentication blocks more than 99.2 percent of account compromise attacks. The portal was only one door. Leaving the command line open made little sense.

Who gets hurt

Not properly built automation. Workload identities, which means managed identities and service principals, are outside both phases. A pipeline that signs in with a service principal carries on as before.

The trouble is the other kind. Years ago somebody wrote a script to stop the development machines at night, and it signs in as a real person with a password stored in a file. Or a backup job runs under the account of an administrator who has since changed roles. These are user accounts being used as service accounts, and Microsoft's guidance calls them out by name. When enforcement reaches them, they stop, usually at night, and usually the first sign is that something did not happen.

The annoying thing is that these scripts tend to be the quiet useful ones. Nobody has looked at them since they were written, which is why nobody knows how they sign in.

What to do this month

Search for them before they find you. The sign in logs in Entra show which user accounts are signing in to Azure management without any interactive session. Anything that looks like a person but behaves like a clock is a candidate.

Then move each one. If the job runs inside Azure, a managed identity is the cleanest answer, because there is no secret to store at all. If it runs somewhere else, use a service principal with a certificate, and give it only the permissions the job needs. While you are there, update the tools. Microsoft recommends Azure CLI 2.76 and Azure PowerShell 14.3 or later for the best compatibility.

Do not solve this by excluding the account from your access policies. Enforcement applies whatever your own policies say, and it was never a good idea.

Where X-Axis fits

Our consultants review Azure identity and automation as part of cloud operations work in the United States and Canada. The consulting page shows how an engagement runs.

Do this month

Tick them off as you go. Nothing is saved or sent.

Sources

Want a second pair of eyes on this?

See how a consulting engagement runs

Keep reading

Azure3 min read
31 Mar 2026new virtual networks default to private

New Azure networks no longer reach the internet on their own

Since 31 March 2026 a new virtual network starts private. A fresh server that cannot download updates is the usual first symptom.

30 second answerVirtual networks created after 31 March 2026 default to private subnets. Machines in them need an explicit outbound route, such as a NAT gateway, before they can reach the internet. Existing networks keep working as before.
Azure3 min read
1 hourfor a first pass that usually pays for itself

Where an Azure bill drifts, and a one hour review that finds it

Cloud bills do not jump. They creep, a few dollars at a time, in places nobody owns. Here is where we look first.

30 second answerLook for disks and addresses attached to nothing, machines sized for a peak that never came, test environments running overnight, and anything without an owner tag. Then set a budget alert, so the next drift sends an email.
Microsoft 3654 min read
$1.50more per user, per month, on Business Standard

Your next Microsoft 365 renewal costs more. Here is the arithmetic.

List prices went up on 1 July 2026. Most firms will only notice when the renewal quote lands, so do the sum now.

30 second answerBusiness Basic went from $6 to $7 and Business Standard from $12.50 to $14 per user per month. Business Premium stayed at $22. You pay the new rate from your first renewal after 1 July 2026.