Scaling plan exclusion tag (Azure Virtual Desktop)
Concept
The exclusion tag is a tag name set in an Azure Virtual Desktop scaling plan. Session hosts carrying it are not started, stopped or changed in drain mode by autoscale, but still count toward the minimum percentage of hosts.
Relationships
Scaling plan exclusion tag (Azure Virtual Desktop) falls under the broader topic AVD scaling plan. Scaling plan exclusion tag (Azure Virtual Desktop) is closely related to Host pool (Azure Virtual Desktop) and Azure resource tags.
Description
The exclusion tag is a setting of an Azure Virtual Desktop scaling plan. It holds a tag name, and every session host virtual machine that carries a tag with that name is left alone by autoscale: it is not started, not stopped, and its drain mode is not changed. This applies in all phases of the schedule. Learn uses excludeFromScaling as an example name, for instance for hosts that were put into drain mode for maintenance, because pooled autoscale otherwise overwrites drain mode.
Tagged hosts still count in the calculation of the minimum percentage of hosts. This has consequences. If every host carries the tag and is switched off, autoscale cannot start a VM for a new sign-in, and the user sees a No resources available error. The host pool also cannot meet its minimum percentage until the tag is removed from some hosts. In the example on Learn, the administrator removes the tag from two VMs, and autoscale starts only one of them because one host is enough to meet the minimum.
The tag name can be changed later on the Properties tab of the scaling plan, together with the friendly name, description and time zone. Learn advises against putting sensitive information such as user principal names or other personal data into exclusion tags.
| Type | Concept |
|---|---|
| Kind | Feature |
| Also known as | excludeFromScaling |
| Documentation | Scaling plan exclusion tag (Azure Virtual Desktop) – Microsoft Learn learn.microsoft.com |
Related topics in brief
Topics linked to Scaling plan exclusion tag (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. - Azure resource tags – Narrower topic of Microsoft Azure · Related to
Tags are key-value metadata pairs attached to Azure resources, resource groups and subscriptions to organize them and to group costs by project, department, environment or owner.
All relationships of Scaling plan exclusion tag (Azure Virtual Desktop), grouped by type of relationship:
Broader topic
Broader topics of Scaling plan exclusion tag (Azure Virtual Desktop):
Related to
Topics related to Scaling plan exclusion tag (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 Scaling plan exclusion tag (Azure Virtual Desktop), each with the topic that connects them:
- Mirko Peters · via Host pool (Azure Virtual Desktop)
Sources
- Scaling plan exclusion tag (Azure Virtual Desktop) – Microsoft Learn learn.microsoft.com
Maintained by Mirko Peters (Microsoft MVP) · Last updated: