Hi,
Is this VM running Windows? If yes you need to install OpenSSH Server in the VM, start the OpenSSH SSH Server service, and set service startup to Automatic. Once you have completed that you can use SSH client on your PC to connect, assuming there aren't any NSGs blocking you and you have a network path to the VM.
Get started with OpenSSH for Windows
Please click Accept Answer and upvote if the above was helpful.
Thanks.
-TP