How to move Azure SQL from one resource group to other in the same Subscription ?

HimanshuSinha-msft 19,527 Reputation points Microsoft Employee Moderator
2025-10-22T20:48:38.9833333+00:00

How to move Azure SQL from one resource group to other in the same Subscription

Azure SQL Database
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Alberto Morillo 35,326 Reputation points MVP Volunteer Moderator
    2025-10-22T23:45:55.2766667+00:00

    Please follow the steps outlined in this Microsoft documentation to move the database to another resource group. Please note that It is not possible to move individual databases across resource groups, the entire Azure SQL logical server needs to be moved.

    If you want, you can consider create a new Azure SQL logical server on the resource group and export the database as bacpac from the current logical server to the new logical server.

    0 comments No comments

  2. Erland Sommarskog 127.4K Reputation points MVP Volunteer Moderator
    2025-10-23T21:14:39.58+00:00

    If you want, you can consider create a new Azure SQL logical server on the resource group and export the database as bacpac from the current logical server to the new logical server.

    It should be possible to move the database with CREATE DATABASE AS COPY OF, I think. That command even permits you to move databases between tenants. See further https://techcommunity.microsoft.com/blog/azuredbsupport/how-to-copy-azure-sql-database-to-a-different-subscription-and-different-tenant/3965985


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.