Forum Discussion
Internal error occurred when connecting to RD
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
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:
- 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.
- michawetsSep 05, 2019Iron Contributor
Hi Hermanbonnie ,
Yes, I'm afraid your Sessionhost(s) needs to be in a Windows AD, which syncs with Azure AD
This can be
- a Azure VM with Windows AD role installed, and Azure AD Connect
- Azure AD DS
It is mentioned in the Requirements from WVD:
https://docs.microsoft.com/en-us/azure/virtual-desktop/overview#requirements
Your infrastructure needs the following things to support Windows Virtual Desktop:
- An Azure Active Directory
- A Windows Server Active Directory in sync with Azure Active Directory. This can be enabled through:
- Azure AD Connect
- Azure AD Domain Services
- An Azure subscription, containing a virtual network that either contains or is connected to the Windows Server Active Directory
The Azure virtual machines you create for Windows Virtual Desktop must be:
- Standard domain-joined or Hybrid AD-joined. Virtual machines can't be Azure AD-joined.
- Running one of the following supported OS images.