Forum Discussion
Alan2022
Jul 05, 2022Iron Contributor
Azure Virtual Machine Start on Connect?
Hi Support, Do you have any idea if we can start our azure virtual machines on connect? What are the things needs to be done? Hope you can give me a guide. Thanks.
MildHysteria
Jul 05, 2022Copper Contributor
Start on Connect is Azure Virtual Desktop functionality only and doesn't apply to traditional VMs. If you know your hours of operation or are using scale sets you can configure accordingly to scale back on differing loads or turn them off entirely between specified hours.
Here's a link/video on how you can achieve auto-shutdown and auto-start using automation tasks.
- Alan2022Jul 05, 2022Iron ContributorMildHysteria
Currently now we are using powerapps so that users can start/stop their VM & azure automation schedules.
Is there a way to add Azure Virtual Machines in Host Pools so that we can use this Start on Connect functionality?
Thanks.- MildHysteriaJul 06, 2022Copper Contributor
You could use an AVD host pool scaling plan and the flexibility that offers by setting bring your capacity threshold down to 0%. This can be found under Settings > Scaling plan.
You can then couple this with Wake on Connect which can be found under properties
- Alan2022Jul 06, 2022Iron ContributorMildHysteria
Is this correct?
Registering Azure VM to AVD Host Pool?
https://docs.microsoft.com/en-us/azure/virtual-desktop/create-host-pools-powershell?tabs=azure-powershell#register-the-virtual-machines-to-the-windows-virtual-desktop-host-pool
Thanks.