In this video guide, you are going to see how to create Windows Virtual Desktop WVD host pool using the new template available in the Azure portal.
I have a couple of videos and posts describing end to end WVD (Windows Virtual Desktop) creation process. I also have a WVD FAQ post from AMA which Microsoft WVD team conducted.
✔The new template is available to create Remote Desktop Host Pools
✔The WVD host pool creation template is aligned with other VM creation templates in Azure
✔New WVD Host Pool creation template is more optimized and faster than the previous template
I have multiple posts to help you to understand what is Microsoft WVD and what is the future roadmap of WVD etc.. Also, I have a couple of video guides to help you to setup end to end WVD infra from the cloud.
- How to Connect WVD Remote Desktop Resources Client or Browser?
- Windows Virtual Desktop Microsoft WVD FAQs from AMA
- Microsoft VDI Story WVD Concept Setup Guide Myths Known Issues
Create WVD Tenant and WVD Infra
WVD End User Experience Access RD Apps RD VMS
Let’s look into the new template and what are the advantages of using the new template. First of all, if you’re looking at the old videos and checking for the old template, it’s not available at the moment. In the Azure portal, only the new template is available.
You have to use the new Azure template to create WVD host pool. And the new WVD template seems to be quicker and faster than the previous one. And the new template is more efficient, or it’s aligned to the existing VM creation templates.
I think this would be very useful for automation of WVD host pull creation using Terraform or some other automation tool.
Creation of WVD Host Pool with New Template
It’s a straightforward process log into the Azure portal with appropriate access do the subscription on which you are trying to build the whole spool.
- Once you log into the portal, you can click on + Create A Resource symbol and search for windows virtual desktop host pool. this will bring you the host pool creation template.
- Click on that WVD Host Pool Creation template and go through the wizard.
- You need to select an Azure subscription
- You need to create a Resource Pool for each host pool
- You can’t use the existing resource pool to create a new host pool
- You need to select whether you want a pooled host pool or a personal one
- You can also assign a user to that host pool
- Click on next to continue and now in the next page why do you can see is the VM template or virtual mission template. In this example, I have created a VM from a D template which is high end (I think).
- You can select how many VMS you want to create in that particular host pool one, two, or three, depending on your scenario.
- In the next screen, you have to endure the domain join account UPN.
NOTE – So if you are using on Prem domain controller or Active Directory through a VPN channel, then use your on Prem UPN if that is different from the cloud UPN.
Example – For example if your cloud UPN is @howtomanagedevices.com and you are on Prem Active Directory UPN is @howtomanagedevices.intra. In this scenario, you need to use .intra UPN when you specify domain join account UPN.
- On the last screen/page you need to specify the service principal or service account (an on-prem word) which you already created in your Azure Active Directory to complete the WVD host pool creation process.
- Once you click next, you would be able to see the validation process is going on. This is a process before the WVD host pool creation.
- Once the validation is completed, the WVD host pool creation process will kick start.
I see the new process of creating WVD host pool takes around 10 to 15 minutes for one VM if it’s like 15 or 20 VMs it is going to take more time (of course).
PowerShell Command to Add Users to WVD Host Pool
Let’s see some of the PowerShell commands to add users to WVD host pool. You can also see the list of users assigned to a particular horse pool or an application group from below.
## Add Users to Host Pool ##Login to your Azure Subscription Add-RdsAccount -DeploymentUrl https://rdbroker.wvd.microsoft.com ##Set Variables $tenant = 'WVDPOC' $hostpoolname='WVD-MS-POC' $UserPrincipalName='[email protected].com' $SessionHostname='WVD-A-43-0.howtomanagedevices.Intra' $NameofappGroup='LOB Apps' ## Check whether the Host pool is created or not under the corrent WVD Tenant Get-RdsHostPool -TenantName $tenant Get-RdsHostPool -TenantName $tenant -HostPoolName $hostpoolname Get-RdsSessionHost -TenantName $tenant -HostPoolName $hostpoolname ## Add Users to WVD Host Pool (App Group Name = Desktop Application Group) Add-RdsAppGroupUser -TenantName $tenant -HostPoolName $hostpoolname -AppGroupName “Desktop Application Group” -userPrincipalName $UserPrincipalName ## Check whether the user is added to Desktop Application Group or not Get-RdsAppGroupUser -TenantName $tenant -hostpoolname $hostpoolname -appgroupname "Desktop Application Group"
WVD Host Pool Creation Tasks
The following steps are for a WVD host pool creation with one VM (on very high-level).
- AvailabilitySet Creation Task
- VM Creation Task
- WVD VM Domain Join Task
- Create WVD Host pool with WVD DSC Task