azure - 如何使用我的 AAD 凭据登录到我的 Azure VM?

标签 azure authentication active-directory virtual-machine rbac

我正在尝试使用我的 AAD 凭据登录到我的 Azure VM(在创建 VM 时已启用 Azure AD 登录),RBAC 作为“虚拟机管理员登录名”也已分配给该 VM。我正在尝试使用 RDP 并使用此表单登录: 用户名:AzureAD\[email protected] 密码:我的密码 但我收到此错误消息:“不允许您尝试使用的登录方法。有关详细信息,请联系网络管理员”。有人可以帮忙吗?

注意:我已经尝试过 GPO,但没有帮助

最佳答案

要使用 AAD 凭据登录 Azure VM,您可以按照 Sign in to Windows virtual machine in Azure using Azure Active Directory authentication (Preview) 中的步骤操作。 。这对您来说很重要:

Remote connection to VMs joined to Azure AD is only allowed from Windows 10 PCs that are Azure AD joined or hybrid Azure AD joined to the same directory as the VM. Additionally, to RDP using Azure AD credentials, the user must belong to one of the two RBAC roles, Virtual Machine Administrator Login or Virtual Machine User Login.

用于通过 AAD 凭据远程连接到 VM 的本地计算机需要作为租户加入域。在我这边,我使用Tenant的用户,可以成功连接到VM。例如,租户是centoso.com,那么用户应该是[email protected] 。此外,您还需要检查虚拟机的 AADLoginForWindows 扩展是否已成功安装。

关于azure - 如何使用我的 AAD 凭据登录到我的 Azure VM?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60757683/

相关文章:

azure - 如何创建从 OData 到 Azure DocumentDB 的定期数据副本

Django-注册设置无需密码

node.js - 如何验证最终用户身份验证 token (使用 Firebase 身份验证)以调用谷歌云运行端点?

c# - 在事件目录底层对象上使用 linq

Java LDAP - TCP RST 和套接字句柄泄漏

azure - Azure VM Spot 实例是正常优先级还是低优先级?

azure - Azure 上的 nginx 配置

c++ - 使用 Azure C++ SDK 设置元数据

php - CodeIgniter:动态登录后重定向?

unit-testing - 为内存中的 UnboundID LDAP 服务器创建自定义架构/添加到现有架构