Azure虚拟机,您的凭据在远程桌面上无效
答
(1)对于我来说,与
<VMName>\Username
Password
如工作
Windows8VM\MyUserName
[email protected]
(2)有些人只需要使用一个领先 '\',即
\Username
Password
Your credentials did not work Azure VM
(3)您现在可以重新从应用程序的用户名/密码门户。有powershell脚本,这也可以让你做到这一点,但不应该有必要了。
(4)您也可以尝试重新部署虚拟机,你可以从应用程序门户网站做
(5)该博客说:“密码不能包含用户名或用户名的一部分”,但必须是过时的,因为我尝试过,一旦我得到它的工作,它工作得很好
(6)您可能会发现链接,如低于该提GET-AzureVM,这似乎是对经典的虚拟机,似乎有资源管理器虚拟机的等价物,例如Get-AzureRMVM
https://blogs.msdn.microsoft.com/mast/2014/03/06/enable-rdp-or-reset-password-with-the-vm-agent/
对于PowerShell的新手来说,如果你确实想要走下这条路,那么你可能需要这些基础知识。最后,我不认为我需要这,只是1点
unInstall-Module AzureRM
Install-Module AzureRM -allowclobber
Import-Module AzureRM
Login-AzureRmAccount (this will open a window which takes you through the usual logon process)
Add-AzureAccount (not sure why you need both, but I couldn’t log on without this)
Select-AzureSubscription -SubscriptionId <the guid for your subscription>
Set-AzureRmVMAccessExtension -ResourceGroupName "<your RG name>" -VMName "Windows8VM" -Name "myVMAccess" -Location "northeurope" -username <username> -password <password>
(7)可以连接到虚拟机的默认设置为分的负载平衡器会从端口50000起NAT规则映射,即远程桌面到IP地址:端口。您也可以从不在比例集中的虚拟机执行此操作。进入规模集的概述,点击“虚拟网络/子网”,它会给你内部IP地址。从另一个远程桌面