Forum Discussion

ramitadros's avatar
ramitadros
Copper Contributor
Sep 19, 2019

Created a WVD Pool using custom VM, but can't login to it when accessing the pool

I've created a WVD pool, but when I log in to the WVD client or webclient and double click the pool name, I get the error below. I opened 3389 to VM to verify it's up and running

 

8 Replies

  • michawets's avatar
    michawets
    Iron Contributor

    Hi ramitadros ,

     

    You could check what is going wrong using the Get-RdsDiagnosticActivities cmdlet:

    https://docs.microsoft.com/en-us/azure/virtual-desktop/diagnostics-role-service

     

    Filter out the Connection attempt, get the Detailed logging (using the -Detailed parameter) and expand the Errors property

    • ramitadros's avatar
      ramitadros
      Copper Contributor

      michawets  this is what i get

       

      ErrorSource       : RDBroker

      ErrorOperation    : LookupSessionHostPool

      ErrorCode         : -2146233088

      ErrorCodeSymbolic : ConnectionFailedNoHealthyRdshAvailable

      ErrorMessage      : Could not find any SessionHost available in specified pool = ≤poolE≥, due to either: sessions are not allowed, no healthy host (RDAgent did not report health information), session limit reached

                          on all SessionHosts in the pool or the pool is empty. Run Get-RdsHostPool and Get-RdsSessionHost cmdlets to get more information.

      ErrorInternal     : False

      ReportedBy        : RDGateway

      Time              : 9/20/2019 9:11:36 AM

       

      So I ran Get-RdsSessionHost:

       

      SessionHostName    : vdiE-0.xxxxx.onmicrosoft.com

      TenantName         :xxxxx.onmicrosoft.com

      TenantGroupName    : Default Tenant Group

      HostPoolName       : poolE

      AllowNewSession    : True

      Sessions           : 0

      LastHeartBeat      : 9/19/2019 5:50:04 PM

      AgentVersion       : 1.0.1345.5400

      AssignedUser       :

      OsVersion          : 10.0.18362

      SxSStackVersion    : rdp-sxs190816002

      Status             : SxSStackListenerNotReady

      UpdateState        : Succeeded

      LastUpdateTime     : 9/19/2019 4:11:19 PM

      UpdateErrorMessage : 

       

      Can it be that I didn't install the RD agent before i create the image. But I did install it after while trying to resolve this issue?

       

      • michawets's avatar
        michawets
        Iron Contributor
        Hi ramitadros,

        Can you check if the Windows Virtual Desktop Agent and Windows Virtual Desktop Agent Boot Loader are correctly installed?
        https://docs.microsoft.com/en-us/azure/virtual-desktop/troubleshoot-vm-configuration#windows-virtual-desktop-agent-and-windows-virtual-desktop-boot-loader-are-not-installed

        If not, follow these steps to install or reinstall both agents on your VM:
        https://docs.microsoft.com/en-gb/azure/virtual-desktop/create-host-pools-powershell#register-the-virtual-machines-to-the-windows-virtual-desktop-preview-host-pool

        After that, your sessionhost should end up as available in the Get-RdsSessionHost cmdlet.

        Hope this helps

        Kind regards

Resources