Troubleshoot Session Host Availability
A session host VM may display a status of Unavailable.
Alternatively, an "AVD session host not found" message is displayed:
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. Please see this Microsoft article for current statuses.
The statuses are defined as follows:
Available: The AVD agent is successfully communicating with the AVD Management Service, and is ready to accept user sessions.
Unavailable: The AVD agent has not successfully communicated with the AVD Management Service, or the agent is unable to update itself to the latest version. This can also show temporarily while AVD waits for the OS to boot up and the agent to come online. In this scenario, the AVD agent did register to the AVD service.
AVD Session Host not found: Nerdio Manager has recognized that a VM in Azure was created and linked with Nerdio Manager, but the corresponding agent was either not installed/registered, or has been removed from AVD's registration list. The AVD agent did not register to the AVD service.
All session host VMs must have the AVD agent in order to communicate with the AVD Broker service and receive user sessions. The AVD agent's core components can be found under Remote Desktop Agent Boot Loader and Remote Desktop Services Infrastructure Agent in Programs and Features.
Unless the agent is installed, registered to AVD Service, and able to report its status, the session host VM is unable to receive sessions from the AVD management service.
Because of this, Nerdio Manager does not allow management of a session host VM without the AVD agent installed and registered, since it usually indicates the session host VM was not successfully created, or there is a significant problem with session host VM provisioning. Nerdio Manager does this to prevent you from using the session host VM. An admin should either perform a "clean up" or "resume" on the session host VM creation task before continuing with management of the session host VM.
Optionally, if the session host states "AVD Session host Unavailable," you could attempt to fix the session host VM manually, but this is not recommended because it is more labor intensive.
Note: This method only works for AVD V2 and not AVD V1/Classic.
To fix the problem manually:
In the Azure portal, navigate to Host pools.
Select the host pool where the session host VM is located.
Copy the registration key.
Download and run the installer. See this Microsoft article for details.
When prompted, enter the registration key.