This tutorial will demonstrate how to use Remote Desktop Protocol (RDP) to connect to a VM in Azure, both from the local VM and Azure Active Directory (Azure AD).
Log into your azure portal (portal.azure.com). Click the Virtual machines icon under Azure services on your home dashboard. Or type “virtual machines” in the search bar then select it.
Click on your desired VM from the list. In our case, our VM is “fwvkgn1”
Click Connect then click RDP from the drop-down list. Ensure that your VM is running.
After the download has completed. Click the downloaded RDP file to launch the connection to your VM.
Click Connect on the Remote Desktop Connection window. Note: The warning can be ignored because you know where this connection is coming from.
Enter your desired credentials (username and password). If connecting for the first time use your Administrator account credentials that were set during the creation of your VM. Note this is a user account that was created on your local VM instance.
Click Yes at the warning message about “The identity of the remote computer cannot be verified”. You know the identity, therefore this can be ignored.
Your remote desktop connection will now begin to load as seen below.
After authentication has been completed you will be successfully logged into your Windows Azure VM. As shown below.
Congratulations you have now successfully logged on to your Azure VM via RDP.