I have the same problem and reported the error however it has been 3 months since the question has been asked. Can you please help look into this?
Why microsoft learn sandbox is not letting me create AKS cluster (UI or cmd), which is required by this module excersise 3 - https://docs.microsoft.com/en-us/learn/modules/aks-secrets-configure-app/3-exercise-create-secrets
I have been following this azure aks-secrets-configure-app module exercise 3 - https://learn.microsoft.com/en-us/learn/modules/aks-secrets-configure-app/3-exercise-create-secrets
According to it, I need to have a - AKS cluster already created and running. But after following the below-given command i.e
$export RESOURCE_GROUP=learn-b2c3c745-841c-4480-b7a1-600096cd94ee
$export CLUSTER_NAME=ship-manager-cluster
$az aks create \
-g $RESOURCE_GROUP \
-n $CLUSTER_NAME \
--node-count 1 \
--node-vm-size Standard_B2s \
--generate-ssh-keys \
--enable-addons http_application_routing
I keep getting these 2 errors:
1)
{"code":"MultipleErrorsOccurred","message":"Multiple error occurred: NotFound,NotFound. Please see details.","details":[{"code":"ResourceGroupNotFound","message":"Resource group 'DefaultResourceGroup-WUS' could not be found."},{"code":"ResourceGroupNotFound","message":"Resource group 'DefaultResourceGroup-WUS' could not be found."}]}
2)
"code": "PreconditionFailed",
"message": "Provisioning of resource(s) for container service ship-manager-cluster in resource group learn-b2c3c745-841c-4480-b7a1-600096cd94ee failed.Message: {\n \"code\": \"PreconditionFailed\",\n \"message\": \"Provisioning of resource(s) for container service ship-manager-cluster in resource group learn-b2c3c745-841c-4480-b7a1-600096cd94ee failed. Message: The template deployment failed with multiple errors. Please see details for more information.. Details: [{\\"code\\":\\"RequestDisallowedByPolicy\\",\\"message\\":\\"Resource 'newpool-availabilitySet-65510078' was disallowed by policy. Policy identifiers: '[{\\\\"policyAssignment\\\\":{\\\\"name\\\\":\\\\"containers-assignment\\\\",\\\\"id\\\\":\\\\"/providers/Microsoft.Management/managementGroups/eab64c3d-95b6-9f1f-755f-9f8578c31e45/providers/Microsoft.Authorization/policyAssignments/containers-assignment\\\\"}
......
complete error in the attachment below 144179-aazurebug.txt
Azure
2 answers
Sort by: Most helpful
-
-
shiva patpi 13,371 Reputation points Microsoft Employee Moderator
2021-10-27T20:06:14.687+00:00 Hello @Akash Kant ,
Sorry for the inconvenience caused , can you try reporting this issue via below feedback channel
Regards,
Shiva.