I've been combing through the Powershell commands trying to figure out how to take my currently deployed Website/SQL Database/Storage account and move them into their own Resource Group.
Is it possible to move Azure "Resources" between Resource Groups? Or do I always have to create new Resources and migrate the data/code into those new Resources?
Go to the Resource groups blade in the Azure portal and then navigate to the particular resource group. Step 2 — Click on Move button and then select Move to another subscription option. Step 3 — Next in the resources to move screen, review the resources that are to be moved over which are all automatically selected.
You can move Azure resources to either another Azure subscription or another resource group under the same subscription. You can use the Azure portal, Azure PowerShell, Azure CLI, or the REST API to move resources. To learn more, see Move resources to a new resource group or subscription.
It is now possible to do what you want in PowerShell, I believe. This blog post provides an overview of how to do it: http://blog.kloud.com.au/2015/03/24/moving-resources-between-azure-resource-groups/
The features are available as of Azure PowerShell cmdlets v0.8.15.1, I believe.
Right now Azure Resource Manager doesn't support moving resources from one group to another. There is also no storage support yet for Azure Resource Manager.
Migration is an important scenario and we're working on to get the experience better.
Guang Yang | PM | Azure
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With