Share via

Unable to move sql database to a different resource group

Ryan Brown 20 Reputation points
2026-04-13T17:40:52.3233333+00:00
  1. I go to the db in Azure
  2. I click "move" on the resource group
  3. Step 1 Source + Target appears and I choose a different resource group
  4. I click Next and I immediately get a screen that some resources can't be moved and under Errors it reads "No errors to view."

User's image

Azure SQL Database
0 comments No comments

Answer accepted by question author

  1. Jose Benjamin Solis Nolasco 8,076 Reputation points Volunteer Moderator
    2026-04-13T17:58:59.1866667+00:00

    Hello Ryan Brown,

    What is actually happening under the hood is related to the architecture of Azure SQL. A database is a child resource that is permanently tethered to its parent Logical SQL Server. You cannot sever that tie by moving just the database to a new resource group. As you can see in the blue informational banner in your screenshot, Azure realized this and automatically pulled the parent server into the move batch.

    The invisible error you are hitting is actually failing on the parent server, not the database. Usually, this happens because the parent server has a resource lock applied to it, it has a Private Endpoint network connection that blocks movement, or your account doesn't have the explicit administrative permissions to move the parent server itself.

    To find out exactly what the true error is, you need to bypass the broken wizard. If you go to your current Resource Group and open the Activity Log, you will see a failed event called "Validate Move Resources". If you click on that event and view the raw JSON, it will tell you exactly which lock or setting is blocking the server from moving.

    Follow this checklist before moving a resource https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/move-resource-group-and-subscription?tabs=azure-cli#checklist-before-moving-resources

    Just a quick heads-up: if your ultimate goal was to leave the server where it is and only move the database to a different group, that isn't possible using the Move command. You would actually need to spin up a new server in the target group and do a standard database copy.

    Let me know if you are able to find that failed event in the Activity Log!

    😊 If my answer helped you resolve your issue, please consider marking it as the correct answer. This helps others in the community find solutions more easily. Thanks!

    Was this answer helpful?


2 additional answers

Sort by: Most helpful
  1. Manoj Kumar Boyini 14,015 Reputation points Microsoft External Staff Moderator
    2026-04-13T19:51:30.3533333+00:00

    Hi @Ryan Brown

    An Azure SQL Database cannot be moved independently because it is a child resource of the logical SQL Server. Both the database and its server must remain in the same resource group.

    When you try to move only the database, Azure validates dependencies. Since the parent SQL Server is not included, the validation fails.

    To move the database, you need to move the SQL Server resource instead:

    1. Go to the SQL Server (not the database)
    2. Select Move → Move to another resource group
    3. Choose the target resource group and proceed

    This will automatically move:

    • All databases under that server
    • Related resources (such as firewall rules and elastic pools)

    If your goal is to move only a single database, this is not supported via resource move. Instead, you can:

    • Copy the database to a new server in the target resource group
    • Use export/import (BACPAC) if needed

    Azure SQL Databases cannot be moved individually. You must move the parent SQL Server, or use a copy‑based approach if only one database needs to be moved.

    If moving the server also fails, please check Activity Log for ‘Validate Move Resources’ failures these usually indicate locks, private endpoints, or permission issues.

    Please let us know if you have any further questions.

    Was this answer helpful?

    0 comments No comments

  2. Andreas Baumgarten 131.8K Reputation points MVP Volunteer Moderator
    2026-04-13T17:53:01.32+00:00

    Hi @Ryan Brown ,

    maybe this tutorial is helpful: Move Azure SQL Database resources to another region


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards

    Andreas Baumgarten

    Was this answer helpful?

    0 comments No comments

Your answer

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