Moving vnet resource

Umix 1 Reputation point
2022-04-15T01:59:19.023+00:00

I need to move one of the virtual networks from Australia Southeast to Australia East however when i use the location -> move functionality I keep getting the following error

The provided resource group name 'ResourceMoverRG-Australia Southeast-australiaeast-ae' has these invalid characters: ' '. The name can only be a letter, digit, '-', '.', '(', ')' or '_'.

This name is auto generated not a use input, not sure how to resolve this name issue or
if you can suggest another way of moving the virtual network?
my problem is I want to attach this virtual network to a VM but the required vm size is not available in Australia Southeast region and hence the need for this resource move for virtual network.

thanks,
umix

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,311 questions
Azure Resource Mover
Azure Resource Mover
An Azure service used for moving multiple resources between Azure regions.
224 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Devaraj G 2,091 Reputation points
    2022-04-15T04:01:32.273+00:00

    Hi,
    Is the movement of vNet is really a requirement for VM creation ?. how about you creating a new vNet in different region and connect your respective VMs. if that allows your requirement.

    Because moving Network resource needs to be planned well, since there will be dependencies associated within the vNet.

    Coming to your issue:

    Its failing due to space issue in resource group name. I understand its auto generated but the failure is due to space in between resource group name.
    In fact I tried moving one of the vnet in my lab and am also encountering same issue. I would recommend to raise a case with MS support and see how you progress. I also notice there are few other ppls reported the similar issue
    193259-myts.png


  2. GitaraniSharma-MSFT 49,401 Reputation points Microsoft Employee
    2022-04-18T08:22:56.47+00:00

    Hello @Umix ,

    Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.

    I understand that you would like to move one of the virtual networks from Australia Southeast to Australia East however when you use the location -> move functionality, you get the following error with the auto generated resource group name: "The provided resource group name 'ResourceMoverRG-Australia Southeast-australiaeast-ae' has these invalid characters: ' '. The name can only be a letter, digit, '-', '.', '(', ')' or '_'.".

    When you move a resource using the location --> move option, it auto-generates a resource group name with space in it and hence it fails with the above error. I have tried this in my lab and received the same error.

    193824-image.png

    I will check with the backend team regarding this issue.

    In the meantime, you can fix this issue or get this resolved by using Azure resource mover tool. Please follow the below steps to move your Virtual network to a different region:

    • In the Azure portal, open the relevant resource group.
    • In the resource group page, select the resources that you want to move.
    • Select Move > Move to another region.

    193831-image.png

    • In Source + destination, select the target region to which you want to move the resources. Then select Next.

    193804-image.png

    • In Resources to move, under Select resources, select resource you want to move. You can only add resources supported for move. Then select Done.
      Then select Next.

    193738-image.png

    • In Review, check the source and target details. You will see that the auto-generated resource group name in this process will not have any spaces and is valid for move.
    • Confirm that you understand that metadata about the resources being moved will be stored in a resource group created for this purpose, and that you allow Resource Mover to create a system-managed identity to access the subscription resources.
    • Select Proceed to begin adding the resources.

    193796-move.png

    • The add resource operation starts. When the operation completes, the notifications show that resources were added, and deployment succeeded.
    • In the notifications, select Adding resources for move.
    • After selecting the notification, the resources you selected are added to a move collection in the Azure Resource Mover hub. Resource Mover helps you to check dependencies, and then start moving resources to the target region.

    193776-image.png

    To resolve dependencies & further steps, please follow the below article:
    https://learn.microsoft.com/bs-latn-ba/azure/resource-mover/move-region-within-resource-group

    Please refer the below doc for common questions about Azure Resource Mover (if any):
    https://learn.microsoft.com/bs-latn-ba/azure/resource-mover/common-questions

    Kindly let us know if the above helped or you need further assistance on this issue.

    ----------------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments