Solution - if you can't connect to WVD desktop and got a message about Gateway error

Copper Contributor

I got a message "We couldn't connect to the gateway because of an error. If this keeps happening, ask your admin or tech support for help."

After reinstalled twice of some Hosts Pools and WVD tenants I have found a reason.

I tried to connect with a user that was account only in Azure AD. 

This account wasn't synced with local (on-premise) AD DS.

When I log in with user synced through AD Connect with both Azure AD and on-premise AD DS I could login in remote desktop.

So should be attentive and see the requirements for WVD :

  • An Azure Active Directory
  • A Windows Server Active Directory in sync with Azure Active Directory. You can configure this with one of the following:
    • Azure AD Connect (for hybrid organizations)
    • Azure AD Domain Services (for hybrid or cloud organizations)
  • An Azure subscription that contains a virtual network that either contains or is connected to the Windows Server Active Directory

See https://docs.microsoft.com/en-us/azure/virtual-desktop/overview#requirements

 

2 Replies

@serge it should also work with Cloud-Only (Azure AD plus Azure AD Domain Services) users. But the user has to change their password themselves in Azure AD/Office 365 first. If you go with the initial password there is no legacy password hash transferred from Azure AD to Azure AD Domain Services.

same issue here "We couldn't connect to the gateway because of an error. " where can i found logs for that? Logon via AAD-created user at https://rdweb.wvd.microsoft.com/arm/webclient/index.html is successfull but no session-logon possible