How To Get Resource Group Name In Azure

There are different approaches to get Resource Group name in Azure. This article will walk you through all those approaches to achieve this.

How To Get Resource Group Name In Azure

Let us discuss all the approaches individually.

Approach-1: Using Azure Portal

How to get Resource Group name in Azure, follow the below steps.

1. Log in to Azure Portal.

2. Search for Resource Groups and click on the search result Resource Groups under the services.

Get Resource Group Name In Azure

3. Now, we can see the names of all the Resource Groups, as shown in the screenshot below.

How To Get Resource Group Name In Azure

Approach-2: Using PowerShell

We can execute the Get-AzResourceGroup Azure PowerShell command below to get the Resource Group name in Azure.

Get-AzResourceGroup

After executing the above command, I got the list of Resource Group names, as shown in the screenshot below.

how to find resource group name in azure

Approach-3: Using Azure CLI

Similarly, we can use the az group list Azure CLI command below for this purpose.

az group list --output table

After executing the above command, I got the expected output, as shown in the screenshot below.

resource group name in azure

Conclusion

As mentioned in this article, it is so easy to get a Resource Group Name in Azure Portal, PowerShell, and Azure CLI.

You may also like following the articles below.

Azure Virtual Machine

DOWNLOAD FREE AZURE VIRTUAL MACHINE PDF

Download our free 25+ page Azure Virtual Machine guide and master cloud deployment today!