问题
I created a VM in windows Azure. At the time of creation I gave proper Username and Password, but when I try to connect that from Remote desktop I am getting following error "Your credentials did not work" I gave correct username and password. Do I need to do any further configurations/ can I reset my username or password ?
If some faced/solved this Issue please share.
Thanks.
回答1:
I solved it. using \ before the name. so that it wont take default domain
回答2:
If you have used the Management Portal to create your VM and if you have left the default settings for the extensions (last page of the VM creation wizard), then the VM agent is installed on the VM and you can reset the admin account and Passwort using Windows PowerShell.
Using PowerShell use the command Set-AzureVMAccessExtension. With the parameters UserName and Password you can reset them.
Here is an introductory article about that topic, that also explains how to check whether the VM agent is installed.
来源:https://stackoverflow.com/questions/29506128/your-credentials-did-not-work-azure-vm