{"id":9704,"date":"2017-07-06T16:04:51","date_gmt":"2017-07-06T15:04:51","guid":{"rendered":"http:\/\/www.itwriting.com\/blog\/?p=9704"},"modified":"2018-01-02T21:31:05","modified_gmt":"2018-01-02T21:31:05","slug":"unhealthy-identity-synchronization-notification-a-trivial-solution-and-microsofts-useless-troubleshooter","status":"publish","type":"post","link":"https:\/\/www.itwriting.com\/blog\/9704-unhealthy-identity-synchronization-notification-a-trivial-solution-and-microsofts-useless-troubleshooter.html","title":{"rendered":"Unhealthy Identity synchronization Notification: a trivial solution (and Microsoft\u2019s useless troubleshooter)"},"content":{"rendered":"<p>If you use Microsoft\u2019s AD Connect, also known as DirSync, you may have received an email like this:<\/p>\n<p><a href=\"http:\/\/www.itwriting.com\/blog\/wp-content\/uploads\/2017\/07\/image-1.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: inline; background-image: none;\" title=\"image\" src=\"http:\/\/www.itwriting.com\/blog\/wp-content\/uploads\/2017\/07\/image_thumb-1.png\" alt=\"image\" width=\"564\" height=\"274\" border=\"0\" \/><\/a><\/p>\n<p>It\u2019s bad news: your Active Directory is not syncing with Office 365. \u201cAzure Active Directory did not register a synchronization attempt from the Identity synchronization tool in the last 24 hours.\u201d<\/p>\n<p>I got this after upgrading AD Connect to the latest version, currently 1.1.553.<\/p>\n<p>The email recommends you run a troubleshooting tool on the AD Connect server. I did that. Nothing wrong. I rebooted, it synced once, then I got another warning.<\/p>\n<p>This is only a test system but I still wanted to find out what was wrong. I tweaked the sync configuration, again without fixing the issue.<\/p>\n<p>Finally I found <a href=\"https:\/\/blog.hosebei.ch\/2016\/02\/18\/azure-ad-connect-1-1-105-0\/\" target=\"_blank\" rel=\"noopener\">this post<\/a>. Somehow, AD Connect had configured itself not to sync. You can get the current setting in PowerShell, using get-adsyncscheduler:<\/p>\n<p><a href=\"http:\/\/www.itwriting.com\/blog\/wp-content\/uploads\/2017\/07\/image-2.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: inline; background-image: none;\" title=\"image\" src=\"http:\/\/www.itwriting.com\/blog\/wp-content\/uploads\/2017\/07\/image_thumb-2.png\" alt=\"image\" width=\"508\" height=\"202\" border=\"0\" \/><\/a><\/p>\n<p>As you can see, SyncCycleEnabled is set to false. The fix is trivial, just type:<\/p>\n<blockquote><p>set-adsyncscheduler \u2013SyncCycleEnabled $true<\/p><\/blockquote>\n<p>Well, I am glad to fix it, but should not Microsoft\u2019s troubleshooting tool find this simple configuration problem?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you use Microsoft\u2019s AD Connect, also known as DirSync, you may have received an email like this: It\u2019s bad news: your Active Directory is not syncing with Office 365. \u201cAzure Active Directory did not register a synchronization attempt from the Identity synchronization tool in the last 24 hours.\u201d I got this after upgrading AD &hellip; <a href=\"https:\/\/www.itwriting.com\/blog\/9704-unhealthy-identity-synchronization-notification-a-trivial-solution-and-microsofts-useless-troubleshooter.html\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Unhealthy Identity synchronization Notification: a trivial solution (and Microsoft\u2019s useless troubleshooter)<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19,55,60,1519],"tags":[586,666],"class_list":["post-9704","post","type-post","status-publish","format-standard","hentry","category-cloud-computing","category-microsoft","category-notes-from-the-field","category-tech","tag-microsoft","tag-office-365"],"_links":{"self":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/9704","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/comments?post=9704"}],"version-history":[{"count":1,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/9704\/revisions"}],"predecessor-version":[{"id":10125,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/9704\/revisions\/10125"}],"wp:attachment":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/media?parent=9704"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/categories?post=9704"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/tags?post=9704"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}