Formerly known as Azure AI Services or Azure Cognitive Services is a unified collection of prebuilt AI capabilities within the Microsoft Foundry platform
Hi NAVNEET AGARWAL,
This usually happens with student subscriptions or due to some Azure limitations, so don’t worry you are on the right track.
Let me add one more important step clearly on how to check allowed regions using Azure CLI, since this is the most common reason for this issue.
First log in to Azure CLI
az login
After login, run this command to list all regions available for your subscription
az account list-locations --query "[].{Region:name}" --output table
This command will show you all regions that your subscription is allowed to use.
Important point Only use one of these regions when creating your resource group. If you try a region that is not in this list, the creation will fail.
Once you get the region, you can create the resource group like this
az group create --name myResourceGroup --location <region-name>
Example
az group create --name ai-rg --location westus2
Now combining everything, here is what you should check:
Check allowed regions using the CLI command above Create resource group only in those regions Make sure your subscription is active. Make sure you have Contributor or Owner access. Try another region from the allowed list if one fails. Check if any policy or limits are blocking creation. [azurelessons.com]
For reference, you can also follow the official steps here [learn.microsoft.com]
If still not working, try the CLI method once because it shows a clear error message which helps to identify the exact issue. [learn.microsoft.com]
If you can share the exact error message you are getting, I can help. Do let me know if you have any further queries.If this answers your query, please do click Accept Answer and Yes for was this answer helpful.
Thankyou!