Problems while connecting with AvD

Patrick Henschke 2 Reputation points
2022-12-14T12:20:23.807+00:00

I have setup a new AvD Infrastructure, with no AADFS Service.
Everything works well, but I cannot connect to the AvD Session Host using the Remote Desktop App or even Webclient.
Error-Message:
Sorry, we couldn't connect to SessionDesktop.
A connection could not be established with the gateway due to an error.
If the problem occurs repeatedly, contact your administrator or technical support.

The User I'm using to connect has the correct assignment via a security group to the Hostpool. The VM is up and running, everything shows as wanted.
But still, no connection possible.

Any Hints to solve this?

The Azure Tenant actual has a Azure Free Plan, with a valid Subscription. Maybe this be an issue?

Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Michael Durkan 12,256 Reputation points MVP
    2022-12-14T12:29:00.047+00:00

    Hi

    how are your hosts configured, are they Azure AD or AD Domain-joined?

    Do you have Log Analytics set up to give you more insights into the exact errors? Its the best way to diagnose the issues.

    Create a Log Analytics Workspace - https://learn.microsoft.com/en-us/azure/azure-monitor/logs/quick-create-workspace

    How to use Log Analytics - https://learn.microsoft.com/en-us/azure/virtual-desktop/diagnostics-log-analytics

    Hope this helps,

    Thanks

    Michael Durkan

    • If the reply was helpful please upvote and/or accept as answer as this helps others in the community with similar questions. Thanks!

  2. TP 146.3K Reputation points Volunteer Moderator
    2022-12-14T13:17:46.86+00:00

    Hi,

    Please add targetisaadjoined:i:1 to your host pool RDP Properties, similar to below. After refreshing on client please test again.

    270621-avd-aadj-rdp-properties.jpg

    Thanks.

    -TP


  3. Patrick Henschke 2 Reputation points
    2022-12-14T16:00:30.83+00:00

    Here is a Message from the Log Analytics:

    Failed to add user = ≤AzureAD\xxx@X .com≥ to group = Remote Desktop Users. Reason: Win32.ERROR_NO_SUCH_MEMBER 1

    Another Issue i recently discoverd: The VM which is listed in the hostpool is NOT AAD joined. The VM is simply not available in the AAD Devices list.
    Although, the Detail View of the Session Host list shows status "available" with a DomainJoinedCheck successfull.
    I think the main reason is that the VM is not AAD joined.
    But why is that?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.