In the Azure portal, you use the Connect button to start a Remote Desktop session and log on to a Windows VM.
Do you want to connect to a Linux VM? See How to log on to a virtual machine running Linux.
Before you work with Azure resources, get familiar with the deployment models: Resource Manager, and classic. This article covers managing resources with the classic deployment model.
Here's a video walkthrough of the steps in this tutorial. It also covers endpoints and public and private ports used for connecting to a Windows VM in Azure.
Sign in to the Azure portal.
Click Virtual Machines, and then select the virtual machine.
On the command bar at the bottom of the page, click Connect.
If the Connect button isn't available, see the troubleshooting tips at the end of this article.
Clicking Connect creates and downloads a Remote Desktop Protocol file (.rdp file). Click Open to use this file.
In the Remote Desktop window, click Connect to continue.
In the Windows Security window, type the credentials for an account on the virtual machine and then click OK.
In most cases, the local account user name and password that you specified when you created the virtual machine. In this case, the domain is the name of the virtual machine and it is entered as vmname\username.
If the virtual machine belongs to a domain at your organization, make sure the user name includes the name of that domain in the format Domain\Username. The account will also need to either be in the Admnistrators group or have been granted remote access privledges to the VM.
If the virtual machine is a domain controller, type the user name and password of a domain administrator account for that domain.
Click Yes to verify the identity of the virtual machine and finish logging on.
Here are a few things to try:
If those tips don't work or aren't what you need, see Troubleshoot Remote Desktop connections to a Windows-based Azure Virtual Machine. This article walks you through diagnosing and resolving common problems.