we need to use login to Azure Vm with Azure AD users for a customer. I have created a quick lab to test the functionallity but seems that it doesn't work.
I have created 2 VMs on Azure:
- 1 VM named VMServer (Windows Server 2019) - is the VM where users will have to log in
- 1 VM named VMclient (Windows 10) - simulates the user client where the RDP connection begins
When I created the VMServer we have checked the option for "login with AzureAD", and the extention is correctly present in the VMServer and it present within Azure AD devices (Azure AD joined).
To test the RDP connection, I have set the grant for the account in the Group "Virtual Machine Administrator Login" at the RG level.
Within the VMClient, I have registered the account within Accounts -> Email & Accounts
In this way, I have the VMClient "Azure AD registered" in the Azure AD.
I have disable the MFA for the account.
So, it seems all regular for the RDP with Azure AD.
When i try to login with RDP from the VMClient to the VMServer using AzureAD\UPN sintax I receive this error
Can you help me please?
On the VMServer (destinantion for the RDP connection) it result AzureADJoined.
Thank you for your help