All of a sudden I am unable to access VM using RDP. Hostname shows as "-" and I believe this is the root cause of the issue. I tried the following without any luck:
- Change the VM to a different size and restarted it. Unable to RDP, hostname still shows "-"
- Shut it down completely (dealloacted) and restarted it after some time. Still hostname shows "-"
- Restarted multiple times and still hostname remains "-"
Note that the VM is part of availability set handling web traffic. One other interesting point is that this happens post any Azure maintenance window. This is not the first time I am observing this and hostname remained "-" last time around as well and I had to delete the VM and recreate from scratch which is an absolute waste of time.
Additional details: VM image is Windows Server 2012
Appreciate if anyone could help to resolve this and get the VM going.