SOLVED
Home

JoinDomain VMExtensionProvisioningError when deploying WVD

%3CLINGO-SUB%20id%3D%22lingo-sub-918716%22%20slang%3D%22en-US%22%3EJoinDomain%20VMExtensionProvisioningError%20when%20deploying%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-918716%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20guys%3C%2FP%3E%3CP%3EWhen%20I'm%20trying%20to%20deploy%20a%20Windows%20Virtual%20Desktop%20environment%2C%20I%20get%20this%20error%20message%20below%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%7B%20%22id%22%3A%20%22%2Fsubscriptions%2Fxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx%2FresourceGroups%2FWVDResourceGroup%2Fproviders%2FMicrosoft.Resources%2Fdeployments%2Frds.wvd-provision-host-pool-20191018100922%2Foperations%2FF7935445F31FE2F2%22%2C%20%22operationId%22%3A%20%22xxxxxxxxxxxxxxxx%22%2C%20%22properties%22%3A%20%7B%20%22provisioningOperation%22%3A%20%22Create%22%2C%20%22provisioningState%22%3A%20%22Failed%22%2C%20%22timestamp%22%3A%20%222019-10-18T08%3A15%3A24.3354336Z%22%2C%20%22duration%22%3A%20%22PT3M11.2589953S%22%2C%20%22trackingId%22%3A%20%22xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx%22%2C%20%22statusCode%22%3A%20%22Conflict%22%2C%20%22statusMessage%22%3A%20%7B%20%22status%22%3A%20%22Failed%22%2C%20%22error%22%3A%20%7B%20%22code%22%3A%20%22ResourceDeploymentFailure%22%2C%20%22message%22%3A%20%22The%20resource%20operation%20completed%20with%20terminal%20provisioning%20state%20'Failed'.%22%2C%20%22details%22%3A%20%5B%20%7B%20%22code%22%3A%20%22VMExtensionProvisioningError%22%2C%20%22message%22%3A%20%22VM%20has%20reported%20a%20failure%20when%20processing%20extension%20'joindomain'.%20Error%20message%3A%20%5C%22Exception(s)%20occured%20while%20joining%20Domain%20'orbid365.be'%5C%22.%22%20%7D%20%5D%20%7D%20%7D%2C%20%22targetResource%22%3A%20%7B%20%22id%22%3A%20%22%2Fsubscriptions%2Fxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx%2FresourceGroups%2FWVDResourceGroup%2Fproviders%2FMicrosoft.Compute%2FvirtualMachines%2Fwvdtest-0%2Fextensions%2Fjoindomain%22%2C%20%22resourceType%22%3A%20%22Microsoft.Compute%2FvirtualMachines%2Fextensions%22%2C%20%22resourceName%22%3A%20%22wvdtest-0%2Fjoindomain%22%20%7D%20%7D%7D%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20seems%20like%20my%20VM%20isn't%20able%20to%20join%20my%20domain%20which%20is%20configured%20with%20Azure%20Active%20Directory%20Domain%20Services.%3C%2FP%3E%3CP%3EThe%20setup%20I'm%20using%20to%20get%20this%20working%20is%3A%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSPAN%3EAADDS%20synced%20with%20Azure%20AD%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3EVirtual%20Network%20with%202%20subnets%3C%2FSPAN%3E%3C%2FLI%3E%3CUL%3E%3CLI%3E%3CSPAN%3E1%20subnet%20for%20AADDS%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3E1%20subnet%20for%20the%20virtual%20machines%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FUL%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20trying%20to%20deploy%2C%20I%20also%20tried%20to%20use%20UPN%20and%20Service%20principal%20but%20both%20don't%20work%20either.%3C%2FP%3E%3CP%3EWhen%20deployment%20fails%2C%20the%20VM%20has%20been%20created%20but%20I'm%20not%20able%20to%20connect%20with%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDoes%20anyone%20know%20the%20solution%20for%20this%3F%20Have%20been%20looking%20through%20the%20other%20posts%20but%20they%20all%20don't%20seem%20to%20help%20for%20my%20setup.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-925051%22%20slang%3D%22en-US%22%3ERe%3A%20JoinDomain%20VMExtensionProvisioningError%20when%20deploying%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-925051%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F418672%22%20target%3D%22_blank%22%3E%40Luis_Farinango%3C%2FA%3E%26nbsp%3B%3A%20By%20default%2C%20we%20do%20not%20create%20a%20Public%20IP%20address%20for%20the%20VM%20since%20we%20want%20it%20to%20remain%20locked%20down.%20However%2C%20you%20can%20manually%20add%20a%20Public%20IP%20address%20to%20the%20VM%2C%20then%20connect%20to%20it%20that%20way.%20Then%2C%20you%20should%20be%20able%20to%20follow%20the%20various%20troubleshooting%20steps%20here%20to%20see%20what%20the%20error%20was%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Ftroubleshoot-vm-configuration%23vms-are-not-joined-to-the-domain%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Ftroubleshoot-vm-configuration%23vms-are-not-joined-to-the-domain%3C%2FA%3E%26nbsp%3B.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-926405%22%20slang%3D%22en-US%22%3ERe%3A%20JoinDomain%20VMExtensionProvisioningError%20when%20deploying%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-926405%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F305776%22%20target%3D%22_blank%22%3E%40christianmontoya%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20the%20reply.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20had%20another%20error%20when%20trying%20to%20do%20this%20again%20and%20eventually%20I%20was%20adviced%20to%20deploy%20the%20host%20pool%20manually%20with%20the%20virtual%20machines.%20This%20workaround%20can%20be%20found%20under%20this%20post%3A%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FWindows-Virtual-Desktop%2FValidation-failed-upon-creating-the-host-pool%2Fm-p%2F924184%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FWindows-Virtual-Desktop%2FValidation-failed-upon-creating-the-host-pool%2Fm-p%2F924184%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Luis_Farinango
Occasional Contributor

Hi guys

When I'm trying to deploy a Windows Virtual Desktop environment, I get this error message below:

 

{ "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/WVDResourceGroup/providers/Microsoft.Resources/deployments/rds.wvd-provision-host-pool-20191018100922/operations/F7935445F31FE2F2", "operationId": "xxxxxxxxxxxxxxxx", "properties": { "provisioningOperation": "Create", "provisioningState": "Failed", "timestamp": "2019-10-18T08:15:24.3354336Z", "duration": "PT3M11.2589953S", "trackingId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "statusCode": "Conflict", "statusMessage": { "status": "Failed", "error": { "code": "ResourceDeploymentFailure", "message": "The resource operation completed with terminal provisioning state 'Failed'.", "details": [ { "code": "VMExtensionProvisioningError", "message": "VM has reported a failure when processing extension 'joindomain'. Error message: \"Exception(s) occured while joining Domain 'orbid365.be'\"." } ] } }, "targetResource": { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/WVDResourceGroup/providers/Microsoft.Compute/virtualMachines/wvdtest-0/extensions/joindomain", "resourceType": "Microsoft.Compute/virtualMachines/extensions", "resourceName": "wvdtest-0/joindomain" } }}

 

It seems like my VM isn't able to join my domain which is configured with Azure Active Directory Domain Services.

The setup I'm using to get this working is:

  • AADDS synced with Azure AD
  • Virtual Network with 2 subnets
    • 1 subnet for AADDS
    • 1 subnet for the virtual machines

 

When trying to deploy, I also tried to use UPN and Service principal but both don't work either.

When deployment fails, the VM has been created but I'm not able to connect with it.

 

Does anyone know the solution for this? Have been looking through the other posts but they all don't seem to help for my setup.

 

Thanks in advance

2 Replies
Highlighted

@Luis_Farinango : By default, we do not create a Public IP address for the VM since we want it to remain locked down. However, you can manually add a Public IP address to the VM, then connect to it that way. Then, you should be able to follow the various troubleshooting steps here to see what the error was: https://docs.microsoft.com/en-us/azure/virtual-desktop/troubleshoot-vm-configuration#vms-are-not-joi... .

Solution

@christianmontoya 

Thank you for the reply.

 

I had another error when trying to do this again and eventually I was adviced to deploy the host pool manually with the virtual machines. This workaround can be found under this post: https://techcommunity.microsoft.com/t5/Windows-Virtual-Desktop/Validation-failed-upon-creating-the-h...

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies