Validation error at speech resource creation

Tufail, Rashmil 0 Reputation points
2025-12-12T17:03:14.3533333+00:00

Hello,

I have a student subscription.

I try to set up a 'speech resource' (to eventually generate and download short audio files through text-to-speech service). However, when trying to create this resource, I am getting a 'failed validation error' (see below) despite inputting correct information.

My understanding is that student subsciption does cover this service and cannot pinpoint the source of the error.

error message (assume 'XXX' is the name I gave for resource (using accepted characters):

Resource 'XXX' was disallowed by Azure: This policy maintains a set of best available regions where your subscription can deploy resources. The objective of this policy is to ensure that your subscription has full access to Azure services with optimal performance. Should you need additional or different regions, contact support.. (Code: RequestDisallowedByAzure, Target: XXX)

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Q&A Assist
    2025-12-12T17:03:27.53+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The error message you are encountering indicates that your attempt to create a speech resource is being blocked by an Azure policy that restricts the regions where resources can be deployed. This is often due to the specific subscription type you are using, in this case, a student subscription, which may have limitations on the regions available for resource deployment.

    To resolve this issue, you can take the following steps:

    1. Check Available Regions: Verify which regions are available for your student subscription. You can do this by checking the Azure portal or the documentation related to your subscription type.
    2. Contact Support: If you need to deploy resources in a different region that is currently disallowed, you should contact Azure support for assistance. They may be able to provide you with options or modify the policy for your subscription.
    3. Use Allowed Regions: If possible, try to create the speech resource in one of the regions that are allowed under your subscription policy.

    By following these steps, you should be able to address the validation error and successfully create your speech resource.


    References:


  2. Sridhar M 2,995 Reputation points Microsoft External Staff Moderator
    2025-12-12T17:29:24.3133333+00:00

    Hi Tufail, Rashmil

    Welcome to Microsoft Q&A and Thank you for reaching out.

    The error RequestDisallowedByAzure occurs because your subscription has an Azure Policy that restricts resource creation to specific regions. This is common for Azure for Students, Sponsorship, and similar offers. The Speech resource cannot be deployed in the region you selected because it is outside the allowed list.

    Resolution Steps

    1. Check Allowed Regions

    • Navigate to Azure Portal → Subscriptions → Your Subscription → Policies.
    • Look for a policy named Allowed Locations.
    • This policy lists the regions where you can create resources.

    2. Select a Supported Region

    3. If Required Region Is Not Allowed

    • You cannot override this policy yourself.
    • Raise a Support Request:
      • Go to Help + Support → New Support Request.

    Issue type: Quota or Subscription Issue.

    • Request: Enable additional regions for Cognitive Services.

    4. Validate via CLI

    Run this command to see allowed regions for your subscription:

    Shell
    az account list-locations --query "[].{Region:name}" -o table
    

    Compare with Speech-supported regions.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!

    0 comments No comments

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.