Forum Discussion

Joedurnal's avatar
Joedurnal
Copper Contributor
Sep 16, 2024

Inconsistency with health state and drain mode status in host pool

When viewing in the list, health state is not updating, see 2nd VM in this list, shows deallocated, correct, but health state Available



2nd VM in the list when you click into the session host, shows correctly shut down


Also 2nd VM in the list above, shows drain mode off, but when clicked into the session host, drain mode shows on.  


using powershell Get-Azwvdsessionhost  - seems to match the portal list and shows the host Status as Active and AllowNewSession is True.

Update: After several minutes, these statuses do seem to catch up, but it is at least 10 minutes delayed, maybe more (I didn't have a clock on it).   

Update 2: the user session count returned by the portal and powershell are also incorrect.  

Resources