Azure VM Password restrictions
Whenever you are creating an Azure VM via Azure CLI you might have encountered an issue like the one shown below
1 | Password must have the 3 of the following: 1 lower case character, 1 upper case character, 1 number and 1 special character |
1 | Password length must be between 12 and 123 |
The above error messages occurs because Azure has inbuilt restrictions for the password on the admin account that is being created and the Password restrictions are as follows
- Password length must be 12 and 123
- Password should have 1 lowercase character
- Password should have 1 uppercase character
- Password should have 1 special character
- Password should not be same as username