{"id":2432,"date":"2017-05-15T12:06:44","date_gmt":"2017-05-15T11:06:44","guid":{"rendered":"https:\/\/www.lieben.nu\/liebensraum\/?p=2432"},"modified":"2017-05-15T12:06:44","modified_gmt":"2017-05-15T11:06:44","slug":"azure-active-directory-connect-with-multiple-source-forests-saying-the-specified-domain-does-not-exist-or-cannot-be-contacted","status":"publish","type":"post","link":"https:\/\/lieben.nu\/liebensraum\/2017\/05\/azure-active-directory-connect-with-multiple-source-forests-saying-the-specified-domain-does-not-exist-or-cannot-be-contacted\/","title":{"rendered":"Azure Active Directory Connect with Multiple Source Forests: The specified domain does not exist or cannot be contacted"},"content":{"rendered":"<p>Configuring a multi forest sync solution for a single Office 365 tenant is pretty straightforward, but there are a few small tiny gotcha&#8217;s:<\/p>\n<p>1. DNS resolution is critical, adding a few host file entries won&#8217;t do the trick, use a (conditional) forwarder to a DC for each forest<br \/>\n2. Ensure the proper <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/active-directory\/connect\/active-directory-aadconnect-ports\" target=\"_blank\">firewall ports are open<\/a><br \/>\n3. Ensure you type your login in the netbios format and include the suffix, e.g.: LIEBEN.NU\\Admin, using LIEBEN\\Admin will fail<\/p>\n<p>If you don&#8217;t, you&#8217;ll probably run into this error:<\/p>\n<pre class=\"brush: powershell; title: ; notranslate\" title=\"\">&#x5B;ERROR] Caught exception while validating the domain credentials and retrieving domain FQDN of the specified user XXXX.XXX\\Admin.\nException Data (Raw): System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectNotFoundException: The specified domain does not exist or cannot be contacted.\n   at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)\n   at Microsoft.Online.Deployment.Framework.Providers.ActiveDirectoryProvider.ValidateUserCredentials(String domainName, String username, SecureString password, String&amp; domainFqdn)\n   at Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.ConfigSyncDirectoriesPageViewModel.ValidateADDirectoryConnection(DirectoryConnectionViewModel connection)<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Configuring a multi forest sync solution for a single Office 365 tenant is pretty straightforward, but there are a few small tiny gotcha&#8217;s: 1. DNS resolution is critical, adding a few host file entries won&#8217;t do the trick, use a (conditional) forwarder to a DC for each forest 2. Ensure the proper firewall ports are &hellip; <a href=\"https:\/\/lieben.nu\/liebensraum\/2017\/05\/azure-active-directory-connect-with-multiple-source-forests-saying-the-specified-domain-does-not-exist-or-cannot-be-contacted\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Azure Active Directory Connect with Multiple Source Forests: The specified domain does not exist or cannot be contacted<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[21],"tags":[],"class_list":["post-2432","post","type-post","status-publish","format-standard","hentry","category-identity"],"_links":{"self":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/posts\/2432","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/comments?post=2432"}],"version-history":[{"count":0,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/posts\/2432\/revisions"}],"wp:attachment":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/media?parent=2432"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/categories?post=2432"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/tags?post=2432"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}