Aug 29 2019 05:09 AM
We have set up a WVD tenant but have not been able to logon to the VM.
When connecting we get the error "Internal error occurred".
Please see the output of the get-rdsdiagnosticsactivies below:
PS C:\WINDOWS\system32> Get-RdsDiagnosticActivities -TenantName $myTenantName -UserName "UPN@UPN.com" -Detailed
ActivityId : aa119e5d-cbcf-4a96-a297-bc16f4cb0000
ActivityType : Connection
StartTime : 29/08/2019 14:03:45
EndTime : 29/08/2019 14:03:51
UserName : UPN@UPN.com
RoleInstances : Workstationname;mrs-eus2r1c001-rdgateway-prod-staging::RD0004FFA4C4AF;mrs-eus2r1c001-rdbroker-prod-staging::RD0003FF8BA99A;≤WVDNDI-0
.ndi.nl≥
Outcome : Failure
Status : Completed
Details : {[ClientOS, WINDOWS; 10.0.18362], [ClientVersion, 1.2.246.18950], [ClientType, MSRDC], [PredecessorConnectionId, ]...}
LastHeartbeatTime : 29/08/2019 14:05:23
Checkpoints : {LoadBalancedNewConnection, TransportConnecting, TransportConnected, RdpStackDisconnect}
Errors : {Microsoft.RDInfra.Diagnostics.Common.DiagnosticsErrorInfo}
ActivityId : 992eed1a-b079-4c2b-91e5-7f0eecedb7a6
ActivityType : Feed
StartTime : 29/08/2019 14:03:36
EndTime : 29/08/2019 14:03:36
UserName : UPN@UPN.com
RoleInstances : rdwebclient;mrs-eus2r1c001-rdbroker-prod-staging::RD0003FF8BA99A
Outcome : Success
Status : Completed
Details : {[ClientOS, Win32 Chrome 76.0.3809.132], [ClientVersion, 1.0.18.5], [ClientType, HTML], [ClientIPAddress, ]...}
LastHeartbeatTime : 29/08/2019 14:03:36
Checkpoints : {}
Errors : {}
Hopefully somebody will be able to guide us in the right direction on this.
Sep 03 2019 11:13 PM
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.
Sep 04 2019 01:29 AM
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
Sep 04 2019 01:36 AM
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:
Sep 05 2019 12:47 AM
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.
Sep 05 2019 02:05 AM
Hi @Hermanbonnie ,
Yes, I'm afraid your Sessionhost(s) needs to be in a Windows AD, which syncs with Azure AD
This can be
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:
The Azure virtual machines you create for Windows Virtual Desktop must be: