Azure VM backup failed: UserErrorGuestAgentStatusUnavailable
<p>I have a azure VM. I setup the Backup in the Recovery Service vaults. Installed Windows Azure Guest Agent on VM (WindowsAzureVmAgent.2.7.1198.778.rd_art_stable.160617-1120.fre.msi), update GuestAgentStatus based on <a href="https://blogs.msdn.microsoft.com/mast/2014/04/07/install-the-vm-agent-on-an-existing-azure-vm/" rel="nofollow">https://blogs.msdn.microsoft.com/mast/2014/04/07/install-the-vm-agent-on-an-existing-azure-vm/</a> . Now if I check GuestAgentStatus, I can see ProvisionGuestAgent has value.</p>

<p>However, once I setup backup, run it, it always failed. The error message is:</p>

<pre><code>The VM Agent is not in Running State.
</code></pre>

<p>The recommended action is:</p>

<pre><code>This is mostly because of older version of VM agent. Please update the VM agent as mentioned in the troubleshooting guide at http://go.microsoft.com/fwlink/?LinkId=800034
</code></pre>

<p>It also has another link: <a href="https://azure.microsoft.com/en-us/documentation/articles/backup-azure-vms-troubleshoot/" rel="nofollow">https://azure.microsoft.com/en-us/documentation/articles/backup-azure-vms-troubleshoot/</a></p>

<p>However, they do not provide solution for the same error. There is a similar error:</p>

<pre><code>Could not communicate with the VM agent for snapshot status. - Ensure that VM has internet access. Also, update the VM agent as mentioned in the troubleshooting guide at http://go.microsoft.com/fwlink/?LinkId=800034
</code></pre>

<p>The VM agent is the latest, also, I can use its DNS RDP to the VM, there is no problem to browser website like google, etc., and no Network Security Group.</p>

<p>Anyone has any ideas why the backup failed? How do I check whether the VM agent is running?</p>

<p>Thanks</p>