Member-only story

Resolving the “InvalidParameter: The Supplied Password Must Satisfy Complexity Requirements” Error in Azure ARM Template Deployment

Luca Berton
6 min readOct 5, 2024

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:

--

--

Luca Berton
Luca Berton

Written by Luca Berton

I help creative Automation DevOps, Cloud Engineer, System Administrator, and IT Professional to succeed with Ansible Technology to automate more things everyday

No responses yet