AKS Cluster provisioning failed

Shahab Mushtaq 5 Reputation points
2023-02-13T16:41:38.4933333+00:00

I am working on the following exercise in MS Learn: Exercise - Create an Azure Kubernetes Service cluster and running into an issue when I run the below cmd. I did make one modification to the lab exercise in that I already have my own RG (ShahabTest). I modified the below export cmd to use my existing RG name, otherwise running the cmd as shown. After running the cmd, my AKS cluster is in a failed state and I have the following error message in the activity logs:

"statusMessage": "{\"status\":\"Failed\",\"error\":{\"code\":\"ResourceOperationFailure\",\"message\":\"The resource operation completed with terminal provisioning state 'Failed'.\",\"details\":[{\"code\":\"PutResourceGroupError\",\"message\":\"Create or update resource group MC_ShahabTest_aks-contoso-video_centralus failed\"}]}}",

export RESOURCE_GROUP=rg-contoso-video

export CLUSTER_NAME=aks-contoso-video

export LOCATION=

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.
2,323 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Shahab Mushtaq 5 Reputation points
    2023-02-14T22:51:51.4833333+00:00

    The cluster was created but is in a failed state. Ran the above cmds and they failed with error mesg "(InternalOperationError) We are unable to serve this request due to an internal error, Correlation ID: 231b95a9-3ae9-4527-940b-f82bbed1b4f9, Operation ID: 04483eef-ed4c-48fd-86c5-3ff8930ebfcd, Timestamp: 2023-02-14T22:49:29Z.

    Code: InternalOperationError

    Message: We are unable to serve this request due to an internal error, Correlation ID: 231b95a9-3ae9-4527-940b-f82bbed1b4f9, Operation ID: 04483eef-ed4c-48fd-86c5-3ff8930ebfcd, Timestamp: 2023-02-14T22:49:29Z."

    User's image


  2. deherman-MSFT 37,886 Reputation points Microsoft Employee
    2023-02-22T17:34:21.1933333+00:00

    @Shahab Mushtaq

    There appears to be some limitation or policy preventing you from updating the resource group after deployment. To further troubleshoot this, we're going to enable a free, one time technical support ticket. Please email the following to AzCommunity@microsoft.com and we'll get back to you promptly:

    • Subject: "Attn: deherman - "

    • Email body: Your Subscription ID

    • Email body: A link to this thread so we can validate and expedite the request

    If you don't receive a response within 24 hours, please reply to the thread so we can investigate.


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.