{"id":2156,"date":"2016-02-18T14:50:56","date_gmt":"2016-02-18T12:50:56","guid":{"rendered":"http:\/\/blog.hosebei.ch\/?p=2156"},"modified":"2016-02-18T14:50:56","modified_gmt":"2016-02-18T12:50:56","slug":"azure-ad-connect-1-1-105-0","status":"publish","type":"post","link":"https:\/\/blog.hosebei.ch\/?p=2156","title":{"rendered":"Azure AD Connect 1.1.105.0 &#8211; Missing Scheduled Task"},"content":{"rendered":"<p>Hi,<\/p>\n<p>today I have upgraded my Azure AD Connect to the newest Version available (<a href=\"https:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=47594\" target=\"_blank\">Download here<\/a>).<br \/>\nEverything seemed to be fine, except that I was missing the Scheduled Task:<br \/>\n<a href=\"http:\/\/blog.hosebei.ch\/wp-content\/uploads\/2016\/02\/azureadconnect01.png\" rel=\"attachment wp-att-2157\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.hosebei.ch\/wp-content\/uploads\/2016\/02\/azureadconnect01.png?w=300\" alt=\"azureadconnect01\" width=\"300\" height=\"86\" class=\"aligncenter size-medium wp-image-2157\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2016\/02\/azureadconnect01.png 1043w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2016\/02\/azureadconnect01-300x86.png 300w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2016\/02\/azureadconnect01-1024x294.png 1024w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2016\/02\/azureadconnect01-768x220.png 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\n<!--more--><\/p>\n<p>And I could also determine, that the Sync wasn&#8217;t be started within the Synchronization Service Manager. I then was searching for an opportunity to manually start the Sync process. I was found a message, that the following executable will start an sync:<br \/>\nC:\\Program Files\\Microsoft Azure AD Sync\\Bin\\DirectorySyncClientCmd.exe<br \/>\nBut this executable is not available with the new Version.<br \/>\nI then found the PowerShell Module for the Sync within this Directory:<br \/>\nC:\\Program Files\\Microsoft Azure AD Sync\\Bin\\ADSync<br \/>\n<a href=\"http:\/\/blog.hosebei.ch\/wp-content\/uploads\/2016\/02\/azureadconnect02.png\" rel=\"attachment wp-att-2158\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.hosebei.ch\/wp-content\/uploads\/2016\/02\/azureadconnect02.png?w=300\" alt=\"azureadconnect02\" width=\"300\" height=\"210\" class=\"aligncenter size-medium wp-image-2158\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2016\/02\/azureadconnect02.png 791w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2016\/02\/azureadconnect02-300x210.png 300w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2016\/02\/azureadconnect02-768x538.png 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nWith this, it was quite easy to start a manual sync through Powershell:<br \/>\n<code><br \/>\nImport-Module \"C:\\Program Files\\Microsoft Azure AD Sync\\Bin\\ADSync\\ADSync.psd1\"<br \/>\nStart-ADSyncSyncCycle<\/code><br \/>\nThis will run a Full Synchronization, and with<br \/>\n<code>Start-ADSyncSyncCycle -PolicyType Delta<\/code><br \/>\nYou can start a Delta Synchronization, and you can check it in the Sync Service Manager:<br \/>\n<a href=\"http:\/\/blog.hosebei.ch\/wp-content\/uploads\/2016\/02\/azureadconnect03.png\" rel=\"attachment wp-att-2159\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.hosebei.ch\/wp-content\/uploads\/2016\/02\/azureadconnect03.png?w=300\" alt=\"azureadconnect03\" width=\"300\" height=\"182\" class=\"aligncenter size-medium wp-image-2159\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2016\/02\/azureadconnect03.png 991w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2016\/02\/azureadconnect03-300x182.png 300w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2016\/02\/azureadconnect03-768x466.png 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>With this, it would be possible to create a scheduled task by myself, but I&#8217;m unsure if there was something wrong with the Installation, or why it does not sync automatically. I will update this blog, when I got more Information about this issue.<\/p>\n<p><strong>Update<\/strong><br \/>\nThe scheduled Task is gone with this new Version. The Sync process should be done within the Sync Engine. Obviously this does not work atm on my system. Will give an update if I have more Information.<\/p>\n<p><strong>Update 2<\/strong><br \/>\nOn this page, the new process is quite well explained: https:\/\/azure.microsoft.com\/en-us\/documentation\/articles\/active-directory-aadconnectsync-feature-scheduler\/<br \/>\nBut on my side, I still have an issue with the sync:<br \/>\n<a href=\"http:\/\/blog.hosebei.ch\/wp-content\/uploads\/2016\/02\/azureadconnect04.png\" rel=\"attachment wp-att-2166\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.hosebei.ch\/wp-content\/uploads\/2016\/02\/azureadconnect04.png?w=300\" alt=\"azureadconnect04\" width=\"300\" height=\"116\" class=\"aligncenter size-medium wp-image-2166\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2016\/02\/azureadconnect04.png 528w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2016\/02\/azureadconnect04-300x116.png 300w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nI do not believe that the date of the next sync will be soon \ud83d\ude42<br \/>\nI have to dig deeper&#8230;<\/p>\n<p><strong>Update 3 (Last)<\/strong><br \/>\nAs outlined on this page:<br \/>\nhttps:\/\/azure.microsoft.com\/en-us\/documentation\/articles\/active-directory-aadconnectsync-feature-scheduler\/<br \/>\nYou can start the Sync Cycle, if it&#8217;s turned off (like you see on my PrintScreen of Get-ADSyncScheduler) by using this command:<br \/>\nSet-ADSyncScheduler -SyncCycleEnabled $true<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, today I have upgraded my Azure AD Connect to the newest Version available (Download here). Everything seemed to be fine, except that I was missing the Scheduled Task:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,17,24,29,32],"tags":[],"class_list":["post-2156","post","type-post","status-publish","format-standard","hentry","category-azure-ad","category-emm","category-mdm","category-powershell","category-remote-workplace"],"_links":{"self":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/posts\/2156","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2156"}],"version-history":[{"count":0,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/posts\/2156\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2156"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2156"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}