Forum Discussion
Health state unavailable DomainTrustCheck failed
Hi thanks for your reply, ive checked all of that and find no issues, ive looked on the event logs of one of the AVD's and in remote desktop services i get an error "CheckSessionHostTrustToDomainAsync - SessionHost unhealthy: SessionHost lost trust relationship with the domain mydomain" however if i run domain checks it comes back as no issue, then follows straight up with a warning "Op='DomainTrustHealthCheck' already set. Ignoring resultType=Success" which reads like its saying its ignoring the fact it came back with success but i could be misinterpreting that. theres a fairly useless log in Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\RDInfraAgent\HealthCheckReport which keeps returning failed if i do checks clear log then restart rdagent.
Potentially this was either a duff DC or a duplicate SPN, due to the intermittent effect its hard to know which it was but after some 30+ reboots/start shutdown/start's they all come back online as healthy/available every time.
Other DC's all server 2019, removed one was 2025, all the checks came back as healthy but i had noticed DNS was not replicating and network location needed alot of work to be domain, so as it was a New VM i decided to get rid before it became more important rather than spend many more hours trying to resolve the DC issue. will likely use 2022 instead