Forum Discussion
Michael Fulton
Oct 13, 2021Brass Contributor
VM Unavailable with Active Session
I have a Host Pool with 4 VMs, all set to auto shutdown at 10 PM. The Host Pool is configured to allow start on Connect. I am also using FSLogix. Today I noticed that 3 of the 4 VMs were unavai...
NKC25
Oct 20, 2021Brass Contributor
Michael Fulton - Hi,
I think it's called "Stale session" the AVD database stores this session as "Active" however, the machine will be in shutdown state.
Solution- to update the permissions of "StartVMonConnect" role.
- Microsoft.Compute/virtualMachines/start/action
- Microsoft.Compute/virtualMachines/read
- Microsoft.Compute/virtualMachines/instanceView/read
https://docs.microsoft.com/en-us/azure/virtual-desktop/start-virtual-machine-connect
This should fix the issue.