I am having issues with the Move-AzureVirtualNetwork command.
I was able to prepare the the move and view it in the console, but when I tried to commit I get (very unspecific) errors: Move-AzureVirtualNetwork : XrpVirtualNetworkMigrationError : Template <Server Name>-Template deployment failed. CorrelationId=<guid>
I can see them as failed in the portal also.
The logs in the portal state: statusCode:Conflict statusMessage:{"status":"Failed","error":{"code":"ResourceDeploymentFailure","message":"The resource operation completed with terminal provisioning
state 'Failed'.","details":[{"code":"ResourceReferenceInMigrationPreparePhase","message":"Resource /subscriptions/<guid>/resourceGroups/<VM Name>-Migrated/providers/Microsoft.Network/networkInterfaces/<VM
Name>-PrimaryNic is referencing resources that are being migrated from Microsoft.ClassicNetwork to Microsoft.Network. Referenced resources in migration [/subscriptions/<guid>/resourceGroups/<VM Name>-Migrated/providers/Microsoft.Network/virtualNetworks/<network
name>/subnets<subnet name>]."}]}}
Is there anyway I can fix these errors?
If I try and prepare again, I get the error: Migration of virtual network <network name> is in the process of being committed and cannot be changed until it completes successfully.
My concern is that it will never successfully complete and, if so, how do I roll it back?
Thanks