AVD - VMs are not adding to a hostpools

Copying my answer from the very similar question VMs in avd deployment in azure not connecting to the session host - #2 by mloskot

The Azure documentation on Add session hosts to a host pool - Azure Virtual Desktop | Microsoft Learn displays this:

image

OTOH, AADLoginForWindows should be deployable via Terraform as well as the JsonADDomainExtension for classic domain controllers. The Azure documentation is nto very informative clearly.