Home

Get-RDSSessionHost - Not showing any Session Hosts

%3CLINGO-SUB%20id%3D%22lingo-sub-886438%22%20slang%3D%22en-US%22%3EGet-RDSSessionHost%20-%20Not%20showing%20any%20Session%20Hosts%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-886438%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%26nbsp%3Bcurrently%20trying%20to%20deploy%20a%20Windows%20Virtual%20Desktop%20environment%20following%20this%20article%3A%20%3CA%20title%3D%22create-host-pools-powershell%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fcreate-host-pools-powershell%23register-the-virtual-machines-to-the-windows-virtual-desktop-host-pool%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ecreate-host-pools-powershell%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EI'm%20deploying%20with%20Windows%2010%20Enterprise%20multi-session%2C%20Version%201809%20-%20ImageSku%2019h1-evd.%3CBR%20%2F%3E%3CBR%20%2F%3EI've%20followed%20the%20above%20instructions%20to%20the%20letter%2C%20but%26nbsp%3Bi%20get%20the%20following%20when%20trying%20to%20launch%20the%20session%20%22%3CSPAN%3EWe%20couldn't%20connect%20to%20the%20gateway%20because%20of%20an%20error.%20If%20this%20keeps%20happening%2C%20ask%20your%20admin%20or%20tech%20support%20for%20help.%22%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20I%20run%20Get-RDSSessionHost%2C%20it%20returns%20no%20value.%3CBR%20%2F%3E%3CBR%20%2F%3EWhen%26nbsp%3BI%20run%20%3CSTRONG%3Eqwinsta%3C%2FSTRONG%3E%26nbsp%3B%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20614px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F134946i971695BFE83B9569%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22qwinsta.JPG%22%20title%3D%22qwinsta.JPG%22%20%2F%3E%3C%2FSPAN%3E%3CBR%20%2F%3EI've%20noticed%20that%20other%20users%20have%20experienced%20issues%20with%20missing%26nbsp%3BSide%20by%20Side%20Stack%3C%2FP%3E%3CP%3EHas%20anyone%20got%20this%20working%20with%20the%20latest%20version%20of%20Win%2010%20Enterprise%20multi-session%20(1809)%3F%20I've%20disabled%20GPO%2C%20firewall%2C%20to%20no%20avail.%3CBR%20%2F%3E%3CBR%20%2F%3EPlease%20help.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-886549%22%20slang%3D%22en-US%22%3ERe%3A%20Get-RDSSessionHost%20-%20Not%20showing%20any%20Session%20Hosts%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-886549%22%20slang%3D%22en-US%22%3E%3CP%3EAfter%20finding%20the%20enablesxsstackrc.ps1%20file%20and%20running%20it%2C%20i'm%20now%20getting%20this%20error%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EErrorSource%20%3A%20RDBroker%3CBR%20%2F%3EErrorOperation%20%3A%20AuthorizeUser%3CBR%20%2F%3EErrorCode%20%3A%20-2146233088%3CBR%20%2F%3EErrorCodeSymbolic%20%3A%20ConnectionFailedUserNotAuthorized%3CBR%20%2F%3EErrorMessage%20%3A%20User%20is%20not%20authorized%20to%20access%20the%20resource%20%E2%89%A4mth%3A%2F%2Flocalhost%2F4b0d95fc-ecb6-41da-9919-25c9c3246588%2F761af1d8-b8c1-4211-ff56-08d746461a2e%E2%89%A5%3CBR%20%2F%3EErrorInternal%20%3A%20False%3CBR%20%2F%3EReportedBy%20%3A%20RDGateway%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EThe%20User%20account%20is%20synced%20via%20Azure%20AD%20and%20has%20priviledges%20to%20access%20the%20VM%20directly%20(tested%20it)%3CBR%20%2F%3E%3CBR%20%2F%3EI've%20also%20tried%20removing%20the%20user%20with%20remove-RdsAppGroupUser%20and%20re-adding%2C%20to%20no%20avail.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-886550%22%20slang%3D%22en-US%22%3ERe%3A%20Get-RDSSessionHost%20-%20Not%20showing%20any%20Session%20Hosts%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-886550%22%20slang%3D%22en-US%22%3E%3CP%3ETried%20from%20Firefox%20(was%20using%20IE)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGetting%20this%20error%3A%3CBR%20%2F%3E%3CBR%20%2F%3EErrorSource%20%3A%20RDBroker%3CBR%20%2F%3EErrorOperation%20%3A%20LookupSessionHostPool%3CBR%20%2F%3EErrorCode%20%3A%20-2146233088%3CBR%20%2F%3EErrorCodeSymbolic%20%3A%20ConnectionFailedNoHealthyRdshAvailable%3CBR%20%2F%3EErrorMessage%20%3A%20Could%20not%20find%20any%20SessionHost%20available%20in%20specified%20pool%20%3D%20%E2%89%A4hostpool%20name%E2%89%A5%2C%20due%20to%20either%3A%20sessions%20are%20not%20allowed%2C%20no%20healthy%20host%20(RDAgent%20did%20not%20report%20health%20information)%2C%20session%20limit%20reached%20on%20all%20SessionHosts%20in%20the%3CBR%20%2F%3Epool%20or%20the%20pool%20is%20empty.%20Run%20Get-RdsHostPool%20and%20Get-RdsSessionHost%20cmdlets%20to%20get%20more%20information.%3CBR%20%2F%3EErrorInternal%20%3A%20False%3CBR%20%2F%3EReportedBy%20%3A%20RDGateway%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-886574%22%20slang%3D%22en-US%22%3ERe%3A%20Get-RDSSessionHost%20-%20Not%20showing%20any%20Session%20Hosts%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-886574%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F418107%22%20target%3D%22_blank%22%3E%40Matt88%3C%2FA%3E%26nbsp%3B%3A%20How%20did%20you%20go%20about%20setting%20up%20your%20host%20pool%3F%20Were%20you%20using%20the%20Azure%20Marketplace%2C%20the%20GitHub%20ARM%20template%2C%20or%20through%20manual%20processes%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-886580%22%20slang%3D%22en-US%22%3ERe%3A%20Get-RDSSessionHost%20-%20Not%20showing%20any%20Session%20Hosts%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-886580%22%20slang%3D%22en-US%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F305776%22%20target%3D%22_blank%22%3E%40christianmontoya%3C%2FA%3E%20-%20using%20the%20manual%20process.%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-886650%22%20slang%3D%22en-US%22%3ERe%3A%20Get-RDSSessionHost%20-%20Not%20showing%20any%20Session%20Hosts%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-886650%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F418107%22%20target%3D%22_blank%22%3E%40Matt88%3C%2FA%3E%26nbsp%3B%3A%20You%20shouldn't%20need%20to%20run%20any%20%22enablesxsstackrc.ps1%22%20anymore.%20Were%20you%20using%20this%20guide%20to%20install%20the%20correct%20agents%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fcreate-host-pools-powershell%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fcreate-host-pools-powershell%3C%2FA%3E%26nbsp%3B%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-886654%22%20slang%3D%22en-US%22%3ERe%3A%20Get-RDSSessionHost%20-%20Not%20showing%20any%20Session%20Hosts%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-886654%22%20slang%3D%22en-US%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F305776%22%20target%3D%22_blank%22%3E%40christianmontoya%3C%2FA%3E%20-%20yes%20that%E2%80%99s%20the%20article%20I%20followed.%20I%E2%80%99ve%20even%20deleted%20the%20hostpool%20and%20started%20from%20scratch%203%20times.%20For%20some%20reason%20the%20session%20host%20doesn%E2%80%99t%20seem%20to%20register%20in%20the%20host%20pool.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-887098%22%20slang%3D%22en-US%22%3ERe%3A%20Get-RDSSessionHost%20-%20Not%20showing%20any%20Session%20Hosts%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-887098%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20just%20tried%20reploying%20everything%20and%20chaning%20the%20O%2FS%20image%20to%20use%20Server%202019%20Datacenter.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESame%20issue%20with%20with%20Get-RdsSessionHost%20-TenantName%20%3CTENANT%3E%20-HostPoolName%20%22%3CHOSTPOOL%3E%20returning%20nothing.%3CBR%20%2F%3E%3CBR%20%2F%3EThere%20was%20an%20additional%20error%20in%20the%20eventlog%20with%20the%20RDAgentBootLoader%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FHOSTPOOL%3E%3C%2FTENANT%3E%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3EBootLoader%20exception%3ASystem.AggregateException%3A%20One%20or%20more%20errors%20occurred.%20---%26gt%3B%20System.Exception%3A%20Could%20not%20resolve%20a%20service%20of%20type%20'Microsoft.RDInfra.ScheduledTasks.HostedServiceExecutor'%20for%20the%20parameter%20'hostedServiceExecutor'%20of%20method%20'Configure'%20on%20type%20'Microsoft.RDInfra.RDAgent.Service.Startup'.%20---%26gt%3B%20System.ArgumentException%3A%20IDX12739%3A%20JWT%3A%20'%5BPII%20is%20hidden.%20For%20more%20details%2C%20see%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2FIdentityModel%2FPII%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2FIdentityModel%2FPII%3C%2FA%3E.%5D'%20has%20three%20segments%20but%20is%20not%20in%20proper%20JWS%20format.%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECurrently%20getting%20both%20this%20error%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3EErrorSource%20%20%20%20%20%20%20%3A%20RDBroker%0AErrorOperation%20%20%20%20%3A%20AuthorizeUser%0AErrorCode%20%20%20%20%20%20%20%20%20%3A%20-2146233088%0AErrorCodeSymbolic%20%3A%20ConnectionFailedUserNotAuthorized%0AErrorMessage%20%20%20%20%20%20%3A%20User%20%E2%89%A4aaduser%E2%89%A5%20is%20not%20authorized%20to%20access%20the%20resource%20%E2%89%A4mth%3A%2F%2Flocalhost%2F4b0d95fc-ecb6-41da-9919-25c9c3246588%2F0d20d098-f771-4e6b-7426-08d7463e4495%E2%89%A5%0AErrorInternal%20%20%20%20%20%3A%20False%0AReportedBy%20%20%20%20%20%20%20%20%3A%20RDGateway%0ATime%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3A%2001%2F10%2F2019%2020%3A01%3A09%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3Eand%20this%20error%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3EErrorSource%20%20%20%20%20%20%20%3A%20RDBroker%0AErrorOperation%20%20%20%20%3A%20LookupSessionHostPool%0AErrorCode%20%20%20%20%20%20%20%20%20%3A%20-2146233088%0AErrorCodeSymbolic%20%3A%20ConnectionFailedNoHealthyRdshAvailable%0AErrorMessage%20%20%20%20%20%20%3A%20Could%20not%20find%20any%20SessionHost%20available%20in%20specified%20pool%20%3D%20%E2%89%A4hostpool%E2%89%A5%2C%20due%20to%20either%3A%20sessions%20are%20not%20allowed%2C%20no%20healthy%20host%20(RDAgent%20did%20not%20report%20health%20information)%2C%20session%20limit%20reached%20on%20all%20SessionHosts%20in%20the%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20pool%20or%20the%20pool%20is%20empty.%20Run%20Get-RdsHostPool%20and%20Get-RdsSessionHost%20cmdlets%20to%20get%20more%20information.%0AErrorInternal%20%20%20%20%20%3A%20False%0AReportedBy%20%20%20%20%20%20%20%20%3A%20RDGateway%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethoughts%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-887229%22%20slang%3D%22en-US%22%3ERe%3A%20Get-RDSSessionHost%20-%20Not%20showing%20any%20Session%20Hosts%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-887229%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F418107%22%20target%3D%22_blank%22%3E%40Matt88%3C%2FA%3E%26nbsp%3B%3A%20Do%20you%20have%20any%20firewalls%20that%20would%20limit%20outbound%20connectivity%3F%20The%20error%20of%20%22NoHealthyRdshAvailable%22%20makes%20sense%20if%20Get-RdsHostPool%20didn't%20return%20anything.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIt%20largely%20looks%20like%20it%20can%20reach%20the%20service%20or%20there's%20something%20on%20the%20image%20that%20is%20preventing%20the%20right%20DLLs%20to%20be%20loaded%20at%20registration%20time.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-888352%22%20slang%3D%22en-US%22%3ERe%3A%20Get-RDSSessionHost%20-%20Not%20showing%20any%20Session%20Hosts%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-888352%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F305776%22%20target%3D%22_blank%22%3E%40christianmontoya%3C%2FA%3E%26nbsp%3B-%20I%20don't%20have%20any%20problems%20getting%20out%20to%20the%20internet%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20tried%20psping%20rdbroker.wvdselfhost.microsoft.com%3A443%20and%20rdweb.wvd.microsoft.com%20and%20both%20work%20fine.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-888472%22%20slang%3D%22en-US%22%3ERe%3A%20Get-RDSSessionHost%20-%20Not%20showing%20any%20Session%20Hosts%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-888472%22%20slang%3D%22en-US%22%3E%3CP%3EIt%20works%20fine%20when%20using%20the%20Martetplace%20deployment%20using%20Windows%2010%20enterprise.%20The%20manual%20process%20just%20doesn't%20work%20right%20now.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3ESessionHostName%20%20%20%20%3A%20sessionhost.name%0ATenantName%20%20%20%20%20%20%20%20%20%3A%20tenant.name%0ATenantGroupName%20%20%20%20%3A%20Default%20Tenant%20Group%0AHostPoolName%20%20%20%20%20%20%20%3A%20hostpool.name%0AAllowNewSession%20%20%20%20%3A%20True%0ASessions%20%20%20%20%20%20%20%20%20%20%20%3A%200%0ALastHeartBeat%20%20%20%20%20%20%3A%2002%2F10%2F2019%2009%3A40%3A38%0AAgentVersion%20%20%20%20%20%20%20%3A%201.0.833.5%0AAssignedUser%20%20%20%20%20%20%20%3A%20%0AOsVersion%20%20%20%20%20%20%20%20%20%20%3A%2010.0.18362%0ASxSStackVersion%20%20%20%20%3A%20rdp-sxs190905003%0AStatus%20%20%20%20%20%20%20%20%20%20%20%20%20%3A%20Available%0AUpdateState%20%20%20%20%20%20%20%20%3A%20Succeeded%0ALastUpdateTime%20%20%20%20%20%3A%2002%2F10%2F2019%2009%3A41%3A06%0AUpdateErrorMessage%20%3A%20%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-892588%22%20slang%3D%22en-US%22%3ERe%3A%20Get-RDSSessionHost%20-%20Not%20showing%20any%20Session%20Hosts%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-892588%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F418107%22%20target%3D%22_blank%22%3E%40Matt88%3C%2FA%3E%26nbsp%3B%3A%20Can%20you%20re-run%20the%26nbsp%3B%3CSTRONG%3EGet-RdsSessionHost%26nbsp%3B%3C%2FSTRONG%3Ecmdlet%20and%20see%20if%20the%20version%20of%20the%20AgentVersion%20updated%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-895033%22%20slang%3D%22en-US%22%3ERe%3A%20Get-RDSSessionHost%20-%20Not%20showing%20any%20Session%20Hosts%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-895033%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F305776%22%20target%3D%22_blank%22%3E%40christianmontoya%3C%2FA%3E-%20I've%20managed%20to%20create%20my%20own%20custom%20template%20and%20now%20only%20use%20the%20DSC%20scripts%20from%20the%20Marketplace%2FGithub%20versions%20and%20it%20all%20works%20great.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20had%20to%20get%20this%20solution%20working%2C%20so%20i%20had%20to%20tear%20down%20my%20manual%20attempts.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20custom%20template%20%2B%20DSC%20scripts%20are%20deploying%20Server%202016.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ei%20noticed%20SxS%20was%20there%20when%20i%20ran%20qwinsta%20in%20my%20working%20deployment.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-897376%22%20slang%3D%22en-US%22%3ERe%3A%20Get-RDSSessionHost%20-%20Not%20showing%20any%20Session%20Hosts%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-897376%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F418107%22%20target%3D%22_blank%22%3E%40Matt88%3C%2FA%3E%26nbsp%3B%3A%20Is%20there%20any%20large%20gap%20between%20your%20solution%20and%20the%20one%20provided%20in%20that%20GitHub%20repo%20that%20we%20should%20be%20addressing%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Matt88
Occasional Contributor

I'm currently trying to deploy a Windows Virtual Desktop environment following this article: create-host-pools-powershell 

I'm deploying with Windows 10 Enterprise multi-session, Version 1809 - ImageSku 19h1-evd.

I've followed the above instructions to the letter, but i get the following when trying to launch the session "We couldn't connect to the gateway because of an error. If this keeps happening, ask your admin or tech support for help."

If I run Get-RDSSessionHost, it returns no value.

When I run qwinsta 
qwinsta.JPG
I've noticed that other users have experienced issues with missing Side by Side Stack

Has anyone got this working with the latest version of Win 10 Enterprise multi-session (1809)? I've disabled GPO, firewall, to no avail.

Please help.

13 Replies

After finding the enablesxsstackrc.ps1 file and running it, i'm now getting this error:

 

ErrorSource : RDBroker
ErrorOperation : AuthorizeUser
ErrorCode : -2146233088
ErrorCodeSymbolic : ConnectionFailedUserNotAuthorized
ErrorMessage : User is not authorized to access the resource ≤mth://localhost/4b0d95fc-ecb6-41da-9919-25c9c3246588/761af1d8-b8c1-4211-ff56-08d746461a2e≥
ErrorInternal : False
ReportedBy : RDGateway

The User account is synced via Azure AD and has priviledges to access the VM directly (tested it)

I've also tried removing the user with remove-RdsAppGroupUser and re-adding, to no avail.

Tried from Firefox (was using IE)

 

Getting this error:

ErrorSource : RDBroker
ErrorOperation : LookupSessionHostPool
ErrorCode : -2146233088
ErrorCodeSymbolic : ConnectionFailedNoHealthyRdshAvailable
ErrorMessage : Could not find any SessionHost available in specified pool = ≤hostpool name≥, 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

@Matt88 : How did you go about setting up your host pool? Were you using the Azure Marketplace, the GitHub ARM template, or through manual processes?

@christianmontoya - using the manual process.

@Matt88 : You shouldn't need to run any "enablesxsstackrc.ps1" anymore. Were you using this guide to install the correct agents: https://docs.microsoft.com/en-us/azure/virtual-desktop/create-host-pools-powershell ?

@christianmontoya - yes that’s the article I followed. I’ve even deleted the hostpool and started from scratch 3 times. For some reason the session host doesn’t seem to register in the host pool.

I've just tried reploying everything and changing the O/S image to use Server 2019 Datacenter.

 

Same issue with with Get-RdsSessionHost -TenantName <tenant> -HostPoolName "<hostpool> returning nothing.

There was an additional error in the eventlog with the RDAgentBootLoader:

 

BootLoader exception:System.AggregateException: One or more errors occurred. ---> System.Exception: Could not resolve a service of type 'Microsoft.RDInfra.ScheduledTasks.HostedServiceExecutor' for the parameter 'hostedServiceExecutor' of method 'Configure' on type 'Microsoft.RDInfra.RDAgent.Service.Startup'. ---> System.ArgumentException: IDX12739: JWT: '[PII is hidden. For more details, see <a href="<a href="https://aka.ms/IdentityModel/PII" target="_blank">https://aka.ms/IdentityModel/PII</a>" target="_blank"><a href="https://aka.ms/IdentityModel/PII</a" target="_blank">https://aka.ms/IdentityModel/PII</a</a>>.]' has three segments but is not in proper JWS format.

 

 

Currently getting both this error

 

ErrorSource       : RDBroker
ErrorOperation    : AuthorizeUser
ErrorCode         : -2146233088
ErrorCodeSymbolic : ConnectionFailedUserNotAuthorized
ErrorMessage      : User ≤aaduser≥ is not authorized to access the resource ≤mth://localhost/4b0d95fc-ecb6-41da-9919-25c9c3246588/0d20d098-f771-4e6b-7426-08d7463e4495≥
ErrorInternal     : False
ReportedBy        : RDGateway
Time              : 01/10/2019 20:01:09

 

and this error

 

ErrorSource       : RDBroker
ErrorOperation    : LookupSessionHostPool
ErrorCode         : -2146233088
ErrorCodeSymbolic : ConnectionFailedNoHealthyRdshAvailable
ErrorMessage      : Could not find any SessionHost available in specified pool = ≤hostpool≥, 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

 

 

thoughts?

@Matt88 : Do you have any firewalls that would limit outbound connectivity? The error of "NoHealthyRdshAvailable" makes sense if Get-RdsHostPool didn't return anything.

 

It largely looks like it can reach the service or there's something on the image that is preventing the right DLLs to be loaded at registration time. 

@christianmontoya - I don't have any problems getting out to the internet

 

I've tried psping rdbroker.wvdselfhost.microsoft.com:443 and rdweb.wvd.microsoft.com and both work fine.

It works fine when using the Martetplace deployment using Windows 10 enterprise. The manual process just doesn't work right now.

 

SessionHostName    : sessionhost.name
TenantName         : tenant.name
TenantGroupName    : Default Tenant Group
HostPoolName       : hostpool.name
AllowNewSession    : True
Sessions           : 0
LastHeartBeat      : 02/10/2019 09:40:38
AgentVersion       : 1.0.833.5
AssignedUser       : 
OsVersion          : 10.0.18362
SxSStackVersion    : rdp-sxs190905003
Status             : Available
UpdateState        : Succeeded
LastUpdateTime     : 02/10/2019 09:41:06
UpdateErrorMessage : 

 

@Matt88 : Can you re-run the Get-RdsSessionHost cmdlet and see if the version of the AgentVersion updated?

@christianmontoya- I've managed to create my own custom template and now only use the DSC scripts from the Marketplace/Github versions and it all works great.

 

I had to get this solution working, so i had to tear down my manual attempts.

 

My custom template + DSC scripts are deploying Server 2016.

 

i noticed SxS was there when i ran qwinsta in my working deployment.

@Matt88 : Is there any large gap between your solution and the one provided in that GitHub repo that we should be addressing?

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
35 Replies
Extentions Synchronization
ChirmyRam in Discussions on
3 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
9 Replies