There are different approaches to get Resource Group name in Azure. This article will walk you through all those approaches to achieve this.
Table of Contents
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.

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

Approach-2: Using PowerShell
We can execute the Get-AzResourceGroup Azure PowerShell command below to get the Resource Group name in Azure.
Get-AzResourceGroupAfter executing the above command, I got the list of Resource Group names, as shown in the screenshot below.

Approach-3: Using Azure CLI
Similarly, we can use the az group list Azure CLI command below for this purpose.
az group list --output tableAfter executing the above command, I got the expected output, as shown in the screenshot below.

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.
- How To Add User To Azure Resource Group
- How To Remove Lock From Resource Group In Azure
- How To Give Access To Resource Group In Azure
- How to create a Resource Group in Azure

I am Rajkishore, and I am a Microsoft Certified IT Consultant. I have over 14 years of experience in Microsoft Azure and AWS, with good experience in Azure Functions, Storage, Virtual Machines, Logic Apps, PowerShell Commands, CLI Commands, Machine Learning, AI, Azure Cognitive Services, DevOps, etc. Not only that, I do have good real-time experience in designing and developing cloud-native data integrations on Azure or AWS, etc. I hope you will learn from these practical Azure tutorials. Read more.
