Azure VM stuck in Failed State (ARM)


VM is stuck in a "Failed" state


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



# To view all subscriptions for your account



# To select a default subscription for your current session

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

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

Comments (1)

  1. viresh mathapati says:

    But why VM get failed???

Skip to main content