Azure Backup is failing with "VM is not in a state that allows backups." for multiple VMs (almost 100)
Can anyone give a clue about the error and fix for that?
Azure Backup is failing with "VM is not in a state that allows backups." for multiple VMs (almost 100)
Can anyone give a clue about the error and fix for that?
This should help.
VM is not in a state that allows backups.
Check if VM is in a transient state between Running and Shut down. If it is, wait for the VM state to be one of them and trigger backup again. If the VM is a Linux VM and uses [Security Enhanced Linux] kernel module, you need to exclude the Linux Agent path(/var/lib/waagent) from security policy to make sure backup extension gets installed.
https://learn.microsoft.com/en-us/azure/backup/backup-azure-vms-troubleshoot