Forum Discussion
Alan2022
Jul 04, 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.
Alan2022
Jul 05, 2022Iron Contributor
MildHysteria
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.
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.
MildHysteria
Jul 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.- MildHysteriaJul 11, 2022Copper Contributor
I'm not 100% sure I follow what you mean by 'Correct' but if you're referring to creating the AVD environment you would need a host pool and to register a VM into the pool. You could then use the settings as mentioned above to achieve the wake on connect and scale plan to turn off. The link you've provided outlines those steps.
- Alan2022Jul 11, 2022Iron ContributorMildHysteria
Im planning to create AVD Envi & Hostpools then manually register my existing VM's to the hostpool so that i can use the the start on connect function.
So this is the guide right?
Since I have no experience on this function.