Member-only story
Resolving the “InvalidParameter: The Supplied Password Must Satisfy Complexity Requirements” Error in Azure ARM Template Deployment
When deploying a virtual machine (VM) in Azure using an Azure Resource Manager (ARM) template, you might encounter the following error:
##[error]InvalidParameter: The supplied password must be between 8-123 characters long and must satisfy at least 3 of password complexity requirements from the following:
1) Contains an uppercase character
2) Contains a lowercase character
3) Contains a numeric digit
4) Contains a special character
5) Control characters are not allowed
This error indicates that the password provided for the virtual machine does not meet Azure’s password complexity requirements. When deploying VMs in Azure, it’s important that the administrator password adheres to specific security policies to ensure that the system is secure.
Why This Error Occurs
Azure enforces password complexity requirements to maintain the security of virtual machines. Specifically, Azure requires that VM passwords meet the following criteria:
- Length: The password must be between 8 and 123 characters.
- Complexity: The password must include at least three of the following: