Hello @Zakaria Khan ,
Thanks for your query.
1.Did you open Port 3389 in NSG on Azure VM?
Cannot connect remotely to a VM because RDP port is not enabled in NSG
: https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/troubleshoot-rdp-nsg-problem
2.Please also check if the following post helps: https://learn.microsoft.com/en-us/answers/questions/360403/rdp-stopped-after-update-must-reboot-server-repeat.html?childToView=362272
The solution is to change the IP address of RDP server, and of course the client you are using.
https://learn.microsoft.com/en-us/windows-server/remote/remote-desktop-services/clients/change-listening-port
Best regards,
Leila
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.