To solve this issue, you need to add an inbound security port rule. Add a port 3389 and save the security rule. It will works.
Want to become an Azure expert? join azure certification now!!
Want to know more about Virtual Machine? Watch this video on How to Create a Microsoft Azure Virtual Machine: