Start VM on Connect (Azure Virtual Desktop)
Concept
Start VM on Connect lets users power on deallocated Azure Virtual Desktop session host VMs only when needed, which saves cost. It is configured per host pool and works with personal and pooled host pools.
Relationships
Start VM on Connect (Azure Virtual Desktop) is part of Azure Virtual Desktop. Start VM on Connect (Azure Virtual Desktop) is closely related to Host pool (Azure Virtual Desktop) and Azure role-based access control (Azure RBAC).
Description
Start VM on Connect is a host pool setting in Azure Virtual Desktop. When a user connects, the service can power on a deallocated session host, so VMs can stay off while nobody needs them. Learn presents it as a way to reduce costs. It only starts VMs. It does not turn them off. According to Learn's FAQ on Start VM on Connect, neither signing out nor shutting down from the Start menu deallocates a VM, and the FAQ points to autoscale for that. The saving therefore depends on whatever deallocates the VMs.
The behavior depends on the pool type. In a personal host pool it starts an existing session host that is already assigned, or can be assigned, to the user. In a pooled host pool it starts a VM only when none is turned on, and turns on more only when the first VM reaches the session limit, at most once every five minutes. Users who connect in between can get the error 'No resources available' and should retry after a few minutes. Every user who triggers a start also waits for the VM to boot. Connecting to a powered-off session host outside the service, for example by IP address or name, does not start it.
It works for session hosts on Azure and on Azure Local and is enabled per host pool in the Azure portal, Azure PowerShell or Azure CLI. Learn says it can only be set on an existing host pool, not while the pool is created. The Azure Virtual Desktop service principal or a managed identity assigned to the host pool needs the Desktop Virtualization Power On Contributor role at a scope that contains the host pool and its VMs. The person who configures the setting needs Desktop Virtualization Host Pool Contributor. Names of the host pool, session hosts and resource group may contain only ANSI characters.
| Type | Concept |
|---|---|
| Kind | Feature |
| Documentation | Start VM on Connect (Azure Virtual Desktop) – Microsoft Learn learn.microsoft.com |
Related topics in brief
Topics linked to Start VM on Connect (Azure Virtual Desktop), each briefly explained:
- Azure Virtual Desktop – Cloud platform by Microsoft · Part of
Cloud-hosted desktop and app virtualisation service on Azure, extendable to hybrid and other hypervisors. - 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 role-based access control (Azure RBAC) – Narrower topic of Microsoft Azure · Related to
Azure RBAC is the authorization system built on Azure Resource Manager that grants access to Azure resources through role assignments combining a security principal, a role definition and a scope.
All relationships of Start VM on Connect (Azure Virtual Desktop), grouped by type of relationship:
Part of
Offerings of which Start VM on Connect (Azure Virtual Desktop) is a part:
Related to
Topics related to Start VM on Connect (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 Start VM on Connect (Azure Virtual Desktop), each with the topic that connects them:
- Mirko Peters · via Azure Virtual Desktop
Sources
- Start VM on Connect (Azure Virtual Desktop) – Microsoft Learn learn.microsoft.com
Maintained by Mirko Peters (Microsoft MVP) · Last updated: