User session, hard-stuck on AVD Host


Had a user that was hard stuck on a host. Couldn't log them off with Nerdio or with Remove-AzWVDUserSession. Only fix was to delete the machine, hung because it couldn't log off the user. This in turn inconvenienced the other 15 users on the box because they had to also log off, and did so with no issue. Anyone have a method for dislodging a user stuck like that?

2 Replies
Did you try logging onto the session host as admin and ending the session directly on the VM? That would be my first thought if stuck.
Problem was the host wouldn't accept new connections. Ended up just getting everyone off and deleting the host. AVD has been pretty garbage atm the moment between stuff like this and the failed agent upgrades that render a machine useless, feels pretty beta.