AVD Hosts have an option in AutoScale named Start On Connect which allows the AVD host to be started when a user connects if the host isn't already running. There can be related servers such as file / app servers, domain controllers, etc, that may not be on Reserved Instance, so they need to be started as well.
I have a script that uses Inherited Vars, which has a comma delimited list of related servers. This will start up these related server(s). I have this setup in the Host Pool Properties…VM Deployment…Scripted Actions…VM Startup section. This script will execute if the AVD host is started on a schedule or if the AVD host is powered on manually from the Nerdio console, but the script does not execute when the host is started by ‘Start on Connect’. I have tried it both as an Scripted Action and a Azure Runbook.
I reported this to Nerdio support in early October last year. Should be ticket number: 86693. Support at the time stated that this was a known issue. Difficult to understand why this cannot work. Recently I spoke with my GoLive engineer and he stated I should report this as a feature request. Is it possible that this could be reviewed further. It would be a highly beneficial feature, IMO.
I would appreciate it if someone would review this and let me know if this is possible.
Thanks
Lonnie
Comments (6 comments)