An Azure service that is used to provision Windows and Linux virtual machines.
Hi @Sidharth Naidu ,
Thanks for contacting Microsoft Q&A platform.
The closest thing I have been able to find is the following doc:
Essentially, if the agent is not in a ready state, it is usually due to some corruption of the agent which can be resolved by simply manually reinstalling the agent. You can find the steps to do that here:
If it is not working, you should reinstall it. If it is still not working after that, there is usually something wrong with the VM image itself which would require support to look into further.
Also, please share if your VM was deployed from a specialized image. When deploying a VM from image, a manual installation is required for the Guest Agent as described here: Azure Virtual Machine Agent Overview - Azure Virtual Machines | Microsoft Learn. Is that the process that was used for this Guest Agent's installation?
For a Windows VM, the Agent Installer should take care of everything as long as the prerequisites listed here: https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/agent-windows#prerequisites are followed.
Hope that helps.