Azure VM Not Starting

In this article, I will take you through my professional, systematic workflow for diagnosing and fixing an Azure VM that won’t start.

Azure VM Not Starting

Initial Triage: The “Quick Wins”

Before we dive into the deep logs, let’s rule out the most common high-level blockers. In my experience, 40% of startup issues are resolved in this first phase.

Check Resource Health

Azure provides a built-in diagnostic tool called Resource Health. It tells you if Microsoft is aware of an underlying platform issue in the specific US datacenter (like US East or US West 2) where your VM resides.

  • The Workflow: Navigate to your VM in the Portal > Help > Resource Health.
  • What to Look For: If the status is anything other than “Healthy,” the problem likely lies with Azure’s host infrastructure. Check out the screenshot below for your reference.
Azure VM Not Starting

The Power of a Cold Start

If your VM was recently “Stopped” (not deallocated), it might be pinned to a host that is currently under maintenance or experiencing a localized fault.

  • The Fix: Ensure the VM is in the Stopped (deallocated) state. This releases the physical hardware lease. When you click Start again, Azure will find a new, healthy physical host to run your workload. Check out the screenshot below for your reference.
azure vm cannot start

Decoding Allocation Failures

This is perhaps the most frustrating error: “Allocation failed. We do not have sufficient capacity for the requested VM size in this region.”

Why It Happens

Azure datacenters have finite physical racks. High-demand regions—like US East—can occasionally run out of specific “SKUs” or VM sizes (like the D-series or E-series). This often happens when you try to start a VM that has been deallocated for a long time; the hardware that once held it is now occupied by someone else.

The Architect’s Workarounds

  • Retry After a Few Minutes: Capacity is dynamic. Someone else might deallocate their VM while you wait, freeing up a slot for you.
  • Resize the VM: This is my “nuclear option.” If a Standard_D4s_v3 isn’t available, try a Standard_D4s_v4 or a different series with similar specs. This forces Azure to look at a different cluster of physical hardware.
  • Try a Different Availability Zone: If your VM isn’t pinned to a specific zone, try moving it to Zone 2 or 3 within the same region.

The “Deep Dive”: Boot Diagnostics

If the VM “starts” in the portal but you can’t RDP or SSH into it, the OS is likely stuck. This is where Boot Diagnostics becomes your best friend.

Viewing the Serial Log and Screenshot

I never troubleshoot a VM without looking at the “Screenshot” under Help > Boot diagnostics. It’s the equivalent of standing in front of a physical monitor in a server room.

Common Visual Cues:

Visual ErrorLikely CulpritProfessional Fix
Windows Update (100% Complete)A hung update cycle.Wait up to 30 mins; then use the Serial Console to revert.
Blue Screen (BSOD)Driver corruption or disk error.Use the “VM Repair” commands (see Section 4).
Linux Kernel PanicIncompatible kernel update.Boot into an older kernel via Serial Console.
Black ScreenOS is waiting for input (e.g., Chkdsk).Use Serial Console (SAC) to interact with the OS.

Advanced Repair: The “Disk Swap” Method

When a VM is fundamentally broken at the OS level (e.g., corrupted registry or failed driver), the Azure Portal won’t save you. You need to perform what I call “Open Heart Surgery” on the OS disk.

The Manual Repair Workflow

  1. Stop and Deallocate the broken VM.
  2. Detach the OS Disk from the broken VM.
  3. Attach the Disk as a data disk to a healthy “Rescue VM” in the same region.
  4. Perform Repairs: F