Support Docs
Create firewall rule in Azure
- Log in to Azure portal
- Go to All Resources > Click your network security group > Inbound Security Rules

- Click Add
- Create a rule to allow port 5900

- In your Network Security Group go to Subnets
- Click Associate
- Choose the Virtual Network the VM is attached to and click OK