A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
Hello Aruna Singh,
Thank you for reaching out to the Microsoft Q&A forum.
It looks like your VM’s network interface is sitting in a subnet called AzureFirewallSubnet that hosts an Azure Firewall. Unfortunately that subnet (and the firewall resource in it) isn’t supported by the “move resource” operation, so the validation fails and the VM/NIC can’t be moved as long as that dependency remains.
You’ve got three main paths forward:
- Remove or redeploy the Azure Firewall, move the VNet (and its subnet), then move the NIC and VM • Detach/delete the Azure Firewall resource in that subnet • Use az resource move or the Azure portal to move the virtual network first • Move the NIC, NSG, disks, then finally the VM
- Use Azure Resource Mover • Resource Mover can orchestrate moves of VNets, firewalls, NICs, disks, and VMs across subscriptions (and even regions) in one coordinated workflow • It will handle resource ordering and re‐create dependent resources in the target subscription
- Snapshot + rebuild the VM in the new subscription • Deallocate the VM • Create a snapshot of the OS disk (az snapshot create …) • Copy/move that snapshot or exported VHD into the target subscription • Create a managed disk from the snapshot and spin up a new VM pointing at that disk in your destination subscription • Reattach any data disks or recreate NICs/VNet as needed
Pick the approach that best fits your environment—if you can remove the firewall and subnet, the built-in “move resources” will work after that. If you need to keep the firewall in place, Resource Mover or the snapshot/recreate method is your easiest route.
Reference links:
- Move a Windows VM to another subscription or resource group https://docs.microsoft.com/azure/virtual-machines/windows/move-vm
- Move operation support by resource type (see which resources support move) https://docs.microsoft.com/azure/azure-resource-manager/management/move-support-resources
- Virtual machines move limitations (special cases like Azure Firewall subnet) https://docs.microsoft.com/azure/azure-resource-manager/management/move-limitations/virtual-machines-move-limitations
- Azure Resource Mover overview https://docs.microsoft.com/azure/resource-mover/overview
Hope that helps! Let me know which path you’d like to try or if you need more detailed steps.