Forum Discussion
PyungraeCho
Microsoft
Sep 01, 2021Auto Deallocation for Unused Azure Virtual Desktop Personal VMs
Auto-Deallocation method for Azure Virtual Desktop VM that has not been used for a specific period has been introduced in various places. I would like to introduce another scenario. But this is suita...
Galafassi
Aug 16, 2023Copper Contributor
PyungraeCho I received an email about "Migrate your runbooks to managed identities in Azure Automation by 30 September 2023"
This is something related to this scripts? Something to do?
Regards,
Wilson
jlou65535
Aug 22, 2023MCT
Yes, you have to take care.
Because my env is personal AVD VMs, I decided to change it by the new feature for AVD Auto-scaling : https://jlou.eu/avd-solo-start-and-stop/
Because my env is personal AVD VMs, I decided to change it by the new feature for AVD Auto-scaling : https://jlou.eu/avd-solo-start-and-stop/
- AIDADeliosApr 05, 2024Copper Contributor
jlou65535 Hello,
I've configured an scaling plan for my personal pool but never shutdown the virtual machines.
I had followed your link https://jlou.eu/avd-solo-start-and-stop/ but machines never shutdown.
I have an AVD personal pool wit 10 VMs. I've create a scaling plan and associated to the pool.
My scaling's plan configuration is:
- Ram-up --> 07:00 AM, start vm on connect active. Don't turn VMs on at start time. Disconnect setting and log og settings in shutdownn 0 minutes.
- Peak hours --> 08:00 AM, start vm on connect active. Disconnect setting and log og settings in shutdown 0 minutes.
- Ramp-down --> 03:00 PM, start vm on connect active. Disconnect setting and log og settings in shutdown 0 minutes.
- Off.peak hours --> 03:30 PM, start vm on connect active. Disconnect setting and log og settings in shutdown 0 minutes.
Whether I disconnect the user session or close the windows avd client the VMs never shutdown and put in the deallocated state.
How can I fix it? .
Thanks in advance.
- jlou65535Apr 05, 2024MCTHello,
Did you configure the RBAC role named "Desktop Virtualization Power On Off Contributor" for Azure Virtual Desktop app ?
Best,
JL- AIDADeliosApr 05, 2024Copper Contributor
Yess, but doesn't work. Machines keeps alive.