How to fix the issue Virtual Machine Agent Status Not Ready Isuue

Mithila Lishan 121 Reputation points
2025-04-22T20:47:27.02+00:00

Recently, I've been encountering an issue when starting my Linux machine. After powering it on, I receive the following error, and it takes around 10–20 minutes before I can successfully log in to the server. During this time, I’ve checked the activity logs and found no activities being initiated after the virtual machine starts. This issue has only started occurring in the past week. I'm trying to understand what's causing it.

User's image

can some one advice me, how can i avoid this issue and what i can do to find the issue ?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,827 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Divyesh Govaerdhanan 4,435 Reputation points
    2025-04-22T22:22:57.92+00:00

    Hello,

    Welcome to Microsoft Q&A,

    Essentially, if the agent is not in a ready state, it is usually due to some corruption of the agent.

    Please consider the following troubleshooting steps:

    1. Try stopping and then starting the virtual machine (VM). Stopping the VM will deallocate it, which is different from a reboot, and this action often resolves the issue.
    2. Verify whether the VM agent is running on the virtual machine. You can do this by logging into the VM and checking if the Windows Azure Guest Agent service is active. If it is not running, please attempt to start the service manually.
    3. If necessary, you can uninstall and then reinstall the VM agent.

    For more detailed guidance, please refer to the following troubleshooting document: Azure Virtual Machines Windows Azure Guest Agent.

    Please Upvote and accept the answer if it helps!!


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.