M365Con 2027 – free online conference · 11–22 Jan 2027 · 120 sessions m365con.net

Maximum session limit (Azure Virtual Desktop)

Concept

The maximum session limit is the number of user sessions allowed per session host in an Azure Virtual Desktop pooled host pool. Available capacity equals available hosts times this limit, which autoscale uses.

✦ CONCEPTMaximum session limit(Azure Virtual Desktop)M365.FM
Title graphic: Maximum session limit (Azure Virtual Desktop) (Concept)

Relationships

Maximum session limit (Azure Virtual Desktop) falls under the broader topic Host pool (Azure Virtual Desktop).

Description

The maximum session limit is a setting of a pooled host pool in Azure Virtual Desktop. It caps the number of concurrent user sessions per session host. In the Azure portal it is set under Host pools, the pool, Properties, next to the load balancing algorithm, and changing it requires the Desktop Virtualization Host Pool Contributor role. In a personal host pool each session host serves one user, and load balancing does not apply.

The limit interacts with the load balancing algorithm. Depth-first requires a limit: it sends new sessions to the available host with the most sessions that has not yet reached it. Breadth-first does not require one, and when a host pool is created with breadth-first the default is 999999, which is also the upper bound of the parameter. Lowering the limit does not affect sessions that are already running. Microsoft also notes that under a high rate of concurrent connections the number of sessions on a host can exceed the limit. Once every host has reached it, an admin must raise the limit or add session hosts.

Autoscale uses the limit to calculate capacity. Available host pool capacity is the number of available session hosts times the limit, so two available hosts with a limit of five give a capacity of ten. Used capacity is user sessions divided by that capacity, and autoscale starts another host only when used capacity exceeds the capacity threshold. During ramp-down, Learn gives the formula required hosts = total sessions (active plus disconnected) divided by (limit times capacity threshold). In its example with four sessions, a limit of five and a threshold of 75 percent, two hosts remain running. The right value depends on the workload, so it is an admin decision rather than a fixed recommendation.

TypeConcept
KindMetric
Also known asMaxSessionLimit
DocumentationMaximum session limit (Azure Virtual Desktop) – Microsoft Learn learn.microsoft.com

Related topics in brief

Topics linked to Maximum session limit (Azure Virtual Desktop), each briefly explained:

All relationships of Maximum session limit (Azure Virtual Desktop), grouped by type of relationship:

Broader topic

Broader topics of Maximum session limit (Azure Virtual Desktop):

Glossary

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 Maximum session limit (Azure Virtual Desktop), each with the topic that connects them:

Sources

Maintained by Mirko Peters (Microsoft MVP) · Last updated: