Add the admin name in your command. example:
az vm create --admin-password P@ssw8rd27!!! --admin-username adminazure --image UbuntuLTS --name Pita5 --resource-group resourcegroup6
worked for me..
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am getting the below error while creating VM in AzureCLI using Katacoda
admin user name cannot contain upper case character A-Z, special characters /"[]:|<>+=;,?*@#()!or start with $ or -
Kindly help me to resolve this
Add the admin name in your command. example:
az vm create --admin-password P@ssw8rd27!!! --admin-username adminazure --image UbuntuLTS --name Pita5 --resource-group resourcegroup6
worked for me..
Hi,
Please refer the username requirements as mentioned in the following Microsoft documentation and proceed to correct it in your script
Please mark as "Accept the answer" if the above steps helps you. Others with similar issues can also follow the solution as per your suggestion
Regards,
Manu