I am having a php based webapp on azure windows server 2012 vm. Everything was fine till now. Since a day, whenever I try to connect through RDP, a full black screen get displayed, and after sometime the RDP window gets closed automatically. On Azure portal, the VM looks fine. I tried redeploying, restarting, still no success, and the vm is still working (the webapp is accessible and working) and the IP is static. What should I do to resolve this?
This is known to be an issue over screen resolutions or slow internet connections / client connectivity problems.
I'd suggest first to try to see if this is a problem with resolution on your client. Try the following:
When connection you can also try to disable Bitmap caching (click the experience tab and disable bitmap caching before connecting).
This is a known problem, check Microsoft knowledge base
If this doesn't work, I would investigate further too see if there's any network issues / firewall issues dropping your RDP packages.