Forum Discussion
Windows Virtual Desktop - Your computer can't connect to Remote Desktop Gateway server
- Mar 28, 2019
I think I may have worked out my problem, I have been testing with a user account I setup in Azure AD. I have only just setup the tenant and AD domain to test WVD. I have just tested with an account I had created on the AD Server (Still in Azure but with AD Connect installed to sync to AAD) and this has worked fine. I have also created another AAD account and tried to connect to the desktop but this failed with the same error.
Interestingly I am getting prompted to enter my credentials again upon connection, not sure if I have missed something with the SSO settings?
That is good to know, but no I have do not have a proxy configured I am connected direct to my home broadband and not connected to my company VPN either.
Cheers
Is your SessionHost marked as available? You can check using the following PowerShell command:
Get-RdsSessionHost -TenantName "[your_tennat_name]" -HostPoolName "[your_hostpool_name]"
- tommy_barnesApr 17, 2019Brass Contributor
Did you guys have to install anymore options in powershell to get the RdsSessionHost command to work? anthonyschneider365
- ray077Mar 28, 2019Copper Contributor
Yes showing as Available - see output below. I have also tested from another laptop with the same result.
SessionHostName : vmWVDMW-0.domainname.org.uk
TenantName : MyWorkplace
TenantGroupName : Default Tenant Group
HostPoolName : My Workplace HP1
AllowNewSession : True
Sessions : 0
LastHeartBeat : 28/03/2019 11:52:08
AgentVersion : 1.0.1.8
AssignedUser :
Status : Available
StatusTimestamp : 28/03/2019 11:52:08Cheers
- anthonyschneider365Mar 28, 2019Copper Contributor
Ok - that's good. Have you taken a look at what's being reported in the Diagnostic Activities?
Get-RdsDiagnosticActivities -TenantName ",tenant." -Detailed
https://docs.microsoft.com/en-us/azure/virtual-desktop/diagnostics-role-service
- ray077Mar 28, 2019Copper ContributorJust run the log, I think this is the entry that relates to the connection failure, but it doesn't mean much to me I am afraid. (I have changed the username and domain name btw)
ActivityId : 84bbffaa-7304-4c9e-8905-0d7e7f4a0000
ActivityType : Connection
StartTime : 28/03/2019 11:57:52
EndTime : 28/03/2019 11:59:11
UserName : user@myworkplace.org.uk
RoleInstances : rdwebclient;mrs-eus2r1c002-rdbroker-prod-staging::RD0003FF45DF76;mrs-eus2r1c002-rdgateway-prod-stag
ing::RD0003FF45E716;≤vmWVDMW-0.myworkplace.org.uk≥;mrs-eus2r1c001-rdbroker-prod::RD0004FFA4B301
Outcome : Failure
Status : Completed
Details : {[ClientOS, Win32 Edge 18.17763], [ClientVersion, 1.0.13-wvd], [ClientType, HTML],
[PredecessorConnectionId, ]...}
LastHeartbeatTime : 28/03/2019 12:00:39
Checkpoints : {LoadBalancedNewConnection, RdpStackDisconnect}
Errors : {Microsoft.RDInfra.Diagnostics.Common.DiagnosticsErrorInfo,
Microsoft.RDInfra.Diagnostics.Common.DiagnosticsErrorInfo}