question

zachsSystems-3336 avatar image
0 Votes"
zachsSystems-3336 asked vipullag-MSFT answered

Azure AVD Auto Unassign disconnected session and Shutdown


we deployed AVD Personal Hostpool with 30 Sessionhots( FSLogix for Profiles).

At the moment once a user connects to an AVD SH it remains assigned to that user. Our staff works on various schedules. and is there a way we can automatically unassign users if the AVD SH is disconnected for over 2 hours? and then shutdown.

And the AVD SH to turn on new connections ( i see this is possible with "Start VM on Connect" feature).

Any help and advice really appreciated.

azure-virtual-desktop
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

vipullag-MSFT avatar image
0 Votes"
vipullag-MSFT answered

@zachsSystems-3336

Welcome to Microsoft Q&A Platform, thanks for posting your query here.

I am not aware of a way to natively automatically unassign users from personal desktops once their sessions have been disconnected.

However, you can try doing this by using the GPO to logoff disconnected sessions and then use an automation script to do 'cleanup' by unassigning all logged off users from personal desktops. Please check this document for Information about unassigning personal desktops.

Hope that helps.
Please 'Accept as answer' if it helped, so that it can help others in the community looking for help on similar topics.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.