{"id":1088,"date":"2019-04-06T14:55:58","date_gmt":"2019-04-06T14:55:58","guid":{"rendered":"https:\/\/www.ciraltos.com\/?p=1088"},"modified":"2023-03-23T23:28:19","modified_gmt":"2023-03-24T04:28:19","slug":"vm-has-reported-a-failure-when-processing-extension-joindomain","status":"publish","type":"post","link":"https:\/\/www.ciraltos.com\/staging2\/vm-has-reported-a-failure-when-processing-extension-joindomain\/","title":{"rendered":"VM has reported a failure when processing extension &#8216;joindomain&#8217;"},"content":{"rendered":"\n<h2>The Problem<\/h2>\n\n\n\n<figure class=\"wp-block-image alignleft is-resized\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.ciraltos.com\/wp-content\/uploads\/2019\/03\/Azure.png\" alt=\"\" class=\"wp-image-1007\" width=\"130\" height=\"97\" srcset=\"https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2019\/03\/Azure.png 519w, https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2019\/03\/Azure-300x224.png 300w\" sizes=\"(max-width: 130px) 100vw, 130px\" \/><\/figure>\n\n\n\n<p>It has been about two weeks since the Azure Windows Virtual\nDesktop preview was announced.&nbsp; I have\nhad several people ask about a specific issue when adding Windows Virtual\nDesktops to a domain during the provisioning process.&nbsp; The error is related to adding the new hosts\nto the Active Directory Domain and the message looks like below, indicating the\n\u201cVM has reported a failure when processing extension &#8216;joindomain&#8217;\u2019<\/p>\n\n\n\n<!--more-->\n\n\n\n<figure class=\"wp-block-image aligncenter\"><a href=\"https:\/\/www.ciraltos.com\/wp-content\/uploads\/2019\/04\/Domain-Join-Error.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" loading=\"lazy\" width=\"513\" height=\"155\" src=\"https:\/\/www.ciraltos.com\/wp-content\/uploads\/2019\/04\/Domain-Join-Error.png\" alt=\"Domain Join Error\" class=\"wp-image-1089\" srcset=\"https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2019\/04\/Domain-Join-Error.png 513w, https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2019\/04\/Domain-Join-Error-300x91.png 300w\" sizes=\"(max-width: 513px) 100vw, 513px\" \/><\/a><figcaption class=\"wp-element-caption\">Domain Join Error<\/figcaption><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\">The resource operation completed with terminal provisioning state 'Failed'<br>VM has reported a failure when processing extension 'joindomain'<br>Error message: \"Exception(s) occured while joining Domain 'domain.com'\"<\/pre>\n\n\n\n<p>First and foremost is the need for an Active Directory.&nbsp; Some have asked if Active Directory is a\nrequirement and I can say unequivocally, yes it is.&nbsp; Not only is Active Directory required, but\nthe Virtual Network WVD hosts are also deployed to needs access to the Domain\nController in that domain prior to provisioning the hosts.&nbsp; Let me repeat that for those skimming the\narticle.<\/p>\n\n\n\n<p><em>The VNet used for the deployment needs access to a Domain Controller prior to provisioning the hosts.<\/em><\/p>\n\n\n\n<p>Need proof? &nbsp;Take a\nlook that the warning Microsoft put in step 3 of the deployment:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><a href=\"https:\/\/www.ciraltos.com\/wp-content\/uploads\/2019\/04\/Domain-Join-Warning.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" loading=\"lazy\" width=\"249\" height=\"112\" src=\"https:\/\/www.ciraltos.com\/wp-content\/uploads\/2019\/04\/Domain-Join-Warning.png\" alt=\"Domain Join Warning\" class=\"wp-image-1090\"\/><\/a><figcaption class=\"wp-element-caption\">Domain Join Warning<\/figcaption><\/figure>\n\n\n\n<p>Here is the issue that I believe some people are running into,.  The default for the network step is to create a new VNet and Subnet.&nbsp; By default, a VNet cannot communicate with other VNets.&nbsp; For that, you would need a VPN or VNet Peering and there are no options to implement those (although, that could be configured as part of a template deployment).&nbsp; So, if the deployment creates and attaches to a new VNet, it will not communicate with a DC and joining a domain will fail.<\/p>\n\n\n\n<p>Also, if you do not specify a domain or OU, WVD will use the\ndomain associated with the Domain join UPN supplied in this step.&nbsp; This needs to be an Active Directory\naccount.&nbsp; An Azure AD account won\u2019t have the\nrights to add users to the domain.<\/p>\n\n\n\n<p>Lastly, if you select the option to <em>Specify a domain or OU<\/em>, the domain field is populated with \u201ccontoso.com\u201d by default.&nbsp; Yours truly left that the first time I deployed and no surprise, it didn\u2019t work.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><a href=\"https:\/\/www.ciraltos.com\/wp-content\/uploads\/2019\/04\/Contoso-Default-Domain.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" loading=\"lazy\" width=\"262\" height=\"130\" src=\"https:\/\/www.ciraltos.com\/wp-content\/uploads\/2019\/04\/Contoso-Default-Domain.png\" alt=\"Contoso.com Default Domain\" class=\"wp-image-1091\"\/><\/a><figcaption class=\"wp-element-caption\">Contoso.com Default Domain<\/figcaption><\/figure>\n\n\n\n<h2>Troubleshooting<\/h2>\n\n\n\n<p>The advice I have for troubleshooting is to create a Windows\nVM on the same subnet that WVD is deployed to.&nbsp;\nOnce deployed, add it to your domain manually with the same account you\nspecified when provisioning the host pool.&nbsp;\nIf that fail, then WVD will fail to join the domain as well.&nbsp; This rule out WVD specific issues and allows\nyou to use standard troubleshooting tasks such as verifying network connectivity\nto the DC, verifying the account has rights to add computers to the domain and\nthe password is correct.<\/p>\n\n\n\n<p>I hope that helps anyone running into this issue!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Problem It has been about two weeks since the Azure Windows Virtual Desktop preview was announced.&nbsp; I have had several people ask about a specific issue when adding Windows Virtual Desktops to a domain during the provisioning process.&nbsp; The error is related to adding the new hosts to the Active Directory Domain and the &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/www.ciraltos.com\/staging2\/vm-has-reported-a-failure-when-processing-extension-joindomain\/\"> <span class=\"screen-reader-text\">VM has reported a failure when processing extension &#8216;joindomain&#8217;<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":3904,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":""},"categories":[391],"tags":[15,416,414,415,51,181,52,392,393],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>VM has reported a failure when processing extension &#039;joindomain&#039; - ciraltos<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.ciraltos.com\/staging2\/vm-has-reported-a-failure-when-processing-extension-joindomain\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"VM has reported a failure when processing extension &#039;joindomain&#039; - ciraltos\" \/>\n<meta property=\"og:description\" content=\"The Problem It has been about two weeks since the Azure Windows Virtual Desktop preview was announced.&nbsp; I have had several people ask about a specific issue when adding Windows Virtual Desktops to a domain during the provisioning process.&nbsp; The error is related to adding the new hosts to the Active Directory Domain and the &hellip; VM has reported a failure when processing extension &#8216;joindomain&#8217; Read More &raquo;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.ciraltos.com\/staging2\/vm-has-reported-a-failure-when-processing-extension-joindomain\/\" \/>\n<meta property=\"og:site_name\" content=\"ciraltos\" \/>\n<meta property=\"article:published_time\" content=\"2019-04-06T14:55:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-24T04:28:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2023\/03\/Azure.png\" \/>\n\t<meta property=\"og:image:width\" content=\"519\" \/>\n\t<meta property=\"og:image:height\" content=\"387\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Travis Roberts\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@ciraltos\" \/>\n<meta name=\"twitter:site\" content=\"@ciraltos\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Travis Roberts\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.ciraltos.com\/staging2\/vm-has-reported-a-failure-when-processing-extension-joindomain\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.ciraltos.com\/staging2\/vm-has-reported-a-failure-when-processing-extension-joindomain\/\"},\"author\":{\"name\":\"Travis Roberts\",\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a\"},\"headline\":\"VM has reported a failure when processing extension &#8216;joindomain&#8217;\",\"datePublished\":\"2019-04-06T14:55:58+00:00\",\"dateModified\":\"2023-03-24T04:28:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.ciraltos.com\/staging2\/vm-has-reported-a-failure-when-processing-extension-joindomain\/\"},\"wordCount\":477,\"commentCount\":11,\"publisher\":{\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a\"},\"keywords\":[\"Active Directory\",\"dc\",\"domain join\",\"fail\",\"rdp\",\"RDS\",\"remote desktop\",\"Windows Virtual Desktop\",\"WVD\"],\"articleSection\":[\"Windows Virtual Desktop\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.ciraltos.com\/staging2\/vm-has-reported-a-failure-when-processing-extension-joindomain\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.ciraltos.com\/staging2\/vm-has-reported-a-failure-when-processing-extension-joindomain\/\",\"url\":\"https:\/\/www.ciraltos.com\/staging2\/vm-has-reported-a-failure-when-processing-extension-joindomain\/\",\"name\":\"VM has reported a failure when processing extension 'joindomain' - ciraltos\",\"isPartOf\":{\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/#website\"},\"datePublished\":\"2019-04-06T14:55:58+00:00\",\"dateModified\":\"2023-03-24T04:28:19+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.ciraltos.com\/staging2\/vm-has-reported-a-failure-when-processing-extension-joindomain\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.ciraltos.com\/staging2\/vm-has-reported-a-failure-when-processing-extension-joindomain\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.ciraltos.com\/staging2\/vm-has-reported-a-failure-when-processing-extension-joindomain\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/www.ciraltos.com\/staging2\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"VM has reported a failure when processing extension &#8216;joindomain&#8217;\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/#website\",\"url\":\"http:\/\/www.ciraltos.com\/staging2\/\",\"name\":\"ciraltos\",\"description\":\"cloud, technology and trends\",\"publisher\":{\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/www.ciraltos.com\/staging2\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a\",\"name\":\"Travis Roberts\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2023\/03\/Logo-1.png\",\"contentUrl\":\"https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2023\/03\/Logo-1.png\",\"width\":5657,\"height\":3563,\"caption\":\"Travis Roberts\"},\"logo\":{\"@id\":\"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/image\/\"},\"sameAs\":[\"http:\/\/www.ciraltos.com\",\"https:\/\/twitter.com\/ciraltos\"],\"url\":\"https:\/\/www.ciraltos.com\/staging2\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"VM has reported a failure when processing extension 'joindomain' - ciraltos","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.ciraltos.com\/staging2\/vm-has-reported-a-failure-when-processing-extension-joindomain\/","og_locale":"en_US","og_type":"article","og_title":"VM has reported a failure when processing extension 'joindomain' - ciraltos","og_description":"The Problem It has been about two weeks since the Azure Windows Virtual Desktop preview was announced.&nbsp; I have had several people ask about a specific issue when adding Windows Virtual Desktops to a domain during the provisioning process.&nbsp; The error is related to adding the new hosts to the Active Directory Domain and the &hellip; VM has reported a failure when processing extension &#8216;joindomain&#8217; Read More &raquo;","og_url":"https:\/\/www.ciraltos.com\/staging2\/vm-has-reported-a-failure-when-processing-extension-joindomain\/","og_site_name":"ciraltos","article_published_time":"2019-04-06T14:55:58+00:00","article_modified_time":"2023-03-24T04:28:19+00:00","og_image":[{"width":519,"height":387,"url":"https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2023\/03\/Azure.png","type":"image\/png"}],"author":"Travis Roberts","twitter_card":"summary_large_image","twitter_creator":"@ciraltos","twitter_site":"@ciraltos","twitter_misc":{"Written by":"Travis Roberts","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.ciraltos.com\/staging2\/vm-has-reported-a-failure-when-processing-extension-joindomain\/#article","isPartOf":{"@id":"https:\/\/www.ciraltos.com\/staging2\/vm-has-reported-a-failure-when-processing-extension-joindomain\/"},"author":{"name":"Travis Roberts","@id":"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a"},"headline":"VM has reported a failure when processing extension &#8216;joindomain&#8217;","datePublished":"2019-04-06T14:55:58+00:00","dateModified":"2023-03-24T04:28:19+00:00","mainEntityOfPage":{"@id":"https:\/\/www.ciraltos.com\/staging2\/vm-has-reported-a-failure-when-processing-extension-joindomain\/"},"wordCount":477,"commentCount":11,"publisher":{"@id":"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a"},"keywords":["Active Directory","dc","domain join","fail","rdp","RDS","remote desktop","Windows Virtual Desktop","WVD"],"articleSection":["Windows Virtual Desktop"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.ciraltos.com\/staging2\/vm-has-reported-a-failure-when-processing-extension-joindomain\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.ciraltos.com\/staging2\/vm-has-reported-a-failure-when-processing-extension-joindomain\/","url":"https:\/\/www.ciraltos.com\/staging2\/vm-has-reported-a-failure-when-processing-extension-joindomain\/","name":"VM has reported a failure when processing extension 'joindomain' - ciraltos","isPartOf":{"@id":"http:\/\/www.ciraltos.com\/staging2\/#website"},"datePublished":"2019-04-06T14:55:58+00:00","dateModified":"2023-03-24T04:28:19+00:00","breadcrumb":{"@id":"https:\/\/www.ciraltos.com\/staging2\/vm-has-reported-a-failure-when-processing-extension-joindomain\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.ciraltos.com\/staging2\/vm-has-reported-a-failure-when-processing-extension-joindomain\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.ciraltos.com\/staging2\/vm-has-reported-a-failure-when-processing-extension-joindomain\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/www.ciraltos.com\/staging2\/"},{"@type":"ListItem","position":2,"name":"VM has reported a failure when processing extension &#8216;joindomain&#8217;"}]},{"@type":"WebSite","@id":"http:\/\/www.ciraltos.com\/staging2\/#website","url":"http:\/\/www.ciraltos.com\/staging2\/","name":"ciraltos","description":"cloud, technology and trends","publisher":{"@id":"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/www.ciraltos.com\/staging2\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a","name":"Travis Roberts","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/image\/","url":"https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2023\/03\/Logo-1.png","contentUrl":"https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2023\/03\/Logo-1.png","width":5657,"height":3563,"caption":"Travis Roberts"},"logo":{"@id":"http:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/image\/"},"sameAs":["http:\/\/www.ciraltos.com","https:\/\/twitter.com\/ciraltos"],"url":"https:\/\/www.ciraltos.com\/staging2\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/posts\/1088"}],"collection":[{"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/comments?post=1088"}],"version-history":[{"count":5,"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/posts\/1088\/revisions"}],"predecessor-version":[{"id":4034,"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/posts\/1088\/revisions\/4034"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/media\/3904"}],"wp:attachment":[{"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/media?parent=1088"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/categories?post=1088"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/tags?post=1088"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}