Hi Azizuddin Khan,
Thank you for your patience while we are reviewing the issue
Based upon your query, When you are redeploying an AKS cluster using a previously downloaded ARM template, and deleted the original one you will be face some potential issues related to parameter values, as you see in the error below:
"The value of parameter windowsProfile.adminPassword is invalid."
Because the downloaded template includes sensitive information such as passwords (windowsProfile.adminPassword
), ensure these are updated or handled securely. Even if the password was valid before, It must still meet current Azure password policies. If the password does not comply with the latest complexity requirements, deployment will fail. Please check the adminPassword
parameter needs to be updated to a new password that meets Azure’s complexity requirements while you deploying with ARM template Please refer this document Quickstart: Deploy an Azure Kubernetes Service (AKS) cluster using an ARM template
If an answer has been helpful, please consider accepting the answer and "Upvote" to help increase visibility of this question for other members of the Microsoft Q&A community.
Thank you..!