windowsazure

Azure windows VM extensions are provisioning failed state VM agent is "Ready" but Backup failed at VM running State GuestAgentSnapshotTaskStatusError


Backup is failing for Azure VM with error - GuestAgentSnapshotTaskStatusError Azure Backup service could not communicate with the VM Agent for triggering a snapshot (to take a backup), because the VM Agent might be in an inconsistent state. Guest Agent is in a Ready state, however, the backup extension is in a failed state. the issue is that the VM agent is ready but the VM extensions are in provisioning failed state they are as follows 1.AzureDiskEncryption 2.enablevmaccess 3.MicrosoftMonitoringAgent 4.WindowsAgent.AzureSecurityCenter


Solution

  • Solution : You would need to re-install the Backup extension. Please follow the below action plan:

    1. Open Registry Editor.
    2. Remove VMSnapshot registry keys at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Azure\HandlerState
    3. Remove or rename VMSnapshot Plugin Folders at C:\Packages\Plugins.
    4. Now, open command prompt as admin and run below commands to force the extension installation :