The virtual machine is in a failed state

Mark Windle 90 Reputation points
2025-06-11T17:27:40.86+00:00

Hi. Since 2025-06-10 23:47:55 according to Azure I have been receiving the following error. I have followed both instructions with no success.My apologies on this being a duplicate post, I had the incorrect tags for the previous one.

User's image

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,018 questions
{count} votes

Accepted answer
  1. Palmer Wilson 80 Reputation points
    2025-06-12T00:19:31.6+00:00

    @Mark Windle , yea I ran into that too. I wasn't sure how common it was or if it was caused by how I deployed my machines. To get around it was kind of a pain. I will give a flyby of the steps I took and hopefully it can help:

    1. Take snapshot of the version 6 OS Disk
    2. Create a Disk from the Snapshot
    3. Create a new VM with the Version 5 VM size
    4. Match settings as close to the version 6 vm as possible (Region, zone options, security type, image, architecture ect.. ) but make sure you chose the v5 of the VM size.
    5. Deploy and stop the image once its deployed.
    6. Detach any non-os disks from the version 6 VM
    7. On the Version 5 VM in disks, Swap OS Disk and swap with the created disk from snapshot on step 2.
    8. Attach any other non OS disk matching the LUN number they were configured with on the version 6 VM.

    Now at this point I wanted to keep the same NIC that was attached to the version 6 VM. It wouldn't let me detach the NIC without having at least one NIC attached attached to it. So I took these steps:

    1. Created a new nic to attach to the version 6 VM
    2. Detach the existing NIC from the version 6 VM i wanted to keep
    3. Attach existing NIC I wanted to keep to the version 5 VM
    4. Detached the NIC that was created during creation of the version 5 VM

    At this point I was able to start the VM and everything worked as expected. I even reapplied the windows patch from last night.

    There is likely a better way to handle that issue but this was a result of just trying to think on my feet and get production servers back online.

    Hope this helps point you in the right direction.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.