Steps to Create a Host pool in Azure GUI Mode
1. Login to the Azure Portal: https://portal.azure.com/
2. Search or navigate to “Azure Virtual Desktop” under All Services.
3. Create a Host pool:
A. In the Azure Virtual Desktop blade, select “Host pools” in the left navigation pane.
B. Click on “Add” to start creating a new Host pool.
4. Configure Host pool:
A. Host pool Name: Give Host pool a name.
B. Region: Select the Azure region where the Host pool will reside.
C. Host pool Type: Choose between Pooled or Personal.
D. Validation Environment: Validation host pool allows us to test service changes before they are deployed to prod.
E. Preferred Group type: Desktop / Remote app
F. Max Session Limit: This is only for Pooled Host pools. You can set a limit for concurrent sessions per VM.
G. Load Balancer: You can choose a load balancing algorithm (breadth-first or depth-first). This option is only visible if you are selecting the Pool Desktop group.
5. Click on Next to go to Sessions Host
Select Yes or No to add the Virtual Machine
6. Click on review Workspaces
If we have already created workspace then we can select Yes to register the Host Pool with Workspaces. If we don’t have workspaces then we can select No and later we can register the Host pool.
7. Click on Advance, if we want to enable the Diagnostic setting for the Host pool.
8. Click on Tag if we want to tag.
9. Review and create the Host pool.
Steps to Create a Host pool in Azure CLI Mode
To create a pooled host pool by using the breadth-first load-balancing algorithm and desktop as the preferred app group type, run the following command:
az desktopvirtualization hostpool create
–name <Name>
–resource-group <ResourceGroupName>
–host-pool-type Pooled
–load-balancer-type BreadthFirst
–preferred-app-group-type Desktop
–max-session-limit <value>
–location <AzureRegion>
To create a personal host pool by using the automatic assignment type, run the following command:
az desktopvirtualization hostpool create
–name <Name>
–resource-group <ResourceGroupName>
–host-pool-type Personal
–load-balancer-type Persistent
–preferred-app-group-type Desktop
–personal-desktop-assignment-type Automatic
–location <AzureRegion>
