Box 1: 50 -
Max session limit is set to 10.
This is the maximum number of concurrent sessions on a host. For depth-first, once a VM hits 10 users, then the next VM will begin accepting users.
There are 5 VMs, so the maximum number of concurrent user sessions is 50 (10x5).
Box 2: On the same session host -
The load balancing algorithm is set to depth-first.
The five user sessions will be created on the first session host.
Note: Depth-first load balancing allows you to saturate a session host with user sessions in a host pool. Once the first session host reaches its session limit threshold, the load balancer directs any new user connections to the next session host in the host pool until it reaches its limit, and so on.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-desktop/host-pool-load-balancing
https://deviceadvice.io/2021/03/30/how-to-create-pooled-shared-windows-virtual-desktop-environment/