Azure Rename Resource Group

Azure Rename Resource Group

Are you wondering how to rename a Resource Group in Azure?, Sorry to say that there is no way to rename a Resource Group in Azure.

Azure Rename Resource Group

To achieve this, what you can do is, 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 make sure that all the Azure Resources have been moved successfully to the new Resource Group, then delete the old Resource Group.

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

  1. Login to the Azure Portal.
  2. Search for Resource Groups and click on the search result Resource Groups.
Rename Resource Groups in Azure

3. Now you can able to see the Lists of Resource groups that you have created before.

4. Click on the source or the old Resource Group. In my case, My old Resource Group was DEMORG1 which I actually want to rename it. Since the rename of the Resource Group is not possible So I have created a new Resource Group DEMORG1. So here my intention is 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 will click on the Resource Group, you can able to see the Azure Resources that the Resource Group belongs to. Select all the Azure Resources by selecting the Name check box.

rename resource group azure

5. After selecting all the Azure resources –> Click on the More option –> Select Move option –> Then choose Move to another resource group option.

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.

rename resource group in azure

7. Now, it takes a few seconds to check if the resources can be moved or not.

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

azure how to rename resource group

9. On the Review tab, Cross check the if the Source and target Resource Groups are correct. Now 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 resource group

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

rename resource group in azure portal

11. Now 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 the Resource Group. There is no point of keeping the old Resource Group. So, as a clean-up activity, you can delete the Source Resource Group.

How to rename resource group azure

You may also like following the below articles

Wrapping Up

So, there is no provision to rename Resource Group in Azure. As an alternative, you can create a new Azure Resource Group and move all your Azure Resources from the old Resource Group to the new Resource Group in Azure Portal using the above instruction mentioned in this article.