Not Create Azure AI services

Darwin Wiers 20 Reputation points
2025-01-08T11:49:59.4233333+00:00

sanbox

I can't create Azure AI services in the Sanbox environment. An error occurred when I sent the attached image. Please help me

Thank you!

Azure | Azure Training
{count} votes

Accepted answer
  1. Vidya Viraktamath 550 Reputation points Microsoft Employee
    2025-01-08T19:23:54.7+00:00

    Thanks for posting your question in the Microsoft Q&A forum.

    It looks like you're encountering a policy restriction error when trying to create Azure AI services in the sandbox environment. The error message indicates that the action is disallowed by a policy named Policy Allow resource types with the code RequestDisallowedByPolicy.

    Steps to Resolve the Issue:

    Check Policy Assignments:

    Navigate to the Azure portal and go to the Policy section.

    Review the policy assignments for the subscription or resource group where you're trying to create the Azure AI services.

    Look for the policy named Policy Allow resource types or any other policies that might restrict the creation of certain resources.

    Modify or Exempt the Policy:

    If you have the necessary permissions, you can modify the policy to allow the creation of Azure AI services.

    Alternatively, you can create an exemption for the specific resource type you need.

    Contact Administrator:

    If you don't have the permissions to modify policies, contact your Azure administrator or the person responsible for managing policies in your organization. They can review and adjust the policies as needed.

    Use a Different Environment:

    If the sandbox environment has strict policies that cannot be changed, consider using a different subscription or resource group where such restrictions are not in place.

    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful


1 additional answer

Sort by: Most helpful
  1. Vidya Viraktamath 550 Reputation points Microsoft Employee
    2025-01-08T19:22:16.0933333+00:00

    Thanks for posting your question in the Microsoft Q&A forum.

    It looks like you're encountering a policy restriction error when trying to create Azure AI services in the sandbox environment. The error message indicates that the action is disallowed by a policy named Policy Allow resource types with the code RequestDisallowedByPolicy.

    Steps to Resolve the Issue:

    1. Check Policy Assignments:
      • Navigate to the Azure portal and go to the Policy section.
      • Review the policy assignments for the subscription or resource group where you're trying to create the Azure AI services.
      • Look for the policy/initiative named Policy Allow resource types or any other policies that might restrict the creation of certain resources.
    2. Modify or Exempt the Policy:
      • If you have the necessary permissions, you can modify the policy to allow the creation of Azure AI services.
      • Alternatively, you can create an exemption for the specific resource type you need.
    3. Contact Administrator:
      • If you don't have the permissions to modify policies, contact your Azure administrator or the person responsible for managing policies in your organization. They can review and adjust the policies as needed.
    4. Use a Different Environment:
      • If the sandbox environment has strict policies that cannot be changed, consider using a different subscription or resource group where such restrictions are not in place.

    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is 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.