Hello Arun Bhat
Thank you for posting your query on Microsoft Q&A platform.
Azure does not provide a single-click option to clone an entire Resource Group or Subscription. Your approach depends on whether you want to move existing resources or create a duplicate copy:
Option 1: Move resources (same region, same tenant)
If you only need to change the resource group or subscription without changing region:
- Use Azure Resource Manager Move feature.
- Supported resources can be moved via Portal, CLI, or PowerShell.
- Both subscriptions must be in the same Microsoft Entra tenant.
- Some resources (e.g., certain Public IP SKUs, VPN Gateways) have limitations.
References:
- https://dori-uw-1.kuma-moon.com/azure/azure-resource-manager/management/move-resource-group-and-subscription
- https://dori-uw-1.kuma-moon.com/azure/azure-resource-manager/management/move-support-resources
Option 2: Change region
If you need to move resources to a different region, use Azure Resource Mover:
- Handles dependencies and validates before move.
- Public IPs and some resources are recreated in the target region.
- If you also need a new subscription, do region move first, then subscription move.
Reference:
Option 3: Create a copy (clone)
If you want a duplicate environment:
- Export the Resource Group template from the Azure Portal or CLI.
- Convert to Bicep or use the ARM template for redeployment.
- Deploy to the new Resource Group/Subscription using
az deploymentor PowerShell. - Copy data separately:
- Use AzCopy for Storage accounts.
- Use Azure Backup or Disk snapshots for VMs.
- Use Database Migration Service for databases.
References:
- https://dori-uw-1.kuma-moon.com/azure/azure-resource-manager/templates/export-template-portal
- https://dori-uw-1.kuma-moon.com/azure/azure-resource-manager/templates/deploy-portal
- https://dori-uw-1.kuma-moon.com/azure/azure-resource-manager/bicep/overview
- https://dori-uw-1.kuma-moon.com/azure/storage/common/storage-use-azcopy-v10
- https://dori-uw-1.kuma-moon.com/azure/backup/backup-azure-restore-vms
- Cross-tenant moves are not supported, you must redeploy.
- During ARM Move, source and target Resource Groups are locked until completion.
- Validate dependencies before move or redeployment.
Thanks,
Suchitra.