Skip to content
This repository has been archived by the owner on Jan 30, 2021. It is now read-only.

Error: The Admin Username specified is not allowed #225

Open
gminog opened this issue Feb 4, 2019 · 2 comments
Open

Error: The Admin Username specified is not allowed #225

gminog opened this issue Feb 4, 2019 · 2 comments

Comments

@gminog
Copy link

gminog commented Feb 4, 2019

I have followed the instructions on getting the tenant Id, client Id and client secret using Azure CLI and I have adjusted my Vagrantfile accordingly.
However, when executing vagrant up --provider=azure --debug I'm getting an error similar to the below:
The Admin Username specified is not allowed. Code: Invalid Parameter, Target: adminUsername

The wizard that sets up the VM does not prompt for a username or something, so that's a pretty unexpected error message.
Any ideas?

@sonnysideup
Copy link

Check this issue: Azure/azure-cli#582

@boldandbusted
Copy link

Figuring this one out took me a bit, but I'm an Azure noob. :) It would have been nice to have Terraform fail on the plan and not the apply, and refer to a doc that details what is acceptable username formats and strings for SSH in Azure.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants