Enable Remote Desktop (RDP) for Azure VM

To enable the RDP (Remote Desktop connection) for Azure VM, open the Azure portal and select your Virtual Machine (VM) for which you want to allow the RDP.

Select Networking and click on “Add inbound port rule”.

Change the “Destination Port ranges” value to 3389, which remote desktop port and Protocol to TCP as shown below. Change Name and click on Add button.

It takes some time to add the port, and it displays the port as below.

Let’s check the RDP connection. Go to the Connect tab and download the RDP file.

Open downloaded RDP file to connect to your VM.

To find the username for VM, go to the SSH tab under Connect. Select “Reset Password” if you don’t remember the password for your VM.