How to add a Public IP address to Azure VM (for VM failed over using ASR)
2 minutes to read
If your Connect button is grayed out and you are not connected to Azure via an Express Route or Site-to-Site VPN connection, then for ARM (based deployment model) add a Public IP on the Network interface of the virtual machine as shown below:
If the deployment model is Classic, then add an endpoint on public port 3389 for RDP and on public port 22 for SSH. See the steps to add an endpoint here.