In this Azure CLI article, we will discuss the syntax and usage of the az group create command with examples of how to use the az group create command.
Az group create
This command can help you to create a brand new resource group.
Syntax of az group create command
Below is the syntax of the az group create Azure CLI command.
az group create --location
-- Resource Group nameLet’s discuss a few examples of how to use the az group create command.
Az group create Examples
The below command will create a new Resource Group named Apple in the East US region.
az group create -l eastus -n AppleAfter executing the above command, I got the output as expected.
PS /home/bijay> az group create -l eastus -n Apple {
"id": "/subscriptions/1cdf4300-dee5-4518-9c9c-feaa72a5cbd1/resourceGroups/Apple",
"location": "eastus",
"managedBy": null,
"name": "Apple",
"properties": {
"provisioningState": "Succeeded"
},
"tags": null,
"type": "Microsoft.Resources/resourceGroups"
}You can see the same output in the screenshot below, where the Resource Group has been created successfully.

You can use the Az group delete command to delete an Azure Resource Group quickly.
You may also like following the articles below
Conclusion
This Azure CLI article discussed the syntax and usage of the az group create command. Thanks for reading this article !!!

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.
