Forum Discussion
Get-RDSSessionHost - Not showing any Session Hosts
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.
- Matt88Oct 02, 2019Copper Contributor
Christian_Montoya - 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.