Cross resource group move is not supported

Dheeman Das 41 Reputation points
2024-01-13T14:51:09.2433333+00:00
{
  "message": "Resource move validation failed. Please see details. Diagnostic information: timestamp '20240113T144312Z', subscription id 'b5d38e7d-cf0c-4f44-b86e-8eb7ceeaba6c', tracking id '06625a7d-eb14-45d0-935a-3182150bd113', request correlation id 'efb05f33-2fcf-4382-a74a-7135f94dc9a7'. (Code: ResourceMoveProviderValidationFailed) Cross resource group move is not supported. Browse the link<https://aka.ms/vmbackupmove> for resource move information. (Code: MoveResourcesNotSupported, Target: Microsoft.Compute/disks) Cross resource group move is not supported. Browse the link<https://aka.ms/vmbackupmove> for resource move information. (Code: MoveResourcesNotSupported, Target: /subscriptions/b5d38e7d-cf0c-4f44-b86e-8eb7ceeaba6c/resourceGroups/WVD-Prod-Hostpool/providers/Microsoft.KeyVault/vaults/MRO-VDI-Key-Vault)",
  "code": "ResourceMoveProviderValidationFailed",
  "name": "6466cbfe-6f33-4941-83a8-ed186b74d0ba",
  "status": 409

how to fix this issue. please help ASAP. stuck in the middle of the migration

Azure Disk Encryption
Azure Disk Encryption
An Azure service for virtual machines (VMs) that helps address organizational security and compliance requirements by encrypting the VM boot and data disks with keys and policies that are controlled in Azure Key Vault.
162 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Luca Lionetti 3,131 Reputation points
    2024-01-13T16:51:52.15+00:00

    Hi, Welcome to Microsoft Q&A community forum! You can't move resources if they have dependencies, e.g. backup, check that you don't have any backups on the VM or active restore points, and try again ref link: https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/move-limitations/virtual-machines-move-limitations?tabs=azure-cli#virtual-machines-with-azure-backup Hope this helps Cheers Luca Please "Accept as Answer" and Upvote if the answer provided is useful, so that you can help others in the community looking for remediation for similar issues

    0 comments No comments

  2. KarishmaTiwari-MSFT 18,612 Reputation points Microsoft Employee
    2024-01-14T07:43:10.5366667+00:00

    A virtual machine that is integrated with a key vault to implement Azure Disk Encryption for Linux VMs or Azure Disk Encryption for Windows VMs can be moved to another resource group when it is in deallocated state.

    However, to move such virtual machine to another subscription, you must disable encryption.

    az vm encryption disable --resource-group demoRG --name myVm1 --
    

    Please check if any of the answers help resolve your issue. If you still need help, let us know in the comments and we can further look into it.

    0 comments No comments