I have a VM that is joined to my Azure AD test tenant domain. I was having issues using RDP to access the box with my Azure AD credentials (firstname.lastname@example.org). I kept getting the following when trying to connect:
So I started researching and found that this was an common issue that many have started to face with their Azure AD Joined machines. Unfortunately, at this time it isn’t quite as easy as “open up a new RDP connection, type in the computer, type my email, and connect”. Here are the steps to connect a session to that Azure AD joined computer.
Steps to connect RDP to an Azure AD joined computer.
First, open remote desktop as if you were going to connect to any other computer. Type in the computer name or IP address and expand the the Show Options section. Next, click the Save As button to save the RDP file to your computer. At this point you can close the Remote Desktop Connection window as it isn’t needed any longer.
Next, open Notepad. Click File -> Open -> location your RDP file that was saved in the previous step.
Go to the very bottom of the list of parameters and add the following two lines:
Save the changes to the .rdp file
NOTE: You can also add your username that will be used to connect to the session in the file as well:
Now you are ready to connect! Double click on the RDP file and connect to the Azure AD Joined computer.
STAY POSITIVE! THE WORLD WILL CHANGE FOR THE BETTER FOR ALL OF US!
Remote Desktop to Azure AD Joined Computer