Hello Andrew
Thank you for contacting us about the VM issue.
This may be caused due to few reasons
Azure VM Guest Agent stopped responding or became unhealthy
- VM was stuck on an underlying host after maintenance
- Network or agent-level communication issue (agent heartbeat not reaching Azure)
- Guest Agent corruption after updates or restarts
When the Azure VM Agent is unavailable, Azure cannot perform management operations (password reset, Run Command, extensions), and connectivity issues such as RDP failure are common.
Steps to fix the issue
1.Stop (Deallocate) and Start the VM
This forces the VM to be moved to a healthy Azure host and often restores agent communication.
Azure Portal
- Go to Virtual Machines
- Select the affected VM
- Click Stop (wait until status shows Stopped (deallocated))
- Click Start
- Retry RDP/SSH connection.
2.Redeploy the VM(This is the most recommended solution.)
If Stop/Start does not help, Redeploy has consistently fixed this issue in earlier cases.
What Redeploy Does
- Moves the VM to a new Azure host
- Preserves OS disk, data disks, IP, and configuration
- Does not delete the VM
Azure Portal
- VM → Help + troubleshooting
- Select Redeploy
- Confirm redeploy
- Wait for completion
- Start the VM (if not auto‑started)
- Retry connection.
3.Check Boot Diagnostics
If the VM still cannot be accessed:
- VM → Boot diagnostics
- Review the screenshot and serial output
- Confirm the OS is not stuck on:
Boot issues can prevent the VM Agent from starting.
4.Reset RDP Configuration
Once agent communication is restored:
- VM → Help
- Select Reset password
- Choose Reset configuration only
- Update and retry RDP
Links :
https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/windows/troubleshoot-rdp-connection
https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/windows/windows-azure-guest-agent
https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/windows/troubleshoot-rdp-connection
Thanks,
Manish.