Hello Rocky Zhang
Welcome to Microsoft Q&A Platform, thanks for posting your query here.
I'm sorry to hear that you're having trouble creating an Azure Kubernetes Services Cluster. The error message you received indicates that the resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'. This could be due to a number of reasons, such as incorrect configuration setting, resource group limitations or insufficient resources.
To troubleshoot this issue, I recommend checking the deployment logs to see if there are any specific error messages that can help identify the root cause of the problem.
If you are still unable to identify the issue, you can try creating the AKS cluster using the Azure CLI or Azure PowerShell instead of the Azure portal. This may provide more detailed error messages that can help you troubleshoot the issue.
Ref: https://learn.microsoft.com/en-us/azure/aks/learn/quick-kubernetes-deploy-cli
https://learn.microsoft.com/en-us/azure/aks/learn/quick-kubernetes-deploy-powershell
Additionally, you can check if you have sufficient permissions to create the AKS cluster. You need to have the "Contributor" or "Owner" role assigned to your Azure account to create an AKS cluster.
I hope this helps!