How to change the RDP port number in ARM templates?

Khalid Abu Theeb 1 Reputation point
2020-06-02T14:15:00.713+00:00

After creating a VM on Azure, I need to use a VPN in order to RDP to it. This is because of my Internet Service Provider's networking regulations. Therefore I have to change the RPD port from within the VM every time I create a new VM. Is there a way I can make the default RDP port number 8000 using Azure templates?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,118 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Leon Laude 85,651 Reputation points
    2020-06-02T14:18:24.393+00:00
    1 person found this answer helpful.
    0 comments No comments