Freigeben über


Azure VM stuck in Failed State (ARM)

Symptom:

VM is stuck in a "Failed" state

Resolution:

You can attempt to clear this state by updating the VM via PowerShell. This causes no additional downtime and only takes a moment.

To do this, open a PowerShell session as an Administrator and run the following modifying as needed

# To view all subscriptions for your account

Login-AzureRmAccount

      

# To view all subscriptions for your account

Get-AzureRmSubscription

             

# To select a default subscription for your current session

Get-AzureRmSubscription –SubscriptionID “SUBID” | Select-AzureRmSubscription

Get-AzureRmVM -Name "VMname" -ResourceGroupName 'RGName' | Update-AzureRmVM

Comments

  • Anonymous
    February 19, 2018
    But why VM get failed???
    • Anonymous
      March 23, 2018
      The comment has been removed