One of my VM's just became unavailable and I am not able to connect. I have deallocated/reallocated, redeployed, and reset password. Nothing works. How to I get the VMAgent to reset so I can connect again?
When I execute this:
Get-AzureRmVM -ResourceGroupName "MyResourceGroup" -Name "SP-SVR1" -Status
I get the following. Note the VMAgent's Level property is Warning and that the message is "VM Agent is Unresponsive"
ResourceGroupName : MyResourceGroup
Name : SP-SVR1
BootDiagnostics :
ConsoleScreenshotBlobUri :
https://diagstoreeonatynishp64.blob.core.windows.net/bootdiagnostics-svrl...
Disks[0] :
Name : SP-SVR1
Statuses[0] :
Code : ProvisioningState/succeeded
Level : Info
DisplayStatus : Provisioning succeeded
Time : 11/8/2017 11:43:27 PM
VMAgent :
VmAgentVersion : Unknown
Statuses[0] :
Code : ProvisioningState/Unavailable
Level : Warning
DisplayStatus : Not Ready
Message : VM Agent is unresponsive.
Time : 11/9/2017 12:06:30 AM
Statuses[0] :
Code : ProvisioningState/succeeded
Level : Info
DisplayStatus : Provisioning succeeded
Time : 11/8/2017 11:47:21 PM
Statuses[1] :
Code : PowerState/running
Level : Info
DisplayStatus : VM running