Share via

Can't use Azure machine Learning

Priyansh Sharma 20 Reputation points
2026-03-28T20:17:52.4266667+00:00

I am trying to use azure machine learning resource via my student free account. but it keeps denying my create workspace and resource request as it is disallowed by azure. Suggest possible solutions

Azure Machine Learning
0 comments No comments

Answer accepted by question author
  1. SRILAKSHMI C 16,975 Reputation points Microsoft External Staff Moderator
    2026-03-30T10:20:54.3966667+00:00

    Hello Priyansh Sharma,

    Welcome to Microsoft Q&A and Thanks for reaching out,

    Azure Machine Learning does work on Azure for Students, but your subscription is governed by an “Allowed locations / best available regions” policy.

    Because of this policy:

    • Only specific regions are permitted
    • Any attempt to create resources outside those regions is blocked
    • This results in the error: RequestDisallowedByPolicy

    Please refer this: https://dotnet.territoriali.olinfo.it/en-us/azure/azure-resource-manager/troubleshooting/error-policy-requestdisallowedbypolicy

    How to identify allowed regions

    You can check which regions are allowed in your subscription:

    1: Azure Portal

    1. Go to Azure Portal → Azure Policy
    2. Select Assignments
    3. Look for policies like:
      • Allowed locations
      • Deny-Region / best-available regions
    4. Open the policy and check Parameters
    5. You’ll see a list of permitted regions

    2: Azure CLI

    Run the following command:

    az policy assignment list --query "[].{name:name,displayName:displayName,params:parameters}" -o table
    
    • Look for entries containing locations
    • Note the allowed region codes

    What to do next

    Create your Azure Machine Learning workspace in one of the allowed regions

    Common allowed regions (may vary per user):

    • East US
    • West Europe
    • Central India

    Important clarifications

    • This is not a bug
    • This is not a quota issue
    • This is not due to missing permissions
    • It is purely a subscription-level policy restriction

    If you still face issues:

    1. Upgrade subscription

    • Move to Pay-As-You-Go
    • Removes most policy restrictions

    2. Use Azure ML Studio

    https://ml.azure.com

    • No manual workspace creation required
    • Suitable for learning and small workloads

    Azure ML is supported, but region-restricted in student subscriptions

    Your error is caused by Azure Policy (Allowed locations)

    Fix - Deploy in an allowed region or upgrade subscription.

    I Hope this helps. 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.

    Thank you!


1 additional answer

Sort by: Most helpful
  1. Q&A Assist
    2026-03-28T20:18:06.21+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Azure Machine Learning workspaces can be blocked from being created for two common reasons in student/free subscriptions:

    1. Required resource providers are not registered for the subscription.
    2. The subscription type or policy explicitly disallows the service or region.

    From the available information, the only concrete, supported remediation is to ensure all required resource providers are registered for the subscription that will host the workspace and its dependent resources.

    Required resource providers for a basic Azure Machine Learning workspace:

    • Microsoft.MachineLearningServices – workspace itself
    • Microsoft.Storage – default storage account
    • Microsoft.ContainerRegistry – image build and storage
    • Microsoft.KeyVault – secret storage
    • Microsoft.Notebooks – integrated notebooks on compute instances
    • Microsoft.ContainerService – if deploying to AKS

    Additional providers needed for specific features:

    • For customer-managed keys:
      • Microsoft.DocumentDB – Cosmos DB for metadata
      • Microsoft.Search – indexing
    • For managed virtual network:
      • Microsoft.Network – private endpoints

    If any of these are not registered, workspace creation can fail with errors such as:

    • “No registered resource provider found for location {location}”
    • “The subscription is not registered to use namespace {resource-provider-namespace}”

    Actionable steps:

    1. Verify and register resource providers in the subscription that will host the workspace and any existing dependent resources (Storage, Key Vault, ACR, etc.). Follow the guidance in “Resolve errors for resource provider registration” referenced in the documentation.
    2. If using resources from a different subscription during workspace creation (for example, a storage account in another subscription), ensure the Microsoft.MachineLearningServices namespace is also registered in that other subscription.
    3. If, after all required providers are registered, workspace creation is still denied, the remaining cause is subscription-level restriction (offer type or policy). In that case, the only supported path is to contact Azure support from the Azure portal and ask whether Azure Machine Learning is allowed for the specific student/free subscription and region.

    References:

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.