VDI Session Host health alerts in event viewer, how to resolve

Addison McDermid 0 Reputation points
2024-08-01T05:38:30.0466667+00:00

We have redeployed two Azure VDI Session hosts and reinstalled the Azure VDI agents as per https://learn.microsoft.com/en-us/azure/virtual-desktop/troubleshoot-agent#your-issue-isnt-listed-here-or-wasnt-resolved due to Healthstate issues.

The session hosts were registered with a registration key.

We are seeing these errors in Event Viewer which are recurring frequently.

  1. Microsoft.RDInfra.RDAgent.Service.TURNRelayAccessHealthCheck CheckNATShapeAsync - Exception hit: System.AggregateException: One or more errors occurred. ---> System.TimeoutException: Timed out waiting for Receive to complete
  2. Microsoft.RDInfra.Diagnostics.Operations.LocalMonitoringOperation
    Op='DomainReachableHealthCheck' already set. Ignoring resultType=Success
  3. Microsoft.RDInfra.RDAgent.Service.DomainReachableCheck
    CheckSessionHostDomainIsReachableAsync - SessionHost unhealthy: the domain the SessionHost is joined to is not reachable!

The hosts show as Green healthstate in the Portal and remote apps are running perfectly fine.
Can anyone please assist on how to resolve these errors?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,040 questions
Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,583 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Prrudram-MSFT 25,881 Reputation points
    2024-08-01T09:59:08.6866667+00:00

    Hello @Addison McDermid

    The errors you are seeing in the Event Viewer indicate that the Azure Virtual Desktop Agent is having trouble communicating with the Azure Virtual Desktop service.

    This can be caused by a number of issues, including network connectivity problems, DNS resolution issues, or problems with the Azure Virtual Desktop service itself. Here are some steps you can take to troubleshoot and resolve these errors:

    1. Check the network connectivity between the session hosts and the Azure Virtual Desktop service. Make sure that the session hosts can reach the Azure Virtual Desktop service over the network and that there are no firewalls or other network devices blocking the traffic.
    2. Check the DNS resolution on the session hosts. Make sure that the session hosts can resolve the DNS names of the Azure Virtual Desktop service and that there are no DNS resolution issues.
    3. Check the Azure Virtual Desktop service status. Make sure that the Azure Virtual Desktop service is running and that there are no service outages or other issues.
    4. Restart the Azure Virtual Desktop Agent service on the session hosts. This can sometimes resolve communication issues between the session hosts and the Azure Virtual Desktop service.
    5. If the issue persists, try re-registering the session hosts with the Azure Virtual Desktop service. This can sometimes resolve issues with the Azure Virtual Desktop Agent. If none of these steps resolve the issue, you may need to contact Microsoft support for further assistance.

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.