Force sign out users during ramp-down (Azure Virtual Desktop)
Concept
Force sign out is an autoscale option in the ramp-down phase of Azure Virtual Desktop. Autoscale puts the host with the fewest sessions in drain mode, notifies users, waits, then signs them out and turns the host off.
Relationships
Force sign out users during ramp-down (Azure Virtual Desktop) falls under the broader topic AVD scaling plan. Force sign out users during ramp-down (Azure Virtual Desktop) is closely related to Host pool (Azure Virtual Desktop).
Description
Force sign out, also called force logoff, is a setting in the ramp-down phase of an Azure Virtual Desktop autoscale schedule. It acts only during ramp-down and signs out no users in any other phase. If it is not enabled, the administrator instead chooses to stop VMs only when they have no active or disconnected sessions, or only when they have no active sessions.
With the setting enabled, autoscale selects the session host with the lowest number of user sessions, counting active and disconnected ones, and puts it in drain mode. It then sends the users on that host a notification that they will be signed out, signs out those users once the specified wait time has passed, and finally deallocates the VM. For pooled host pools with dynamic autoscaling the host can be deleted instead of deallocated; Learn states that the consolidation and sign-out behavior is otherwise identical for both scaling methods.
Both ramp-down options use the same consolidation logic. Autoscale assumes that disconnected users may reconnect at once and calculates the hosts it must keep as total sessions divided by the product of maximum session limit and capacity threshold. The capacity threshold and the minimum percentage of hosts are still respected, so autoscale stops turning hosts off when the used host pool capacity would otherwise exceed the threshold. Users who were signed out can sign in again.
| Type | Concept |
|---|---|
| Kind | Feature |
| Also known as | Force logoff users |
| Documentation | Force sign out users during ramp-down (Azure Virtual Desktop) – Microsoft Learn learn.microsoft.com |
Related topics in brief
Topics linked to Force sign out users during ramp-down (Azure Virtual Desktop), each briefly explained:
- AVD scaling plan – Part of Azure Virtual Desktop · Broader topic
An Azure Virtual Desktop scaling plan defines schedules that let autoscale start and stop session hosts in a host pool to reduce costs. It is assigned to host pools of a matching type, pooled or personal. - Host pool (Azure Virtual Desktop) – Narrower topic of Azure Virtual Desktop · Related to
A host pool in Azure Virtual Desktop is a collection of Azure virtual machines registered as session hosts; host pools are either pooled, shared by multiple users, or personal, with a dedicated machine per user.
All relationships of Force sign out users during ramp-down (Azure Virtual Desktop), grouped by type of relationship:
Broader topic
Broader topics of Force sign out users during ramp-down (Azure Virtual Desktop):
Related to
Topics related to Force sign out users during ramp-down (Azure Virtual Desktop):
Community wiki
Short info above, community knowledge below: add practical tips, examples or corrections. New contributions are reviewed first; trusted members publish directly.
Experts and companies for this topic
Nobody has listed this topic yet. Add it to your profile.
Experts on related topics
Experts on topics related to Force sign out users during ramp-down (Azure Virtual Desktop), each with the topic that connects them:
- Mirko Peters · via Host pool (Azure Virtual Desktop)
Sources
- Force sign out users during ramp-down (Azure Virtual Desktop) – Microsoft Learn learn.microsoft.com
Maintained by Mirko Peters (Microsoft MVP) · Last updated: