An Azure NoSQL database service for app development.
Hi himanshu saini,
I understand how confusing this can be, especially when you still have credits available but resource creation is blocked.
With an Azure for Students subscription, you can create services like Azure Cosmos DB and Azure Functions, but there are a few important limitations that commonly cause the “not allowed by Azure” error you’re seeing:
- Region restrictions (most common cause) Azure for Students subscriptions are restricted to a limited set of allowed regions, enforced through Azure Policy. If you try to deploy resources outside these regions, the deployment fails even if credits are available. You can check your allowed regions in the Azure portal under: Azure Policy → Authoring → Assignments → Allowed resource deployment regions. Only deploy Cosmos DB or Function Apps in the regions listed there.
- Cosmos DB Free Tier limit Each subscription can have only one Azure Cosmos DB Free Tier account. If a free‑tier Cosmos account already exists (even in another resource group), creating another Cosmos DB account will be blocked unless you upgrade to Pay‑As‑You‑Go. Free Tier details are documented here: https://learn.microsoft.com/azure/cosmos-db/free-tier
- Azure Functions plan selection Azure Functions are supported in Azure for Students subscriptions, but you must select the Consumption (serverless) plan. Creation will fail if you choose Premium or Dedicated (App Service) plans. See: https://learn.microsoft.com/azure/azure-functions/functions-create-first-azure-function
- Resource provider registration Make sure these resource providers are registered in your subscription:
-
Microsoft.DocumentDB(Cosmos DB) -
Microsoft.Web(Function Apps)
You can verify this under Subscriptions → Resource providers in the Azure portal.
You can create Cosmos DB and Function Apps in an Azure for Students subscription, as long as you:
- Deploy only to allowed regions
- Use Cosmos DB Free Tier (one per subscription)
- Choose Azure Functions – Consumption plan
If you need multiple Cosmos DB accounts, paid SKUs, or unrestricted regions, upgrading to Pay‑As‑You‑Go is required.
Microsoft documentation Links:
https://azure.microsoft.com/free/students
https://learn.microsoft.com/azure/cosmos-db/free-tier
https://learn.microsoft.com/azure/azure-functions/functions-create-first-azure-function
If you’re still blocked after checking the allowed regions, feel free to share the exact error message and the region you’re attempting to use, and I’ll be happy to help you narrow it down further.
Hope this helps. If you have any follow-up questions, please let me know. I would be happy to help.
Please do not forget to "Accept Answer" and "up-vote" wherever the information provided helps you, as this can be beneficial to other community members.