Azure Virtual Desktop (AVD) now has an integrated session host scaling solution built into the portal. This video goes over how to configure the custom role required for autoscale, then create a scaling plan and schedule and assign it to a host pool.
Links
Zero to Hero with Azure Virtual Desktop https://www.udemy.com/course/zero-to-hero-with-windows-virtual-desktop/?referralCode=B2FE49E6FCEE7A7EA8D4
Custom role JSON on GitHub https://github.com/tsrob50/WVD-Public/blob/master/AVDAutoscaleRole.json
Log Off GPO (Diconnect GPO section) https://www.ciraltos.com/shut-down-unused-session-hosts-in-a-windows-virtual-desktop-personal-host-pool/