I am unable to create services like Azure AI Services and Azure Machine Learning using the Azure Sandbox subscription. I am getting "Disallowed by Policy" error.

Neha Thakur 20 Reputation points
2025-05-06T07:51:03.5066667+00:00

I am preparing for Azure certifications of AI-102 and DP-100. I am unable to create services like Azure AI Services and Azure Machine Learning using the Azure Sandbox subscription. I am getting "Disallowed by Policy" error. I am using the sandbox from this link: https://learn.microsoft.com/en-us/training/modules/describe-core-architectural-components-of-azure/4-exercise-explore-learn-sandbox

The sandbox is able to create a one hour subscription successfully for me which I am able to see in my Azure portal. However, I am unable to create resources like Azure AI Services and Azure Machine Learning. The Create Resource operation fails on the Validation page with "RequestDisallowedByPolicy" error.

User's image

This question is related to the following Learning Module

Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
2,432 questions
{count} votes

Accepted answer
  1. Abiola Akinbade 27,530 Reputation points Moderator
    2025-05-06T08:25:20.24+00:00

    Hello Neha Thakur,

    Thanks for your question

    Azure Sandbox is a temporary, locked-down environment. It does not allow the creation of certain resource types. This is expected behaviour

    If you really need those resources and want to test with them you can create a free trial You can create a free trial with $200 credit valid for 30 days: https://azure.microsoft.com/free

    You can mark it 'Accept Answer' and 'Upvote' if this helped you

    Regards,

    Abiola

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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