Session host statuses and health checks in Azure Virtual Desktop (2024)

  • Article

The Azure Virtual Desktop Agent regularly runs health checks on the session host. The agent assigns these health checks various statuses that include descriptions of how to fix common issues. This article tells you what each status means and how to act on them during a health check.

Session host statuses

The following table lists all statuses for session hosts in the Azure portal each potential status. Available is considered the ideal default status. Any other statuses represent potential issues that you need to take care of to ensure the service works properly.

Note

If an issue is listed as non-fatal, the service can still run with the issue active. However, we recommend you resolve the issue as soon as possible to prevent future issues. If an issue is listed as fatal, it prevents the service from running. You must resolve all fatal issues to make sure your users can access the session host.

Session host statusDescriptionLoad balancingHow to resolve related issues
AvailableThis status means that the session host passed all health checks and is available to accept user connections. If a session host has reached its maximum session limit but has passed health checks, it's still listed as “Available."New user sessions are load balanced here.N/A
Needs AssistanceThe session host didn't pass one or more of the following non-fatal health checks: the Geneva Monitoring Agent health check, the Azure Instance Metadata Service (IMDS) health check, or the URL health check. In this state, users can connect to VMs, but their user experience may degrade. You can find which health checks failed in the Azure portal by going to the Session hosts tab and selecting the name of your session host.New user sessions are load balanced here.Follow the directions in Error: Session hosts are stuck in "Needs Assistance" state to resolve the issue.
ShutdownThe session host has been shut down. If the agent enters a shutdown state before connecting to the broker, its status changes to Unavailable. If you've shut down your session host and see an Unavailable status, that means the session host shut down before it could update the status, and doesn't indicate an issue. You should use this status with the VM instance view API to determine the power state of the VM.Not available for load balancing.Turn on the session host.
UnavailableThe session host is either turned off or hasn't passed fatal health checks, which prevents user sessions from connecting to this session host.Not available for load balancing.If the session host is off, turn it back on. If the session host didn't pass the domain join check or side-by-side stack listener health checks, refer to the table in Health check for ways to resolve the issue. If the status is still "Unavailable" after following those directions, open a support case.
Upgrade FailedThis status means that the Azure Virtual Desktop Agent couldn't update or upgrade. This status doesn't affect new nor existing user sessions.New user sessions are load balanced here.Follow the instructions in the Azure Virtual Desktop Agent troubleshooting article.
UpgradingThis status means that the agent upgrade is in progress. This status updates to “Available” once the upgrade is done and the session host can accept connections again.New user sessions are load balanced here.If your session host is stuck in the "Upgrading" state, then reinstall the agent.

Health check

The health check is a test run by the agent on the session host. The following table lists each type of health check and describes what it does.

Health check nameDescriptionWhat happens if the session host doesn't pass the check
Domain joinedVerifies that the session host is joined to a domain controller.If this check fails, users won't be able to connect to the session host. To solve this issue, join your session host to a domain.
Geneva Monitoring AgentVerifies that the session host has a healthy monitoring agent by checking if the monitoring agent is installed and running in the expected registry location.If this check fails, it's semi-fatal. There may be successful connections, but they'll contain no logging information. To resolve this issue, make sure a monitoring agent is installed. If it's already installed, contact Microsoft support.
Side-by-side (SxS) Stack ListenerVerifies that the side-by-side stack is up and running, listening, and ready to receive connections.If this check fails, it's fatal, and users won't be able to connect to the session host. Try restarting your virtual machine (VM). If restarting doesn't work, contact Microsoft support.
App attach health checkVerifies that the MSIX app attach service is working as intended during package staging or destaging.If this check fails, it isn't fatal. However, certain apps stop working for end-users.
Domain trust checkVerifies the session host isn't experiencing domain trust issues that could prevent authentication when a user connects to a session.If this check fails, it's fatal. The service won't be able to connect if it can't reach the authentication domain for the session host.
Metadata service checkVerifies the metadata service is accessible and returns compute properties.If this check fails, it isn't fatal.

Next steps

  • For an overview on troubleshooting Azure Virtual Desktop and the escalation tracks, see Troubleshooting overview, feedback, and support.
  • To troubleshoot issues while creating an Azure Virtual Desktop environment and host pool in an Azure Virtual Desktop environment, see Environment and host pool creation.
  • To troubleshoot issues while configuring a virtual machine (VM) in Azure Virtual Desktop, see Session host virtual machine configuration.
  • To troubleshoot issues related to the Azure Virtual Desktop agent or session connectivity, see Troubleshoot common Azure Virtual Desktop Agent issues.
  • To troubleshoot issues when using PowerShell with Azure Virtual Desktop, see Azure Virtual Desktop PowerShell.
  • To go through a troubleshoot tutorial, see Tutorial: Troubleshoot Resource Manager template deployments.

Feedback

Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see: https://aka.ms/ContentUserFeedback.

Submit and view feedback for

This product This page

Session host statuses and health checks in Azure Virtual Desktop (2024)
Top Articles
Latest Posts
Article information

Author: Otha Schamberger

Last Updated:

Views: 5820

Rating: 4.4 / 5 (55 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Otha Schamberger

Birthday: 1999-08-15

Address: Suite 490 606 Hammes Ferry, Carterhaven, IL 62290

Phone: +8557035444877

Job: Forward IT Agent

Hobby: Fishing, Flying, Jewelry making, Digital arts, Sand art, Parkour, tabletop games

Introduction: My name is Otha Schamberger, I am a vast, good, healthy, cheerful, energetic, gorgeous, magnificent person who loves writing and wants to share my knowledge and understanding with you.