{"id":5596,"date":"2022-03-06T21:16:33","date_gmt":"2022-03-06T21:16:33","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=5596"},"modified":"2022-03-06T21:16:33","modified_gmt":"2022-03-06T21:16:33","slug":"microsoft-azure-ad-sync-no-starting","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/microsoft-azure-ad-sync-no-starting","title":{"rendered":"\u201cMicrosoft Azure AD Sync\u201d No Starting"},"content":{"rendered":"<p class=\"x_MsoNormal\">AADSync installed on a domain controller running as \u201cAuto-generated standalone Managed Service Account\u201d<\/p><p><img loading=\"lazy\" decoding=\"async\" width=\"587\" height=\"28\" class=\"alignnone size-full wp-image-5597  img-responsive\" src=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2022\/03\/img_622524473db19.png\" alt=\"\" srcset=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2022\/03\/img_622524473db19.png 587w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2022\/03\/img_622524473db19-300x14.png 300w\" sizes=\"auto, (max-width: 587px) 100vw, 587px\" \/><\/p><p class=\"x_MsoNormal\">Domain controller was rebooted as part of another task then \u201cMicrosoft Azure AD Sync\u201d couldn\u2019t start.<\/p><p id=\"seOCyUK\"><img loading=\"lazy\" decoding=\"async\" width=\"645\" height=\"337\" class=\"alignnone size-full wp-image-5600  img-responsive\" src=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2022\/03\/img_6225245da7e0f.png\" alt=\"\" srcset=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2022\/03\/img_6225245da7e0f.png 645w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2022\/03\/img_6225245da7e0f-300x157.png 300w\" sizes=\"auto, (max-width: 645px) 100vw, 645px\" \/><\/p><p class=\"x_MsoNormal\">Searching for the above error, no solution except reinstalling, but unfortunately no configuration details to replicate. Repair also did not fix the issue.<\/p><p class=\"x_MsoNormal\" aria-hidden=\"true\">\u00a0<\/p><p class=\"x_MsoNormal\">Digging deeper in application logs, noticed SQL errors which turned out to be the cause<\/p><p id=\"VmaBjRj\"><img loading=\"lazy\" decoding=\"async\" width=\"655\" height=\"330\" class=\"alignnone size-full wp-image-5601  img-responsive\" src=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2022\/03\/img_6225246776cd6.png\" alt=\"\" srcset=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2022\/03\/img_6225246776cd6.png 655w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2022\/03\/img_6225246776cd6-300x151.png 300w\" sizes=\"auto, (max-width: 655px) 100vw, 655px\" \/><\/p><p class=\"x_MsoNormal\" aria-hidden=\"true\">\u00a0<\/p><p class=\"x_MsoNormal\"><b>SOLUTION:<\/b><\/p><p class=\"x_MsoNormal\">\u00a0<\/p><p class=\"x_MsoNormal\">Replace two files, model.mdf and modellog.ldf.<\/p><p class=\"x_MsoNormal\">\u00a0<\/p><p class=\"x_MsoNormal\">Copy from:\u00a0C:\\Program Files\\Microsoft SQL Server\\150\\LocalDB\\Binn\\Templates<\/p><p class=\"x_MsoNormal\">\u00a0<\/p><p class=\"x_MsoNormal\">Copy to: C:\\Users\\ADSyncxxxxx$\\AppData\\Local\\Microsoft\\Microsoft SQL Server Local DB\\Instances\\ADSync2019<\/p><p class=\"x_MsoNormal\">Or<\/p><p class=\"x_MsoNormal\">Copy to:\u00a0C:\\Windows\\ServiceProfiles\\ADSync\\AppData\\Local\\Microsoft\\Microsoft SQL Server Local DB\\Instances\\ADSync2019<\/p><p class=\"x_MsoNormal\">\u00a0<\/p><p class=\"x_MsoNormal\">Destination varies according to installed version.<\/p><p class=\"x_MsoNormal\" aria-hidden=\"true\">\u00a0<\/p>","protected":false},"excerpt":{"rendered":"<p>AADSync installed on a domain controller running as \u201cAuto-generated standalone Managed Service Account\u201dDomain controller was rebooted as part of another task then \u201cMicrosoft Azure AD Sync\u201d couldn\u2019t [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[3756,3763,3762,3761,3757,3758,3760,3759],"class_list":["post-5596","post","type-post","status-publish","format-standard","hentry","category-research","tag-3756","tag-3763","tag-3762","tag-3761","tag-addconnect","tag-adsync","tag-model-mdf","tag-modellog-ldf"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/5596","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=5596"}],"version-history":[{"count":1,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/5596\/revisions"}],"predecessor-version":[{"id":5602,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/5596\/revisions\/5602"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=5596"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=5596"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=5596"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}