AVD Can't Connect

Deepak Kumar 145 Reputation points
2026-05-19T06:59:54.89+00:00

Our RBKC-AVD is up but its not accessible for the users, pls help

Azure Virtual Desktop
Azure Virtual Desktop

A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.


Answer accepted by question author
Nikhil Duserla 9,950 Reputation points Microsoft External Staff Moderator
2026-05-26T10:30:40.1666667+00:00

Hello @Deepak Kumar ,I would like to share a quick fix for scenarios where the Host Pool session hosts appear in a "Shutdown" state, even though the Azure VMs are running and administrators are able to access them successfully via RDP or remote access tools.

Recommended remediation steps:

  1. Uninstall the Azure Virtual Desktop Agent, Boot Loader, and AVD Stack components from the affected VM.
  2. Remove the session host from the Host Pool.
  3. Generate a new registration key for the session host.
  4. Reinstall the latest Azure Virtual Desktop Agent and Boot Loader components, then re-register the VM with the Host Pool.

This process typically helps resolve stale registration or agent communication issues between the session host and the Azure Virtual Desktop service. Please refer to this link- https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-desktop/troubleshoot-agent#step-1-uninstall-all-agent-boot-loader-and-stack-component-programs

Once vm is back to healthy state, ensure enable the role for the user with the Virtual Machine User Login.

To troubleshoot AVD VM that are in a Running state but report a Shutdown health status, begin by restarting the VM from the Azure portal to resolve any potential state inconsistencies. Additionally, verify the Azure VM Agent status to ensure it is running and up to date. If issues persist, consider resetting or upgrading the agent following the recommended steps provided in the Azure documentation.

Please follow the below given steps-

  1. Navigate to the VM\Extensions + applications
  2. Note the Version, for Win11ms, I would expect 2.2.0.0.
  3. Click the Uninstall button.
  4. Reboot the VM
  5. Once the VM is back online after reboot, open Cloud Shell
  6. Run the following in Cloud Shell substituting in your Resource Group name, VM name, and Location.

Azure PowerShell

Set-AzVMExtension -ResourceGroupName "<RESOURCE GROUP NAME>" -VMName "<VM NAME>" -Name "AADLoginForWindows" -Location "<LOCATION>" -Publisher "Microsoft.Azure.ActiveDirectory" -Type "AADLoginForWindows" -TypeHandlerVersion "2.2"

In the Azure portal, go to AVD VM > Select Access Control (IAM) > Select Role Assignments > Confirm that the user account has been granted either the Virtual Machine User Login or Virtual Machine Administrator Login role.

Ensure that the RDP property targetisaadjoined:i:1 was added to the AVD host pool. To do this, navigate to the Azure portal > Select the host pool configured for Azure AD Join > Select the RDP Properties blade > Select the Advanced Tab > Add targetisaadjoined:i:1.

Disable security defaults by navigating to Entra ID > Manage > Properties > Manage Security Defaults > Disable.

Add Conditional Access policies to exclude the VM from MFA by adding the user.

Enable Conditional Access policies and exclude the users and groups as needed.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Oldest
  1. Alex Burlachenko 25,290 Reputation points MVP Volunteer Moderator
    2026-05-19T11:15:01.1266667+00:00

    hi Deepak Kumar & thanks for join me here at Q&A portal,

    start with host pool health + user assignment + AVD agent status but I think we need more details & for AVD “VM is up but users cant connect” check the session hosts must be available, not Unavailable or in Drain mode, AVD agent and bootloader services must be healthy, host pool registration token should not be expired, users must be assigned to the application group & the workspace must be associated with that app group.

    look at azure service health for avd in that region, coz if all users suddenly fail, it may be platform side. On each session host, restart RDAgentBootLoader and Remote Desktop Services, loo at event viewer under avd agent logs. If hosts show unavailable, reinstall update the AVD agent. If hosts are available but only users fail, check RBAC/app group assignment and Conditional Access MFArgds,

    Alex

    &

    If my answer was helpful pls mark it and additional thx if u follow me at Q&A portal
    

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.