Azure Rename Resource Group

Azure Rename Resource Group

Are you wondering how to rename a Resource Group in Azure? I’m sorry to say that there is no way to rename a Resource Group in Azure.

Azure Rename Resource Group

To achieve this, you can create a new Resource Group with the new name you want to rename and then move all your Azure resources from the old Resource Group to the new Resource Group. Once you cross-check and ensure that all the Azure Resources have been moved successfully to the new Resource Group, delete the old Resource Group.

Follow the steps below to move all the resources from the old Resource Group to a new Resource Group using the Azure Portal.

  1. Log in to the Azure Portal.
  2. Search for Resource Groups and click on the search result Resource Groups.
rename resource group azure

3. you can now see the list of resource groups you created.

4. Click on the source or the old Resource Group. In my case, My old Resource Group was DEMORG1, which I want to rename it. Since renaming the Resource Group is impossible, I have created a new Resource Group DEMORG1. So here, I intend to move all the Azure resources from the DEMORG1 Resource Group to the DEMORG2 Resource Group.

So, Let me click on the source or the old Resource Group DEMORG1 from the lists of Resource Groups. Once you click on a Resource Group, you can see the Azure Resources it belongs to. Select all the Azure Resources by selecting the Name check box.

rename azure resource group

5. After selecting all the Azure resources, click on the More option, select Move, and then choose Move to another resource group.

how to rename resource group in azure

6. Select the Target Resource Group on the Move Resources window. In my case, the target Resource Group is DEMORG2 –> Click on the Next button.

azure resource group rename

7. It takes a few seconds to check whether the resources can be moved.

8. Now click on the Next button on the Resources tab to move the tab.

how to rename a resource group in azure

9. Cross-check if the Source and target Resource Groups are correct on the Review tab. Select the check box “I understand that tools and scripts associated with moved resources will not work until I update them to use new resource IDs”. –> Finally, click on the Move button to move the resources from the source Resource Groups to the target Resource Groups.

rename a resource group azure

10. You can see below that the Azure resource successfully moved from the source Resource Group (DEMORG1) to the target Resource Group (DEMORG2).

can you rename a resource group in azure

11. As a next step, you can navigate to the Source or the old Resource Group and click on the Delete Resource Group button to delete it. There is no point in keeping the old Resource Group, so you can delete the Source Resource Group as a clean-up activity.

azure can you rename a resource group

You may also like following the articles below

Wrapping Up

There is no provision to rename a Resource Group in Azure. However, you can create a new Resource Group and move all your Azure Resources from the old Resource Group to the new Resource Group in Azure Portal using the above instructions.