0

I have the following scenario:

  • I have one Azure windows VM
  • I have encrypted the disk and created a keyvault in the same resource group
  • I have moved all the VM (plus related resourcer) + keyvault to a new resource group

And now I can't configure backup from recovery vault and i have the following error:

Could not locate key vault (xxxxxxxx-KeyVault) associated with this virtual machine

Any suggestions are welcome

Thank you

1 Answers1

0

The issue is that you are using disks that are encrypted. Although you can move keyvaults to new resource groups or subscriptions you cannot do it if the vault is used for disk encryption

https://learn.microsoft.com/en-us/azure/azure-resource-manager/resource-group-move-resources

enter image description here

You will likely need to remove the backup for that machine and create a new one from scratch.

micahmckittrick
  • 1,476
  • 8
  • 11