Sep 20 2022 04:31 PM - edited Sep 20 2022 04:36 PM
Some of our host pools have updated to this newer version of the AVD desktop client, and now when we shutdown these hosts the status now shows "Shutdown" instead of "Unavialable". Is this expected behavior? The new version also seemed to stop "Start VM on connect" setting from working.
I uninstalled the 1.0.5555.600 desktop agent and then reinstalled an older version, then got it to auto update and this seemed to fix this issue. As far as in the past with autoscale scripts, etc, if the VM was in a shutdown state it would not work. Is this new "Shutdown" status by design? Also noticed there is no release notes for this version of the AVD desktop agent.
Thanks
Sep 21 2022 04:36 AM
Sep 21 2022 05:59 AM
@Christian1990 I just removed the newest version. Then stopped the rdbootloader service from task manager then then installed the newest version of the desktop agent I could find for download, it was only 1.0.4x When I uninstalled the 1.0.5555.600 version it made my pool host unavailable until I reinstalled the older version. I thought it would still work as it keeps 3 versions on at a time for this exact use scenario. I think the issue is there was new SxS updates also and must do something a bit different then the past. I hope this helps you.
Sep 21 2022 11:41 PM
@Robert_Hurd I resolved the issue doing these steps:
1- First check that in the host pool that the test environment is unselected.
2- Remove the session host from the host pool and install the boot agent and rdinf agent.
3- Reboot the session host and install rdinf agent and boot agent the version will be 1.0.4x how you said. You can download it from this link HTTPS: //learn.microsoft.com/en-us/azure/virtual-desktop/create-host-pools-powershell?tabs=azure-powershell#register-the-virtual-machines-to-the-azure-virtual-desktop-host-pool.
4- check that the session host appears in the host pool.
I suspect that the host pool check how test environment upgrade the agent to the version 1.0.5555.
Regards.
Sep 22 2022 06:06 AM
Sep 23 2022 12:48 AM
We're facing the same issue with 'Start VM on connect'. this feature does not work anymore since this week.
Checked Agent version and it also has been updated to '1.0.5555.600'
Sep 23 2022 04:25 AM
Same here. "Start VM on Connect" does not work anymore on Hostpools which the agent was updated to version 1.0.5555.600. Also recognized that the VM State now reports "Shutdown" instead of "unavailable". We do have an azure function which shutdowns unused Sessionhosts. Without the start vm on connect feature we cannot use this function to save costs.
Hope this got fixed soon
Sep 26 2022 07:01 AM - edited Sep 26 2022 07:06 AM
#1 more for the agent downgrade. God knows who enabled the Validation environment on the production host pool
The Azure Virtual Desktop Agent Troubleshooting Guide has a decent step by step process for installing the agent.
Sep 26 2022 07:10 AM
Sep 27 2022 01:55 AM
hi robert, do you mean after you turn off the validation option in the property, the start VM on connect works fine with the new agent version?
Sep 27 2022 04:55 AM
Oct 12 2022 08:32 AM
disabling validation downgrades the agent and then it works again, yes.
Oct 12 2022 03:30 PM
Hi @Robert_Hur ,
With this agent version the shutdown status did appear more often, and this was intentional. Previously, it was less likely to pop up, but it did exist.
We rolled back this agent version last week, and you should no longer have the Start VM on Connect issue you were seeing before. Going forward, we will release the 'Shutdown' status only as part of new API versions so that nothing in your environment breaks.
We plan to post release notes for new agent versions on Tech Community in the future, so if you would like to stay up to date, subscribe to those threads when you see them. Thanks for your patience and understanding!