It looks like the domain join process is failing. Are your DNS setting configured correctly in Azure? Make sure to set the on-premises DC as the primary DNS server in your Azure virtual network so that the DC can be resolved for the domain join process.
Unable for Azure Windows Virtual Desktop to join on-prem Domain
Hi
I set up a site-to-site vpn between Azure and our Meraki network. Also I have Azure AD connection to our on-prem AD. When I create an Azure Virtual Desktop it cannot connect to the on-prem domain. However, if I instead create an Azure Virtual Desktop using the Azure AD it completes fine - without connecting to the on-prem domain. However, from this Azure Virtual Desktop I can ping the IP of the on-prem DC.
This is the error I get:
Deployment failed
{
"status": "Failed",
"error": {
"code": "VMExtensionProvisioningError",
"message": "VM has reported a failure when processing extension 'joindomain'. Error message: \"Exception(s) occured while joining Domain 'domain.com'\"\r\n\r\nMore information on troubleshooting is available at https://aka.ms/vmextensionwindowstroubleshoot "
}
}
Can you helP?
Kind regards,
Kristian
Microsoft Security | Microsoft Entra | Microsoft Entra ID
-
Alan Kinane 16,951 Reputation points MVP Volunteer Moderator
2022-01-17T17:35:54.72+00:00
1 additional answer
Sort by: Most helpful
-
Andreas Baumgarten 123.6K Reputation points MVP Volunteer Moderator
2022-01-17T18:05:21.803+00:00 Hi @LangeMuller ,
beside the ping is working from Azure VMs to the on-prem DCs: Are there any Network Security Groups (NSG) maybe blocking the communication between the computers?
Are you able to ping the domain name, not he DC name, from the AVD VM?If you deploy a "normal" Windows VM in Azure in the same subnet with the AVD computers, are you able to join the VM in the on-premises domain manually?
----------
(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
Regards
Andreas Baumgarten