Unable to login to VM with Azure AD, how to fix this?

Uday Kiran Reddy 6 Reputation points
2021-10-14T12:46:13.103+00:00

I have selected Azure AD Authentication while creating a server 2019 Azure VM.

And added the relavant roles also in the VM settings for my user as below.

140590-image.png

When tried to RDP:

140530-image.png

140558-image.png

I tried with:
AzureAD\user@keyman .com
domain.com\user
user@keyman .com

All are same issue.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,102 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Alan Kinane 16,786 Reputation points MVP
    2021-10-14T13:24:03.12+00:00

    Is the device you are connecting from registered, joined or hybrid joined to the same VM? Please see here: https://learn.microsoft.com/en-us/azure/active-directory/devices/howto-vm-sign-in-azure-ad-windows#log-in-using-azure-ad-credentials-to-a-windows-vm

    Otherwise, here is a workaround if you modify your RDP connection to include these settings:
    authentication level:i:2
    enablecredsspsupport:i:0

    https://xenit.se/tech-blog/how-to-rdp-into-a-azure-ad-joined-vm-in-azure/

    0 comments No comments