Forum Discussion
Internal error occurred when connecting to RD
Hi Hermanbonnie ,
Could you exec this cmd ?
Get-RdsDiagnosticActivities -TenantName $myTenantName -UserName "UPN@UPN.com" -Detailed | Select-Object Errors -ExpandProperty errors
This will give the details from the errors in this case.
- HermanbonnieSep 04, 2019Copper Contributor
Hi michawets ,
Please see the result below:
PS C:\WINDOWS\system32> Get-RdsDiagnosticActivities -TenantName $myTenantName -UserName "UPN@DOMAIN.COM" -Detailed | Select-Object Errors -ExpandProperty errors
Errors : {Microsoft.RDInfra.Diagnostics.Common.DiagnosticsErrorInfo}
ErrorSource : RDAgent
ErrorOperation : AddUserToRDUGroup
ErrorCode : -2147467259
ErrorCodeSymbolic : ConnectionFailedAdErrorNoSuchMember
ErrorMessage : Failed to add user = ≤UPN@DOMAIN.COM≥ to group = Remote Desktop Users. Reason: Win32.ERROR_NO_SUCH_MEMBER
ErrorInternal : False
ReportedBy : RDGateway
Time : 04/09/2019 10:27:45- michawetsSep 04, 2019Iron Contributor
Hi Hermanbonnie ,
Just a small question: is the user available in both Windows AD & Azure AD?
Is it in both cases the same UPN?
And perhaps this could be the issue:
https://docs.microsoft.com/en-us/azure/virtual-desktop/troubleshoot-client-connection#error-o_add_user_to_group_failed--failed-to-add-user--username-to-group--remote-desktop-users-reason-win32error_no_such_member
- HermanbonnieSep 05, 2019Copper Contributor
Hi michawets ,
Is it mandatory to join the Virtual desktop to a Windows active directory domain?
I was under the impression that the setup of virtual desktop joins the VD to Azure AD and users in that Azure AD can logon to it.
There is no mention of an on-prem AD requirement in the documentation.