Jun 07 2021 03:58 AM - edited Jun 07 2021 03:58 AM
Hi,
I have setup an Azure function to lookout for problem WVD session hosts (VMs running for more that 15 mins but not available in the host pool), which then shuts them down and sets Drain mode on.
I now want to create a Logic App that would check for Session hosts with Drain mode on and then email me if any are found (so that I can be warned of potentially problematic session hosts).
But, I don't seem to be able to find the Drain Mode / Allow New Sessions value in any of the WVD KQL tables - am I missing something here? How can I check for this Session host status in a logic app?
Thanks
Gary
Jun 07 2021 06:25 AM
Jun 07 2021 06:49 AM
Jun 07 2021 07:07 AM
I don't believe there is a way to check if a Host is in Drain mode
For Allow New Sessions we are running PowerShell with Automation to get those details and more..
Mar 06 2022 10:00 PM
@David Taig can you help me with how you have setup this report in your screenshot.
is the script available somewhere ?
Sep 19 2024 12:22 AM