Skip to content
AVD Add New Session Hosts to Existing Host Pool | Registration Key

AVD Add New Session Hosts to Existing Host Pool | Registration Key

Written By Anoop C Nair
Last Updated June 20, 2024
Posted In AVD
SHARE

Today, let’s learn how to add new session hosts to the existing host pool. This post applies only to the Azure Virtual Desktop spring 2020 release (a.k.a. WVD v2). The Spring 2020 update uses the Azure Resource Manager (ARM) Windows Virtual Desktop objects.

After setting up a host pool, workspace, and application group, adding session hosts to the host pool is essential to enable user connections. Additionally, consider adding extra session hosts to accommodate increased capacity.

Host sessions are nothing but virtual machines part of the host pool. I plan to add two-session hosts to host pools using Azure Virtual Desktop’s new experience (a.k.a AVD).

NOTE! – Learn more about AVD v2 ARM model architecture.

Patch My PC
Index
Add New Session Hosts
Create a Registration key for the Host Pool
Virtual Machine Configuration
Network & Security Configurations
Deployment in Progress AVD v2 – Session Host
Results
Personal Desktop Assignment
AVD Add New Session Hosts to Existing Host Pool | Registration Key – Table 1

Add New Session Hosts

Let’s check how to add a new session host to the existing AVD host pool.

  • Login to portal.azure.com
  • Search with “Azure Virtual Desktop“.
  • Click on the Azure Virtual Desktop icon, as shown in the below screenshot.
  • Click on the Session Host node. Select Host Pool.
  • Click on the button Session Host.
  • Click +Add.
AVD Add New Session Hosts to Existing Host Pool | Registration Key - Fig.1
AVD Add New Session Hosts to Existing Host Pool | Registration Key – Fig.1
  • Use a registration key to add additional virtual machines to this host pool. More details here.
    • Expiration date
    • No registration key has been generated for this host pool

Create a Registration key for the Host Pool

You can use the Generate new registration key from the Azure portal AVD application.

  • Select the Expiration Date 07/07/2020.
  • Select the Time 12:00:00 AM.
  • Click on OK to generate the registration Key.
AVD Add New Session Hosts to Existing Host Pool | Registration Key - Fig.2
AVD Add New Session Hosts to Existing Host Pool | Registration Key – Fig.2

If you want to save the registration key, click the Download button.

Click on the + Add button to create a new session host VM.

You cannot change the Subscription, Resource Group, Host Pool Name, Location, and Host Pool Type. The host pool has already selected these options.

Click on the next button to continue.

AVD Add New Session Hosts to Existing Host Pool | Registration Key - Fig.3
AVD Add New Session Hosts to Existing Host Pool | Registration Key – Fig.3

Virtual Machine Configuration

  • You don’t have the option to change:
    • Name Prefix (prefix name of the VM), Virtual Machine Size (Azure VM template), Image Type, Image, OS Disk Type, Use Managed Disks.

You have the option to select and change:

Resource Group, Virtual Machine Location (Azure Region), and Number of VMs for new session hosts.

AVD Add New Session Hosts to Existing Host Pool | Registration Key - Fig.4
AVD Add New Session Hosts to Existing Host Pool | Registration Key – Fig.4

Network & Security Configurations

I usually keep all the following settings the same for all the VMs in the host pools. For more details, see the post, AVD v2 Admin Experience Create New Host Pool | Workspace | Session Host.

  • Select the already created Virtual Network AVD_PoC_VLAN1.
  • Select the Subnet from the drop-down Default.
  • Select Public IP: NO.
  • Select Network Security Group (NSG) per your organization’s standard: Basic.
  • Select Public inbound ports option: No
  • Specify Domain or unit to YES
    • Select yes to join virtual machines to a specific domain or organization unit (OU).
    • Select not to join the virtual machines to an OU.
      • If you select no, the domain name will use the suffix of the Active Directory domain to join UPN by Default. For example, the user “vmjoiner@contoso.com” would get the default domain name “contoso.com”.
  • Enter the Domain name for the Domain to join—HTMD. Local (where HTMD.local is my domain name).
  • Enter the OU path: OU=WVD,OU=AAA UK,OU=Org,DC=HTMD,DC=local
  • Enter the AD Domain and join UPN: anoop@HTMD.Local.
  • Enter the password ********
  • Click on the NEXT Tags button.
  • Click on the NEXT Review + Create.
AVD Add New Session Hosts to Existing Host Pool | Registration Key - Fig.5
AVD Add New Session Hosts to Existing Host Pool | Registration Key – Fig.5

Click on the Create button after the validation passes the banner message.

AVD Add New Session Hosts to Existing Host Pool | Registration Key - Fig.6
AVD Add New Session Hosts to Existing Host Pool | Registration Key – Fig.6

Deployment in Progress AVD v2 – Session Host

Deployment in progress. Additional session hosts are being added.

AVD Add New Session Hosts to Existing Host Pool | Registration Key - Fig.7
AVD Add New Session Hosts to Existing Host Pool | Registration Key – Fig.7

Results

The new two Session hosts (VMs) are added to the host pool.

AVD Add New Session Hosts to Existing Host Pool | Registration Key - Fig.8
AVD Add New Session Hosts to Existing Host Pool | Registration Key – Fig.8

Personal Desktop Assignment

Update-AzWvdSessionHost -HostPoolName $hostpoolname -Name $sessionhostname -ResourceGroupName $resourcegroupname -AssignedUser $userupn

Resources

We are on WhatsApp. To get the latest step-by-step guides and news updates, Join our Channel. Click here –HTMD WhatsApp.

Author

Anoop C Nair is Microsoft MVP! He is a Device Management Admin with more than 20 years of experience (calculation done in 2021) in IT. He is a Blogger, Speaker, and Local User Group HTMD Community leader. His primary focus is Device Management technologies like SCCM 2012, Current Branch, and Intune. He writes about ConfigMgr, Windows 11, Windows 10, Azure AD, Microsoft Intune, Windows 365, AVD, etc.

Written by

Anoop C Nair is Workplace Technology solution architect with 25+ years of experience in global enterprise organizations such as JP Morgan, Capgemini, etc. Microsoft Certified Trainer. Microsoft MVP from 2015 onwards for consecutive 11+ years! He also conducts Intune and modern workplace tech training for enterprise organizations. He is Blogger, Speaker, and Founder of HTMD Community and HTMD Conference. His main focus is on Device Management technologies like Intune, Windows, Cloud PC. He writes about technologies like Intune, SCCM, Windows, Cloud PC, Windows, Entra, Microsoft Security.

Discussion · 3 comments

  1. Hi Anoop ,
    When I try and select the Virtual Network I only see None Available, have I missed something??
    Great post by the way 🙂

  2. Hi Anoop,
    I have created the AVD in production and it’s working absolutely fine. The session hosts are joined to the domains.
    However, I wish to have users connecting to specific host on every login. Is this possible via the above CLI?
    Also correct me if I’m wrong, this goes in the Advances option of RDP properties.

Join the discussion

Your email address will not be published. Required fields are marked *

Related guides

AVD

Windows 365 Frontline is Now Windows 365 Flex with No Change to Features or Licensing

Key Takeaways Windows 365 Frontline is Now Windows 365 Flex with No Change to Features or Licensing! Hey, let’s discuss about Windows 365 and Azure Virtual Desktop Expanding Access to Cloud Windows for Every Workstyle. The way people work is evolving, and so are cloud-delivered Windows solutions. From small businesses to enterprises and shift workers, […]

AC Anoop C Nair 4 min read
AVD

How RDP Multipath Improves Azure Virtual Desktop Connectivity Using Dynamic UDP Path Selection

Key Takeaways How RDP Multipath Improves Azure Virtual Desktop Connectivity Using Dynamic UDP Path Selection! RDP Multipath creates multiple connection paths between your device and the remote desktop instead of relying on just one. It continuously checks which path is performing best and automatically switches if one becomes slow or drops. This ensures a smoother […]

AC Anoop C Nair 4 min read
AVD

Resilient Connectivity Architecture with Multiple Service Instances in Azure

Key Takeaways Resilient Connectivity Architecture with Multiple Service Instances in Azure! This architecture helps IT administrators by providing a more reliable and scalable connectivity platform for cloud services. Because multiple service instances run independently within each region, the platform can continue operating even if one component fails. This reduces service disruptions and ensures that users […]

AC Anoop C Nair 3 min read