ERROR: deployment failed: error deploying infrastructure: deploying to subscription:

Naveen Shrivastava 0 Reputation points
2025-02-20T11:05:35.04+00:00

Deployment Error Details:

InvalidTemplateDeployment: The template deployment 'search-service' is not valid according to the validation procedure. The tracking id is 'c6d5aea5-9b24-4eef-9db2-f729667671f1'. See inner errors for details.

ServiceQuotaExceeded: Operation would exceed 'standard2' tier service quota. You are using 8 out of 8 'standard2' tier service quota. If you need more quota, please submit a quota increase request with issue type 'Service and subscription limits (quota)' and quota type 'Search' following https://aka.ms/AddQuotaSubscription.

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,231 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Divyesh Govaerdhanan 2,010 Reputation points
    2025-02-20T16:34:32.97+00:00

    Hello,

    Welcome to Microsoft Q&A,

    The error indicates that the subscription has reached the maximum quota limit in Azure Search Service. You currently have 8 out of 8 allowed instances of this tier in your Azure subscription. This means your deployment is failing because there are no available slots for additional services of this type.

    https://learn.microsoft.com/en-us/azure/search/search-create-service-portal#add-more-services-to-a-subscription

    1. Sign in to the Azure portal, search for "quotas" in your dashboard, and then select the Quotas service. Screenshot of the quota search term and Quotas service in the results.
    2. In the Quota's Overview page, select Search. Screenshot of the search tile in the Quota's overview page.
    3. Set filters so that you can review existing quota for search services in the current subscription. We recommend filtering by usage.
    4. Find the region and tier that needs more quota and select the Edit pencil icon to begin your request. Screenshot of the My Quotas page with a region at maximum quota.
    5. In Quota details, specify the location, tier, and a new limit for your subscription quota. None of the values can be empty. The new limit must be greater than the current limit. If regional capacity is constrained, your request won't be automatically approved. In this scenario, an incident report is generated on your behalf for investigation and resolution.
    6. Submit the request.
    7. Monitor notifications in the Azure portal for status updates on the new limit. Most requests are approved within 24 hours.

    If you don't want to wait for a quota increase, consider reducing existing Search Service instances:

    1. Go to Azure Portal → Cognitive Search Service.
    2. Identify any unused or underutilized instances.
    3. Delete or downgrade existing Standard2-tier instances.
    4. Retry your template deployment.

    Please Upvote and accept the answer if it helps!


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.