AVD VM stuck on Shutdown but running

SenhorDolas 1,296 Reputation points
2024-08-05T14:17:51.4433333+00:00

Hi

We have a VM that is running OK but on the Portal it says Shutdown (in Health state)

The RD apps are all up to date on the machine but showing a version behind for this one.

Do I need to uninstall the RD lot and remove the VM from the pool and bring it back?

See pic

thanks M

Screenshot 2024-08-05 151617

Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,547 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Claudia Dos Santos Haz (CONCENTRIX CORPORATION) 1,095 Reputation points Microsoft Vendor
    2024-08-06T10:16:52.3533333+00:00

    Hi @SenhorDolas

    Thank you for reaching out to Microsoft Q&A forum!

    It sounds like you’re dealing with a common issue where the VM shows as “Shutdown” in the Azure portal despite running correctly. Here are a few steps you can try before considering uninstalling and removing the VM from the pool:

    Check the VM’s Power State: Use the Azure VM instance view API to confirm the actual power state of the VM. Sometimes, the portal might not reflect the current state accurately1.

    Restart the VM: Try restarting the VM from the Azure portal. This can sometimes resolve discrepancies between the actual state and the reported state.

    Update the Azure Virtual Desktop Agent: Ensure that the Azure Virtual Desktop Agent and BootLoader are up to date. Outdated agents can cause status reporting issues2.

    Re-register the VM: You can try re-registering the VM with the Azure Virtual Desktop service. This can help in updating the status correctly.

    Check for Health Check Failures: Look into the health checks for the session host. If any non-fatal health checks have failed, they might cause the VM to show as “Shutdown” even if it’s running1.

    If these steps don’t resolve the issue, then you might consider removing the VM from the pool and re-adding it. However, this should be a last resort after trying the above steps.

    Best regards,


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.