How to create an Azure Resource Group

A resource group is a collection of related resources that are used in an Azure solution. You can logically group resources like storage accounts, automation accounts etc. that are used to build an Azure solution.

Prerequisites:

GUI >>

Machine generated alternative text:
Create a resource 
Home 
Dashboard 
All services 
* FAVORITES 
All resources 
t) Resource groups 
Resource groups 
spchampl 
-k Create Manage view v 
Resource groups 
+ Create View 
Refresh 
Export to CSV 
Location 
= all 
e Assign tags 
Open query 
X Add filter 
Subscription 
C) Feedback 
No grouping 
List 'v 
Location

Machine generated alternative text:
Resource groups 
spchampl 
-k Create Manage view v 
Refresh 
Export to CSV 
Location 
= all 
e Assign tags 
Open query 
X Add filter 
Filter for any field... 
Showing 1 to 2 of 2 records. 
Subscription 
= all 
C) Feedback 
No grouping 
List

  • Fill in the required details:
    • Subscription: Select the Azure subscription.
    • Resource group: Enter a resource group name.
      • Note: Resource group names only allow alphanumeric characters, periods, underscores, hyphens and parenthesis and cannot end in a period.
    • Region: Select a location where you want to create the resource group
  • Click “Review + Create”
  • Note: Make sure that you are confident about all the settings of this resource group before creating and adding resources, as deleting a resource group is irreversible. This action can’t be undone and will delete all the resources in it permanently.
  • Click Create. Machine generated alternative text:
Validation passed. 
Basics 
Basics 
Tags 
Subscription 
Resource group 
Region 
Tags 
None 
Create 
Review + create 
< Previous 
Visual Studio Enterprise Subscription 
test-RG 
East US 
- MPN 
Next > 
Download a template for automation
  • The resource group will be created in a few seconds.

PowerShell >>

Create an Azure Resource Groups using PowerShell:

Connect-AzAccount -Credential $credentials -Subscription 'Subscription Name'
New-AzResourceGroup -Name "resource_group_name" -Location "Location"