

If not we see a message that the username or password is not correct as shown below.Īs mentioned enter also the AzureAD domain in front of your username we are able to connect remote to our Azure AD joined Windows 10 Computer and by using our Azure AD credentials or Hybrid if synced from on-premise to Azure AD.Ĭredential Security Support Provider (CredSSP) protocol Here we need to add the AzureAD domain in front of the username to tell Windows to authenticate against Azure AD. Now we can try to connect to our VM by double click on the RDP file. Supported RDP properties with Remote Desktop Services The authentication level property mostly is already set to 2. In most cases you just have to disable CredSSP by set enablecredsspsupport to 0. Right click on the RDP file and open it with your favorite text editor.Īdd or change the following RDP properties if not still listed and have the correct value. first save this file in order to be able to edit it. Now at least we also need to adjust the RDP file resp. Net localgroup “Remote Desktop Users” /add “AzureAD\the-UPN-attribute-of-your-user” If not you can add an Azure AD user by using the following PowerShell Cmdlet So the user either should be in the local Administrators or Remote Desktop Users group. If not, disable it.Īlso check that the Azure AD user (or Hybrid user) have the rights to connect to from remote. Network Level Authentication was already disabled. To be able to connect, first check if Allow remote connections to this computer is enabled and the option Allow connections only from computers running Remote Desktop with Network Level Authentication (recommended) is not checked. I just got the error message The logon attempt failed, nothing more. Here I wanted to connect to a virtual Windows 10 computer which is running in on-premise on Hyper-V and is just Azure AD joined. In case you have trouble to connect to an Azure AD joined Windows 10 Computer by using the Remote Desktop Protocol (RDP) and your Azure AD credentials like shown below, you first need to adjust some settings in the RDP file.
