This is easy when using Classic mode for deploying your virtual machine. Once deployment is complete the RDP port will default to 3389.
To change this:
- Select Virtual machines (Classic).
- Select the virtual machine you want to change the port for.
- Select Endpoints.
- Change the public port for both RDP TCP and RDP UDP endpoints to the desired number. DO NOT change the private port.