Forum Discussion
'joindomain' error with Windows Virtual Desktop
- Jan 24, 2020
Hi John,
Is the VM in the same vnet as the DC?
What is the DNS server in the subnet where the WVD VM is created? The domain needs to be resolvable.
Another option is that the account used for joining the WVD VM to the domain is incorrect.
Looking forward to your feedback!
BR,
Dirk
You mention that you do not have special DNS settings on the Vnet (which is pointing to azure dns instead then).
Make sure that your DC is acting as the DNS server in the WVD vnet so your domain is resolvable inside the vnet itself. I would retry deploying the VM if you have made that change.
The vnet does not know that you have a DC installed in it which is acting as a DNS server.
The reason why these things aren't mentioned in the WVD tutorials is because this is not related to WVD (same behavior on every azure vm)
- John QuileJan 24, 2020Brass Contributor
Well I set the DNS of the VM DC to a DC on-prem.
But I don't know if I want to set the entire VNET to the same DNS, that seems a bit much.
And I can't set the DNS on a NIC for WVD because they can't provision for me to get to their NIC properties?
Since this deployment fails, what do I do? The resource group is incomplete do I just delete it and start over?
- John QuileJan 24, 2020Brass Contributor
Ok so I manually created a VM in the subnet. I can ping the IP addresses of my on-prem and the Azure DCs. But not the host names.
So I need to set DNS server to my Dc in Azure for the VMs in azure, but can i do that upon provisioning of the WVD? Or I have to literally set the DC as THE DNS server for the entire VNet just so this one subnet can allow WVD's to join the domain?