An Azure personalized recommendation engine that helps users follow best practices to optimize Azure deployments.
Hi David
Make sure that the subscription you are using has the necessary permissions to create resource groups.
Please follow the below steps to create a resource group using PowerShell
1)Login to Azure PowerShell
Connect-AzAccount
2)Get all subscriptions
Get-AzSubscription
3)Set your subscription
Set-AzContext -SubscriptionId xxxxxxx
4)Try creating the resource group again
New-AzResourceGroup -Name AzureRG -Location WestUS
I tested this in my test environment, and it worked. Below is the output screenshot.
Please refer the below documents
Let us know if you have any further queries. I’m happy to assist you further.
Provide your valuable Comments.
Please do not forget to "Accept the answer” and “upvote it” wherever the information provided helps you, this can be beneficial to other community members.it would be greatly appreciated and helpful to others.