Your credentials did not work Azure VM

故事扮演 提交于 2019-12-24 04:07:32

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!