Exercise - Move and verify resources between Azure resource groups

Completed

You identified the development resources that are in the production resource group, and you checked that they can move successfully. Now, you want to move your development resources from the production resource group into the dedicated development resource group. You can use the Azure portal to do so.

Create a resource group for development resources

First you create the development resource group where you want to move your resources.

  1. Return to the Azure portal.

  2. On the home page, select Create a resource. Search for and select Resource group. The Resource group pane appears.

  3. Select Create. The Create a resource group pane appears.

  4. On the Basics tab, enter the following values for each setting.

    Setting Value
    Project details
    Subscription From the dropdown list, select your account's subscription
    Resource group Enter devgroup
    Resource details
    Region Accept the default value
  5. Select Next : Tags.

  6. On the Tags tab, enter the following values for each setting.

    Setting Value
    Name environment
    Value development
  7. Select Review + create. After validation passes, select Create.

    Screenshot that shows how to assign a tag when you create a resource group.

Move development resources to the new group

Now that a devgroup resource group is created, you can move your development resources into it.

  1. At the top of the Azure portal, search for and select Tags. The Tags pane appears.

  2. Select the environment:development tag.

  3. Select the storage account that you want to move. The storage account pane appears.

  4. On the top menu bar, select Move > Move to another resource group.

    Screenshot that shows the move resource to another resource group option.

    The Move resources pane appears.

  5. On the Source + target tab, under Target, for the Resource group, from the dropdown list, select devgroup.

  6. Select Next. On the Resources to move tab, the resources are validated as to whether they can be moved. The validation might take a few minutes.

  7. After validation succeeds, select Next.

  8. On the Review tab, check the disclaimer box, and then select Move.

    The move might take a few minutes. Wait for the "Moving resources complete" notification that confirms your resource is scucessfuly moved. The notification appears in the top-right hand section of the portal.

  9. Repeat this process again to move the other storage account.

To confirm that your move operations are successful:

  1. On the Azure portal home page, under Azure services, select Resource groups. The Resource groups pane appears.

  2. Select devgroup. The devgroup Resource group pane appears.

    Notice that the development resources are now moved to the devgroup resource group.

    Screenshot that shows resources moved.

In a real environment, you'd now update the resource IDs in any tools and scripts that reference your resources.