Hi ,
Please check this Network Security Group (NSG) Rules:
- If network security groups are applied to the subnet or the virtual machine's network interface, ensure that there are inbound rules allowing SSH traffic (port 22) from your VPN IP address or range.
- Review NSG rules associated with the subnet and the VM's network interface to verify that they permit SSH traffic
Please accept answers, if it helps.