Error: Code=InvalidTemplateDeployment; Message=The template deployment is not valid according to the validation procedure.

FATOBA, KIMBERLY 45 Reputation points
2023-04-28T22:22:19.5033333+00:00

Try to deploy AKS and gets the below error message

Error: Code=InvalidTemplateDeployment; Message=The template deployment 'AKSDeployment' is not valid according to the validation procedure. The tracking id is '987f67e8-c8d2-4218-865c-4218e85fbdd8'. See inner errors for details

inner errors is not visible

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,652 questions
{count} votes

Accepted answer
  1. KarishmaTiwari-MSFT 16,482 Reputation points Microsoft Employee
    2023-04-29T02:26:03.83+00:00

    @FATOBA, KIMBERLY
    UPDATE 5/1/2023:

    Customer resolved this issue by following through with azure monitor logs. Reading the Json view, turned out that this was due to the AKS version not been available in the region of deployment.

    Customer proceeded with checking for the available version in said region and tried deploying again. This resolved the issue.

    4/28/2023:
    Thanks for posting your query on Microsoft Q&A.
    Can you please share the deployment template you are using or any documentation you are referencing to deploy AKS using template. This will help me reproduce the issue at my end.

    Also, are you seeing this error on Azure Portal? Check the activity log on Azure Portal, for any additional error messages or details about the failed deployment. This may provide additional insight into the specific cause of the issue. Open the JSON and you will see more details.

    This document covers the potential causes for deployment failure:
    https://learn.microsoft.com/en-us/azure/azure-resource-manager/troubleshooting/error-invalid-template?tabs=bicep
    Please go through each and check your template for any syntax errors, correct naming conventions, etc.

    Try redeploying the template following the guide here: Quickstart: Deploy an Azure Kubernetes Service (AKS) cluster using an ARM template
    Make sure you enter a unique name for the AKS cluster and a unique DNS prefix for your cluster.

    Let me know the results. Thanks.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful