AVD Host Pool Configuration: Azure Portal Settings
By Jay H.Published Updated 6 min read
Jay H. · Founder, Sessionright
Founder of Sessionright. Twenty years running Citrix, NetScaler, Citrix Cloud, NetScaler Console, Azure and Azure Virtual Desktop estates; writes the guides and reviews the platform's rules.
Stuck on this right now? Talk it through with a Sessionright engineer: 15 minutes, free.
To configure an AVD host pool, open Azure Virtual Desktop > Host pools > Create and choose a personal pool for dedicated desktops or a pooled pool for shared session hosts. On an existing pool, open Properties to configure load balancing for pooled desktops or assignment for personal desktops. (Microsoft deployment guide, host pool types, load balancing, personal desktop assignment)
What do you choose when you create an AVD host pool?
Choose the pool type based on whether users need assigned desktops or shared hosts, then choose how the session hosts will be managed. Session host configuration is a specific management approach for pooled hosts on Azure. Under Standard management, you manage host creation, updates and scaling. (Microsoft host pool types, deployment guide)
| Management approach | Where it applies | Who manages the session hosts |
|---|---|---|
| Session host configuration | Pooled host pools with session hosts on Azure | Azure Virtual Desktop manages the host lifecycle using native features. |
| Standard management | Pooled and personal host pools with session hosts on Azure or Azure Local | You manage host creation, updates and scaling. Microsoft requires this approach for existing pipelines, custom scripts or external partner solutions. |
For the deployment itself, the portal can create the host pool, workspace, application group and session host VMs in one process. Diagnostic settings are optional. After completing the host-pool wizard, assign users or groups to the application group so they can access the published desktops or applications. Follow Microsoft's deployment guide for the steps for your chosen management approach. (Microsoft deployment guide)
How do you set load balancing on a pooled host pool?
Set Breadth-first to spread new sessions or Depth-first to concentrate new sessions on one host at a time. With depth-first, you must set Max session limit. Microsoft suggests using Azure Virtual Desktop Insights to review per-host session counts and performance when setting that limit. (Microsoft load balancing)
| Algorithm | How Azure Virtual Desktop picks a host |
|---|---|
| Breadth-first | Among hosts that allow new connections, it picks randomly from the half of available hosts with the fewest sessions. A maximum session limit is optional. |
| Depth-first | Among hosts that allow new connections and are below the limit, it picks the host with the most sessions. If all hosts reach the limit, Microsoft says to increase the limit or add hosts. |
On an existing pooled host pool, use an Azure account with Desktop Virtualization Host Pool Contributor. (Microsoft load balancing prerequisites)
- Open Azure Virtual Desktop > Host pools, select the pool and open Properties. (Microsoft portal steps)
- Choose the Load balancing algorithm and enter a Max session limit where required. Select Save. (Microsoft portal steps)
How do you assign desktops in a personal host pool?
Set Assignment to Automatic to allocate an available personal desktop when an assigned user first connects, or to Direct to specify the desktop before the user connects. Automatic is the default for new personal pools, and you can still assign a specific host to a user in advance with Automatic selected. (Microsoft personal desktop assignment)
Use a personal pool with at least one session host and an Azure account with Desktop Virtualization Contributor or equivalent. In Azure Virtual Desktop > Host pools, select the pool, open Properties, choose Automatic or Direct in the Assignment menu and select Save. (Microsoft personal desktop assignment)
| Assignment mode | What to assign before the user connects |
|---|---|
| Automatic | Assign the user to the pool's Desktop application group so the desktop appears on their device. |
| Direct | Assign the user to the pool's Desktop application group and assign that user to a specific session host VM in the pool. |
(Microsoft deployment guide for application group assignment, Microsoft personal desktop assignment)
With Direct, a user assigned to the pool without a specific host assignment sees No resources available. (Microsoft personal desktop assignment)
Where do you change connection and transport settings?
Edit Direct Stream connection properties in RDP Properties > Advanced. Control DS Shortpath separately under Settings > Networking > RDP Shortpath. (Microsoft Direct Stream properties, DS Shortpath)
For connection properties, add or edit the values in the semicolon-separated format shown on the Advanced tab, then select Save. Users need to refresh their resources to receive the changes. Microsoft notes that peripheral and resource redirection can require configuration beyond the host pool property. (Microsoft Direct Stream properties)
For DS Shortpath, Default means Enabled for every option in the host pool. Whether clients can use an option also depends on network configuration. The managed-network option that uses a listener requires you to enable the listener on the session hosts and allow an inbound port. If UDP cannot be established, the connection falls back to TCP reverse connect. (Microsoft DS Shortpath)
How do you test service updates before production?
Configure a test host pool as a Validation environment to monitor Azure Virtual Desktop service updates before they reach your standard environment. Microsoft recommends keeping the validation pool in place for future updates, making it as similar to your standard pools as possible and including automated tests if you use them on the standard pool. (Microsoft validation environments)
With Desktop Virtualization Host Pool Contributor assigned on the host pool, open Azure Virtual Desktop > Host pools, select the test pool and open Properties. Set Validation environment to Yes and select Save. Microsoft recommends that users connect to the validation pool as frequently as they connect to the standard pool. (Microsoft validation environments)
How do you enable Start VM on Connect?
In an existing pool's Properties, set Start VM on connect to Yes and save after assigning the power-on role. A personal pool can start an existing VM that is assigned or can be assigned to the user. A pooled pool starts a VM when none are on and starts more only when the first VM reaches the session limit. (Microsoft Start VM on Connect)
Assign Desktop Virtualization Power On Contributor to the host pool's managed identity or the Azure Virtual Desktop service principal. Microsoft recommends subscription scope where there are multiple host pools or the subscription is dedicated to Azure Virtual Desktop. Microsoft also permits a narrower scope for security requirements if the assignment covers the target session host VMs. The account that configures the setting needs Desktop Virtualization Host Pool Contributor. (Microsoft Start VM on Connect)
For a host showing Unavailable, see our session host troubleshooting guide. For restart criteria and a read-only default, see our session host restart script guide.
FAQ
Can you change the deployment scope of an AVD host pool?
Deployment scope is fixed when you create the host pool. Geographical is the default. (Microsoft deployment guide)
Can you publish RemoteApp and a desktop from the same host pool?
A pooled host pool supports both, with a single Desktop application group and multiple RemoteApp groups. A user assigned to both types from the same pool sees the resources from the pool's preferred application group type. (Microsoft application groups)
Does AVD drain mode block users from reconnecting?
Drain mode removes the host from consideration for users who need a new session. A user with an active or disconnected session is still redirected to that session when they sign in again. (Microsoft load balancing)
Why is the first AVD connection slower with Start VM on Connect?
A deallocated VM needs time to start before the user can connect. Windows App and the Remote Desktop app tell the user that a VM is being powered on. (Microsoft Start VM on Connect)
Want a read-only view of your AVD estate?
The free AVD assessment from Sessionright runs one read-only command in Azure Cloud Shell and writes a local HTML report in about five minutes for a typical estate. The operator host starts read-only, and every change needs a named approver and is logged. Operator is licensed annually by estate size. Security · Pricing. To talk through your host pool setup, book a 15-minute call.
Sources
- Microsoft Learn: Deploy Azure Virtual Desktop
- Microsoft Learn: Azure Virtual Desktop terminology
- Microsoft Learn: Configure host pool load balancing
- Microsoft Learn: Configure personal desktop assignment
- Microsoft Learn: Configure a validation environment
- Microsoft Learn: Set custom Direct Stream properties
- Microsoft Learn: Configure DS Shortpath
- Microsoft Learn: Configure Start VM on Connect
Want this watched for you, with the fix drafted before you ask?
Sessionright is an AI operator for Azure Virtual Desktop: it checks session hosts, scaling plans, FSLogix and cost continuously, attaches the evidence, and proposes fixes for a named approver to sign. It has run against simulated estates and Sessionright's own Azure lab tenant so far. To see what it finds on your own estate, run the free assessment: one command in Azure Cloud Shell reads your estate, never changes it, and writes an HTML report in about five minutes for a typical estate. Your estate data stays with you unless you choose to email yourself the HTML report through Sessionright. Design partner program: 90-day free Operator pilot, then 50% off year 1; list price at signing held to month 24. Engineer-led assessments are 50% off for design partners. Outside the program the onboarding assessment is $2,500, up to 500 users, one tenant.
Not ready for that? Talk to a Sessionright engineer: 15 minutes, free, and you leave with a next step.
Or get the next guide by email. One email per new guide, no marketing list.
Related guides
- How to Add an Existing VM to an AVD Host Pool
Add an existing VM to a standard Azure Virtual Desktop host pool. Generate a registration key, register the VM and verify the new session host is available.
- AVD Host Pool Change Audit Logs in Azure Monitor
Find who changed an AVD host pool, check which properties changed, and configure Azure Virtual Desktop diagnostics for future management activity.
- AVD No Available Resources Error: Causes and Fixes
Fix the AVD No resources available error: check desktop assignment, drained or stopped hosts, scaling plan exclusions, session limits and Start VM on Connect.
- Azure Virtual Desktop Cost Optimization: 20-Point Checklist
A 20-point Azure Virtual Desktop cost optimization checklist: scaling plans, Start VM on Connect, license flags, reservations, ephemeral OS disks, storage.
- AVD Scaling Plans: Setup, Best Practices and Not Working Fixes
Set up an AVD scaling plan that works: the role assignment, capacity thresholds, exclusion tags, Start VM on Connect, personal hibernate and the logs to check.
Citrix and NetScaler are trademarks of Citrix Systems, Inc. and/or its affiliates. Azure is a trademark of the Microsoft group of companies. Sessionright is not affiliated with or endorsed by Cloud Software Group, Citrix or Microsoft.