A cloud-based identity and access management service for securing user authentication and resource access
Connection issues on pooled AVD Session Hosts in an Azure AD Only environment: ConnectionFailedAdErrorNoSuchMember
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?