Following the directions at https://docs.microsoft.com/en-us/azure/virtual-machines/windows/migration-classic-resource-manager-ps, I used the steps below to attempt a migration from Azure Classic resources to Azure RM. I received an error during
the final step, and I can't finish the commit or abort, so I think I'm stuck. @AzureSupport asked me to post in this forum.
- Move-AzureVirtualNetwork -Validate -VirtualNetworkName <name>
- Move-AzureVirtualNetwork -Prepare -VirtualNetworkName <name>
- Move-AzureVirtualNetwork -Commit -VirtualNetworkName <name>
During the validate stage, the only notes were about BGInfo, which I uninstalled, and about some network ACLs, which I have removed. After those changes, there were no Error or Warning items.
During the prepare stage, the command returned "success"
During the commit stage, I received the following error message. I've re-run the commit command a number of times over the past ~90 minutes, always getting the same response.
PS> Move-AzureVirtualNetwork -Commit -VirtualNetworkName $vnet.Name
Move-AzureVirtualNetwork : XrpVirtualNetworkMigrationError : Template <hidden>-Template deployment failed. CorrelationId=eb889964-acea-4b25-8a9a-ef62eed94141. Template deployment errors= [TargetResourceType:
Microsoft.Compute/virtualMachines, TargetResourceName: <hidden>, ErrorCode: ResourceDeploymentFailure, ErrorMessage: The resource operation completed with terminal provisioning state 'Failed'., InnerDetails: [ErrorCode:
NetworkingInternalOperationError, ErrorMessage: Unknown network allocation error..].,TargetResourceType: Microsoft.Compute/virtualMachines, TargetResourceName: <hidden>, ErrorCode: ResourceDeploymentFailure, ErrorMessage: The resource
operation completed with terminal provisioning state 'Failed'., InnerDetails: [ErrorCode: NetworkingInternalOperationError, ErrorMessage: Unknown network allocation error..].,TargetResourceType: Microsoft.Compute/virtualMachines,
TargetResourceName: <hidden>, ErrorCode: ResourceDeploymentFailure, ErrorMessage: The resource operation completed with terminal provisioning state 'Failed'., InnerDetails: [ErrorCode: NetworkingInternalOperationError, ErrorMessage:
Unknown network allocation error..].].,Template <hidden>-Template deployment failed. CorrelationId=937a038d-c7bd-4f86-97de-be15ff7f17e1. Template deployment errors= [TargetResourceType: Microsoft.Compute/virtualMachines,
TargetResourceName: <hidden>, ErrorCode: ResourceDeploymentFailure, ErrorMessage: The resource operation completed with terminal provisioning state 'Failed'., InnerDetails: [ErrorCode: NetworkingInternalOperationError, ErrorMessage:
Unknown network allocation error..].].
At line:1 char:1+ Move-AzureVirtualNetwork -Commit -VirtualNetworkName $vnet.Name+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo : CloseError: (:) [Move-AzureVirtualNetwork], ComputeCloudException+ FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Network.MoveVirtualNetworkCommand