Azure Resource Manager - How can I change the Resource Group of a Resource?
Asked Answered
M

4

12

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?

Mulct answered 8/4, 2014 at 12:29 Comment(0)
A
4

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

Agronomy answered 21/4, 2014 at 16:59 Comment(2)
It seems that storage is now supported - may be you can update your answer?Ratal
You can move resources now (see my answer)Partain
P
12

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.

Plio answered 10/4, 2015 at 15:13 Comment(1)
If you struggle with PowerShell, you should try out this way: blog.paulbouwer.com/2015/05/27/moving-resources-with-armBeastly
A
4

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

Agronomy answered 21/4, 2014 at 16:59 Comment(2)
It seems that storage is now supported - may be you can update your answer?Ratal
You can move resources now (see my answer)Partain
P
3

You can move resources by:
- Navigating to the Resource Group you wish to move resources out of
- Click "Move" at the top
- Select the resources you want to move
- Select the new group to move them into

Partain answered 18/10, 2016 at 14:14 Comment(0)
I
0

You can move resources between resource groups using either the ARM REST Api or the Powershell Api

You can find more details here: https://azure.microsoft.com/en-us/documentation/articles/resource-group-move-resources/

Implausible answered 17/2, 2016 at 0:16 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.