Move Resource Group

Handian Sudianto 5,001 Reputation points
2024-04-03T01:05:18.57+00:00

Hello,

I want to move some VM and some other azure resources such as private endpoint, sql server to another resource group.

There will be downtime when we move the resources across resource group?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,968 questions
Azure Resource Mover
Azure Resource Mover
An Azure service used for moving multiple resources between Azure regions.
236 questions
{count} votes

Accepted answer
  1. kobulloc-MSFT 26,341 Reputation points Microsoft Employee
    2024-04-03T01:20:57.8+00:00

    Hello, @Handian Sudianto !

    Will there be downtime if I move my Azure VM and other resources to another resource group?

    The resources in your source group and the target group will be locked during the move operation, however it doesn't mean that the resources are frozen. Looking at an Azure SQL logical server as an example, the databases and other dependent resources will experience no downtime as the move only moves the resources to a new resource group or subscription and does not change the location of the resource:

    https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/move-resource-group-and-subscription

    Both the source group and the target group are locked during the move operation. Write and delete operations are blocked on the resource groups until the move completes. This lock means you can't add, update, or delete resources in the resource groups. It doesn't mean the resources are frozen. For example, if you move an Azure SQL logical server, its databases and other dependent resources to a new resource group or subscription, applications that use the databases experience no downtime. They can still read and write to the databases. The lock can last for a maximum of four hours, but most moves complete in much less time. If your move requires setting up new dependent resources, you'll experience an interruption in those services until they've been reconfigured. Moving a resource only moves it to a new resource group or subscription. It doesn't change the location of the resource.

    Still, it's always a good idea to do this during a low traffic time to ensure that you have some room to account for any oversights or unexpected challenges that may present themselves.

    Note that moving between resource groups is different than moving between regions (read more about moving resources across regions).

    Additional Reading:


    I hope this has been helpful! Your feedback is important so please take a moment to accept answers.

    If you still have questions, please let us know what is needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!

    User's image

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.