Share via

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

HimanshuSinha 19,637 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

Locked Question. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. Erland Sommarskog 134K 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

    Was this answer helpful?

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Alberto Morillo 35,506 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.

    Was this answer helpful?

    0 comments No comments