A session host VM may display a status such as Available, Needs Assistance, or Unavailable, or an "AVD session host not found" message.
The status reported here is based on what Nerdio Manager receives from Microsoft's AVD Broker/Management Service, which in turn generates the status based on reports from the AVD agents installed on the session host VMs. For current statuses, see Session host statuses and health checks in Azure Virtual Desktop.
Attribution: The status and health check descriptions in this article are adapted from Microsoft's "Session host statuses and health checks in Azure Virtual Desktop", © Microsoft, licensed under CC BY 4.0. Source: Session host statuses and health checks in Azure Virtual Desktop.
Session host statuses
Nerdio Manager shows the status that Azure Virtual Desktop assigns to the session host. It is worth knowing all of the possible statuses, not just Unavailable, because some, like Needs Assistance, look similar but call for a different fix.
|
Status |
What it means |
Load balancing |
How to resolve |
|---|---|---|---|
|
Available |
The session host passed all health checks and can accept user connections. A session host that has reached its session limit but still passes health checks is shown as Available. |
New sessions are load balanced here. |
Not applicable. |
|
Needs Assistance |
One or more non-fatal health checks failed: the Geneva Monitoring Agent, Instance Metadata Service (IMDS), or URL health check. Users can still connect, but their experience may degrade. |
New sessions are still load balanced here. |
|
|
Shutdown |
The session host has been shut down. If the agent shuts down before it connects to the broker, the status may briefly read Unavailable instead. This does not necessarily indicate a problem. |
Not available for load balancing. |
Turn on the session host. |
|
Unavailable |
The session host is turned off, or it failed one or more fatal health checks (commonly Domain joined or Side-by-side Stack Listener). This blocks user sessions. |
Not available for load balancing. |
If the session host is off, turn it back on. Otherwise, check the health check table. If the status is still Unavailable, open a support case. |
|
Upgrade Failed |
The AVD agent could not update or upgrade. This does not affect new or existing sessions. |
New sessions are still load balanced here. |
|
|
Upgrading |
An agent upgrade is in progress. The status changes to Available when the upgrade completes. |
New sessions are still load balanced here. |
If the session host is stuck in Upgrading, reinstall the agent. |
|
AVD Session Host not found (Nerdio Manager-specific) |
Nerdio Manager sees a linked VM in Azure, but the AVD agent was never installed or registered, or has since been removed from AVD's registration list. |
Not available for load balancing. |
Check the health check status before you troubleshoot further
Unavailable and Needs Assistance are summary statuses: each is the result of one or more underlying health checks that the AVD agent reports to the AVD Management Service. Before you reinstall the agent or make any other change, check which health check is failing. This tells you whether the problem is domain connectivity, a stalled service on the VM, a network or firewall block, or something less urgent, and each has a different fix.
To view the health check status for a session host:
-
In the Azure portal, navigate to Azure Virtual Desktop > Host pools.
-
Select the host pool that contains the affected session host.
-
Select Session hosts, and then select the name of the session host you want to investigate.
-
On the session host page, select the VM status tab.
-
Review the Health check status table. Each row shows a check and its status (Success or a failure). If a check has failed, the Troubleshooting column links to Microsoft's guidance for resolving that check.
What each health check verifies
|
Health check |
What it verifies |
If it fails |
|---|---|---|
|
Domain joined |
The session host is joined to a domain controller. |
Fatal. Users cannot connect. Join the session host to the domain. |
|
Domain trust |
The session host is not experiencing domain trust issues that could prevent authentication when a user connects. |
Fatal. Usually DNS pointing away from a domain controller, or a firewall/NSG blocking Kerberos/LDAP/SMB traffic to the domain controller. |
|
Side-by-side (SxS) Stack Listener |
The side-by-side stack is running, listening, and ready to receive connections. |
Fatal. Users cannot connect. Restart the VM first. If that does not resolve it, contact Microsoft support. |
|
Geneva Monitoring Agent |
The monitoring agent is installed and running in the expected registry location. |
Non-fatal (Microsoft describes it as semi-fatal). Sessions can still connect, but they contain no logging information. Make sure the Remote Desktop Services Infrastructure Geneva Agent is installed and running. If it is, contact Microsoft support. See MonitoringAgentCheck. |
|
URLs accessible |
The session host can reach the URLs that the AVD service requires. |
Non-fatal, but it contributes to a Needs Assistance status. Make sure your firewall, proxy, and hosts file are not blocking the required URLs. See UrlsAccessibleCheck. |
|
Metadata service |
The Azure Instance Metadata Service (IMDS) is accessible and returns compute properties. |
Non-fatal, but it contributes to a Needs Assistance status. Make sure traffic to |
|
App Attach |
The App Attach service is working as intended during package staging and destaging. |
Non-fatal, but certain apps stop working for end users. |
If only the non-fatal checks (Geneva Monitoring Agent, Metadata service, or URLs accessible) are failing, the session host typically shows as Needs Assistance rather than Unavailable. If Domain joined, Domain trust, or Side-by-side Stack Listener are failing, expect Unavailable, because these checks are fatal to accepting sessions.
Agent registration requirements
To communicate with the AVD Broker service and receive user sessions, all session host VMs must have the AVD agent installed and registered. The AVD agent's core components are listed in Programs and Features as:
-
Remote Desktop Agent Boot Loader
-
Remote Desktop Services Infrastructure Agent
-
Remote Desktop Services Infrastructure Geneva Agent
-
Remote Desktop Services SxS Network Stack
Unless the agent is installed, registered to the AVD service, and able to report its status, the session host VM cannot receive sessions from the AVD management service.
Because of this, Nerdio Manager does not let you manage a VM as a session host until the AVD agent is installed and registered. Until then, it is just a VM, not yet a functioning session host. If registration does not complete, it usually means that VM creation failed or hit a significant provisioning problem. An admin should either perform a "clean up" or "resume" operation on the VM creation task before the VM can be managed as a session host.
Still having issues after checking the health checks?
If you have worked through the health check table and the session host still is not behaving as expected, see Microsoft's Your issue isn't listed here or wasn't resolved. It covers uninstalling the agent, boot loader, and stack components, removing the session host from the host pool, generating a new registration key, and reinstalling and re-registering the agent.
If you need to sign in to a session host as a local administrator to work on the AVD agent, see Troubleshoot Unable to Sign In to Session Host VMs as Local Administrator.
Comments (0 comments)