Connection issues on pooled AVD Session Hosts in an Azure AD Only environment: ConnectionFailedAdErrorNoSuchMember

Engel Bruno, B2B-INA-SES-WPS 0 Reputation points
2026-04-10T12:40:31.9466667+00:00

Connection issues on pooled AVD Session Hosts in an Azure AD Only environment: Your Remote Desktop Services session has ended. An error occurred while the connection was being established.

AVD Session Hosts are only Microsoft Entra joined, the users are synced on-premises.

In most cases, the connection to one of the pooled AVD session hosts works the first time you click on the published desktop in the Windows app.

But sometimes it takes two, three or more attempts to connect to one of the pooled AVD session hosts.

The following error message appears in the Insight and event log of the AVD session host: ConnectionFailedAdErrorNoSuchMember

The user cannot access a pooled AVD Session Host because the Azure Role "Virtual Machine User Login" could not be assigned, or the AzureAD user could not be assigned to the local group "RemoteDesktopUsers":

System.ComponentModel.Win32Exception: NetLocalGroupAddMembers failed. Did not add user to RemoteDesktopUsers group. Error code = 1387

All users and AVD session hosts are configured correctly, the error occurs sporadically and disappears again without having to change anything.

We suspect that the dynamic assignment of the RBAC role "Virtual Machine User Login" does not always work when the session is started.

Does anyone know this problem?

Microsoft Security | Microsoft Entra | Microsoft Entra ID

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.