Exercise: Build and deploy an Azure AI Document Intelligence custom skill is not working

Kaushal Gogula 0 Reputation points
2024-10-20T02:07:21.98+00:00

2

Deployment validation failed. Additional details from the underlying API that might be helpful: The template deployment 'Microsoft.Web-FunctionApp-Portal-********** is not valid according to the validation procedure. The tracking id is '249818e3-8c0e-48b3-be98-********'. See inner errors for details. this is the error that comes up when i'm trying to create a function. The exercise guide also does not talk about basic authentication, and while i'm just about to deploy, it says that since basic authentication has not been enabled, it could cause problems in deployment. I've tried with both enabling and disabling basic authentication, but to no success. I've attached the screenshots i felt which were relevant. I've also gone to see if all the instances for that region are used up by selecting the filter Provider: search. I see that for west US it is 1/1. I want to know why it's 1, how to know the details about that instance.

Azure AI Document Intelligence
Azure AI Document Intelligence
An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
1,710 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,896 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Vinodh247 23,111 Reputation points MVP
    2024-10-20T04:49:00.5233333+00:00

    Hi Kaushal Gogula,

    Thanks for reaching out to Microsoft Q&A.

    Looks like you are encountering a couple of issues:

    Quota Limitation in West US Region:

    • The error "This region has quota of 0 instances for your subscription" indicates that your current subscription has hit a quota limit for the West US region, or there is no capacity available for the instance you're trying to create. To resolve this, you can try the below:
    1. Check your quota limits by navigating to Azure Portal > Subscriptions > Select Subscription > Usage + Quotas.
    2. You can request a quota increase by submitting a support request for the required region.
    3. Alternatively, try deploying to another region that has sufficient capacity.
    4. Deployment Validation Failure:
      • The error message "The template deployment 'Microsoft.Web-FunctionApp-Portal' is not valid according to the validation procedure" points to an issue in the deployment template.

    Troubleshooting steps:

    • Verify the deployment template for any missing parameters or syntax errors.
    • Ensure that all required resources and configurations (like the storage account, application insights, etc.) for your function app are correctly set up.
    • If possible, try deploying via Azure CLI or ARM templates, as this often provides more detailed error logs.

    Basic Authentication:

    • You mentioned enabling/disabling basic authentication. While basic authentication is not typically required for function app deployment, it might be worth checking if any authentication settings in your template are misconfigured or not properly handled by the deployment guide you're following.

    Please feel free to click the 'Upvote' (Thumbs-up) button and 'Accept as Answer'. This helps the community by allowing others with similar queries to easily find the solution.

    0 comments No comments

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.