Now, let's assume you have a resource in one resource group and want to move it to another one. There are a few possible scenarios when you would do so:
- If you simply made a mistake and provisioned a resource in an invalid resource group
- If you found resources that have a different life cycle and want to differentiate between deployments
- If you are redesigning an application and want to separate resources related to different domains
- If you do not want to perform a redeployment to place resources in a different resource group
In Azure, this operation is really simple – all you need to do is gather the following parameters:
- Destination group: A place where resources should be moved to
- IDs of resources: The identifiers of the resources you want to move
For example, I want to move an Azure Logic App named azureadministrator-euw-logicapp to a resource group named azureadministratornew-euw-rg.
The following is the full command I used to...