Trending on MSDN: Virtual Machine stuck in Deallocating State

Micah McKittrick 946 Reputation points Microsoft Employee
2019-10-29T19:36:33.713+00:00

I have a VM in East US that went unresponsive, because of this I attempted to stop and start the VM.

I tried both the Azure Portal and the CloudShell with Stop-AzureRmVM -Force, but neither seems to work. The machine seems to be stuck in the deallocating state.

Any ideas how to fix this?

Sourced from MSDN

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,122 questions
0 comments No comments
{count} vote

Accepted answer
  1. olufemia-MSFT 2,861 Reputation points
    2019-10-29T23:00:40.46+00:00

    Welcome to the Microsoft Q&A (Preview) platform. Happy to answer your questions.

    The best course of action in these situations is generally to let the deallocation action time out. That can take about 90mins.
    Give it a few hours and after a bit you should see that an error message associated with why it could not deallocate. From there you can troubleshoot further as to why the stop action failed.
    Also, after the stop action errors you, you can often retry the operation and it will succeed.

    Sourced from MSDN

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful