Forum Discussion

Walec's avatar
Walec
Copper Contributor
Jan 23, 2022

Cannot assign any users to hosts in host pool.

Dear Team,

 

I have just created the Windows Virtual Desktop, with Host Pools and Application groups.

I managed to login to one of two machines successfully with local account that I have declared while creating VM`s in the Host Pool.

I managed to edit the assignments, and my AAD user is assigned to the Application group but the assigned VM`s is zero:

When I tried to assign VM`s to this user is seems that it is impossible for me:

Because I`m assigned to the Application Group I managed to login via web browser option (via Remote Desktop Web Client (microsoft.com)) but only with local account. All the test AAD accounts are failing (my guts feeling is because there are no VM`s assigned).
It seems that all needed prerequisites are in place, but still:

I`m 100% sure that the password is correct.
All checks on the machines are green and it looks like they are connected to the domain:

I`m losing hope, I would be much obliged for any help...
Have a great day ahead!

 

  • Is this an hybrid hostpool or AAD hostpool?
    In case of AAD hostpool are your users Hybrid?
    Did you assign the users with the Virtual Machine user login role?
    • Walec's avatar
      Walec
      Copper Contributor

      Johan_Vanneuville 

      Those machines were build entirely in Azure. The users that I have tested are both AAD users, and guest users from another directory.

      One of them is a owner for the entire subscription (where the Host Pool is build).

       

      While creating this Host Pool there was an option to join AD or AAD. I have selected AAD.

       

      I`m not sure it this might be related to missing privilege's for Virtual Machine user login for two reasons. Assigning the users option is grayed out for me before I select any user. So target user that I would like to assign seem to be irrelevant. Also, in our infrastructure we have an old version from 2018 (maintained from PowerShell) that is working perfectly fine, and the same users can login to old VDI machine without any issues just as all necessary permissions were in place.

      In great many tutorials that I saw, documentations, and step-by-step instructions people are skipping assigning user step entirely and stop after those "assignments" from Application Development Group - and all seem to be working fine (in you tube tutorials 😉 )

      • Johan_Vanneuville's avatar
        Johan_Vanneuville
        Iron Contributor
        Is this a personal hostpool. If yes what assignment type did you pick?
        Did you adjust MFA for that user? Most of the issues come from the MFA and conditional access.

Resources