'Can't create resource group via Powershell

I am trying to create one resource group via PowerShell.

I am using below command to achieve that:

 New-AzResourceGroup -Name "RG01" -Location "Central US"

I am following this Microsoft document: https://docs.microsoft.com/en-us/powershell/module/az.resources/new-azresourcegroup?view=azps-7.5.0

I have Az module installed in my PowerShell. Still I'm getting below error:

enter image description here

What am I doing wrong? I am very new to Azure and PowerShell.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source