{"id":1652,"date":"2019-07-22T20:54:02","date_gmt":"2019-07-22T19:54:02","guid":{"rendered":"https:\/\/hypervlab.co.uk\/?p=1652"},"modified":"2023-07-13T17:35:54","modified_gmt":"2023-07-13T16:35:54","slug":"manually-force-an-azuread-sync","status":"publish","type":"post","link":"https:\/\/hypervlab.co.uk\/?p=1652","title":{"rendered":"Manually Force an AzureAD Sync"},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\"> 3<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>\n<p>In this blog post, I will cover how to force an AzureAD Sync from our on-premise AD Domain to the Azure Active Directory. For Reference, this is the error message which can be found in the O365 Admin Portal<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/07\/image-77-1024x576.png\" alt=\"\" class=\"wp-image-1653\" srcset=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/07\/image-77-1024x576.png 1024w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/07\/image-77-300x169.png 300w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/07\/image-77-768x432.png 768w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/07\/image-77.png 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Next, we need to connect to the Windows Server which is running the AzureAD Sync Service. For my ad.hypervlab.co.uk environment, I&#8217;ve created a dedicated server called &#8216;hypervlab-as01&#8217; Once connected we will want to import the ADSync PowerShell Module.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Import ADSync Module<\/strong><\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>Import-Module \"C:\\Program Files\\Microsoft Azure AD Sync\\Bin\\ADSync\\ADSync.psd1\"<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>ADSync Commands<\/strong>.<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>CommandType     Name                                               Version    Source\n-----------     ----                                               -------    ------\nCmdlet          Add-ADSyncAADServiceAccount                        1.0.0.0    ADSync\nCmdlet          Add-ADSyncAttributeFlowMapping                     1.0.0.0    ADSync\nCmdlet          Add-ADSyncConnector                                1.0.0.0    ADSync\nCmdlet          Add-ADSyncConnectorAnchorConstructionSettings      1.0.0.0    ADSync\nCmdlet          Add-ADSyncConnectorAttributeInclusion              1.0.0.0    ADSync\nCmdlet          Add-ADSyncConnectorHierarchyProvisioningMapping    1.0.0.0    ADSync\nCmdlet          Add-ADSyncConnectorObjectInclusion                 1.0.0.0    ADSync\nCmdlet          Add-ADSyncGlobalSettingsParameter                  1.0.0.0    ADSync\nCmdlet          Add-ADSyncJoinConditionGroup                       1.0.0.0    ADSync\nCmdlet          Add-ADSyncRule                                     1.0.0.0    ADSync\nCmdlet          Add-ADSyncRunProfile                               1.0.0.0    ADSync\nCmdlet          Add-ADSyncRunStep                                  1.0.0.0    ADSync\nCmdlet          Add-ADSyncScopeConditionGroup                      1.0.0.0    ADSync\nCmdlet          Add-AgentToResourceGroup                           1.0.0.0    ADSync\nCmdlet          Disable-ADSyncConnectorPartition                   1.0.0.0    ADSync\nCmdlet          Disable-ADSyncConnectorPartitionHierarchy          1.0.0.0    ADSync\nCmdlet          Disable-ADSyncExportDeletionThreshold              1.0.0.0    ADSync\nCmdlet          Enable-ADSyncConnectorPartition                    1.0.0.0    ADSync\nCmdlet          Enable-ADSyncConnectorPartitionHierarchy           1.0.0.0    ADSync\nCmdlet          Enable-ADSyncExportDeletionThreshold               1.0.0.0    ADSync\nCmdlet          Get-ADSyncAADCompanyFeature                        1.0.0.0    ADSync\nCmdlet          Get-ADSyncAADPasswordResetConfiguration            1.0.0.0    ADSync\nCmdlet          Get-ADSyncAADPasswordSyncConfiguration             1.0.0.0    ADSync\nCmdlet          Get-ADSyncADConnectorSchemaDsml                    1.0.0.0    ADSync\nCmdlet          Get-ADSyncAutoUpgrade                              1.0.0.0    ADSync\nCmdlet          Get-ADSyncConnector                                1.0.0.0    ADSync\nCmdlet          Get-ADSyncConnectorHierarchyProvisioningDNCompo... 1.0.0.0    ADSync\nCmdlet          Get-ADSyncConnectorHierarchyProvisioningMapping    1.0.0.0    ADSync\nCmdlet          Get-ADSyncConnectorHierarchyProvisioningObjectC... 1.0.0.0    ADSync\nCmdlet          Get-ADSyncConnectorParameter                       1.0.0.0    ADSync\nCmdlet          Get-ADSyncConnectorPartition                       1.0.0.0    ADSync\nCmdlet          Get-ADSyncConnectorPartitionHierarchy              1.0.0.0    ADSync\nCmdlet          Get-ADSyncConnectorRunStatus                       1.0.0.0    ADSync\nCmdlet          Get-ADSyncConnectorStatistics                      1.0.0.0    ADSync\nCmdlet          Get-ADSyncConnectorTypes                           1.0.0.0    ADSync\nCmdlet          Get-ADSyncCSObject                                 1.0.0.0    ADSync\nCmdlet          Get-ADSyncCSObjectLog                              1.0.0.0    ADSync\nCmdlet          Get-ADSyncDatabaseConfiguration                    1.0.0.0    ADSync\nCmdlet          Get-ADSyncExportDeletionThreshold                  1.0.0.0    ADSync\nCmdlet          Get-ADSyncGlobalSettings                           1.0.0.0    ADSync\nCmdlet          Get-ADSyncGlobalSettingsParameter                  1.0.0.0    ADSync\nCmdlet          Get-ADSyncMVObject                                 1.0.0.0    ADSync\nCmdlet          Get-ADSyncPartitionPasswordSyncState               1.0.0.0    ADSync\nCmdlet          Get-ADSyncRule                                     1.0.0.0    ADSync\nCmdlet          Get-ADSyncRunProfile                               1.0.0.0    ADSync\nCmdlet          Get-ADSyncScheduler                                1.0.0.0    ADSync\nCmdlet          Get-ADSyncSchedulerConnectorOverride               1.0.0.0    ADSync\nCmdlet          Get-ADSyncSchema                                   1.0.0.0    ADSync\nCmdlet          Get-ADSyncServerConfiguration                      1.0.0.0    ADSync\nCmdlet          Invoke-ADSyncCSObjectPasswordHashSync              1.0.0.0    ADSync\nCmdlet          Invoke-ADSyncRunProfile                            1.0.0.0    ADSync\nCmdlet          New-ADSyncConnector                                1.0.0.0    ADSync\nCmdlet          New-ADSyncJoinCondition                            1.0.0.0    ADSync\nCmdlet          New-ADSyncRule                                     1.0.0.0    ADSync\nCmdlet          New-ADSyncRunProfile                               1.0.0.0    ADSync\nCmdlet          New-ADSyncScopeCondition                           1.0.0.0    ADSync\nCmdlet          Register-Agent                                     1.0.0.0    ADSync\nCmdlet          Remove-ADSyncAADPasswordResetConfiguration         1.0.0.0    ADSync\nCmdlet          Remove-ADSyncAADPasswordSyncConfiguration          1.0.0.0    ADSync\nCmdlet          Remove-ADSyncAADServiceAccount                     1.0.0.0    ADSync\nCmdlet          Remove-ADSyncAttributeFlowMapping                  1.0.0.0    ADSync\nCmdlet          Remove-ADSyncConnector                             1.0.0.0    ADSync\nCmdlet          Remove-ADSyncConnectorAnchorConstructionSettings   1.0.0.0    ADSync\nCmdlet          Remove-ADSyncConnectorAttributeInclusion           1.0.0.0    ADSync\nCmdlet          Remove-ADSyncConnectorHierarchyProvisioningMapping 1.0.0.0    ADSync\nCmdlet          Remove-ADSyncConnectorObjectInclusion              1.0.0.0    ADSync\nCmdlet          Remove-ADSyncGlobalSettingsParameter               1.0.0.0    ADSync\nCmdlet          Remove-ADSyncJoinConditionGroup                    1.0.0.0    ADSync\nCmdlet          Remove-ADSyncRule                                  1.0.0.0    ADSync\nCmdlet          Remove-ADSyncRunProfile                            1.0.0.0    ADSync\nCmdlet          Remove-ADSyncRunStep                               1.0.0.0    ADSync\nCmdlet          Remove-ADSyncScopeConditionGroup                   1.0.0.0    ADSync\nCmdlet          Search-ADSyncDirectoryObjects                      1.0.0.0    ADSync\nCmdlet          Set-ADSyncAADCompanyFeature                        1.0.0.0    ADSync\nCmdlet          Set-ADSyncAADPasswordResetConfiguration            1.0.0.0    ADSync\nCmdlet          Set-ADSyncAADPasswordSyncConfiguration             1.0.0.0    ADSync\nCmdlet          Set-ADSyncAADPasswordSyncState                     1.0.0.0    ADSync\nCmdlet          Set-ADSyncAutoUpgrade                              1.0.0.0    ADSync\nCmdlet          Set-ADSyncConnectorParameter                       1.0.0.0    ADSync\nCmdlet          Set-ADSyncDirSyncConfiguration                     1.0.0.0    ADSync\nCmdlet          Set-ADSyncGlobalSettings                           1.0.0.0    ADSync\nCmdlet          Set-ADSyncScheduler                                1.0.0.0    ADSync\nCmdlet          Set-ADSyncSchedulerConnectorOverride               1.0.0.0    ADSync\nCmdlet          Set-ADSyncSchema                                   1.0.0.0    ADSync\nCmdlet          Set-ADSyncServerConfiguration                      1.0.0.0    ADSync\nCmdlet          Set-MIISADMAConfiguration                          1.0.0.0    ADSync\nCmdlet          Start-ADSyncAADPasswordResetEndpoint               1.0.0.0    ADSync\nCmdlet          Start-ADSyncPurgeRunHistory                        1.0.0.0    ADSync\nCmdlet          Start-ADSyncSyncCycle                              1.0.0.0    ADSync\nCmdlet          Stop-ADSyncAADPasswordResetEndpoint                1.0.0.0    ADSync\nCmdlet          Stop-ADSyncRunProfile                              1.0.0.0    ADSync\nCmdlet          Stop-ADSyncSyncCycle                               1.0.0.0    ADSync\nCmdlet          Test-AdSyncAzureServiceConnectivity                1.0.0.0    ADSync\nCmdlet          Test-ADSyncGetDirectoryReplicationChanges          1.0.0.0    ADSync\nCmdlet          Test-AdSyncUserHasPermissions                      1.0.0.0    ADSync\nCmdlet          Update-ADSyncConnectorPartition                    1.0.0.0    ADSync\nCmdlet          Update-ADSyncConnectorSchema                       1.0.0.0    ADSync\nCmdlet          Update-ADSyncDirectoryObject                       1.0.0.0    ADSync\nCmdlet          Update-ADSyncDRSCertificates                       1.0.0.0    ADSync\nCmdlet          Update-ADSyncPartitions                            1.0.0.0    ADSync\n<\/code><\/pre>\n\n\n\n<p>Before we Initiate a Force Sync lets check when the next sync time is scheduled:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Get-ADSyncScheduler<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"749\" height=\"341\" src=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/07\/image-79.png\" alt=\"\" class=\"wp-image-1656\" srcset=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/07\/image-79.png 749w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/07\/image-79-300x137.png 300w\" sizes=\"auto, (max-width: 749px) 100vw, 749px\" \/><\/figure>\n\n\n\n<p>Notice that the bottom value &#8220;SyncCycleInProgress&#8221; is currently False<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Start-ADSyncSyncCycle -PolicyType Initial -Verbose<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"984\" height=\"170\" src=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/07\/image-80.png\" alt=\"\" class=\"wp-image-1657\" srcset=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/07\/image-80.png 984w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/07\/image-80-300x52.png 300w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/07\/image-80-768x133.png 768w\" sizes=\"auto, (max-width: 984px) 100vw, 984px\" \/><\/figure>\n\n\n\n<p>After we have initiated the force sync we can check back to see what the Scheduler is doing:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"984\" height=\"325\" src=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/07\/image-81.png\" alt=\"\" class=\"wp-image-1658\" srcset=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/07\/image-81.png 984w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/07\/image-81-300x99.png 300w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/07\/image-81-768x254.png 768w\" sizes=\"auto, (max-width: 984px) 100vw, 984px\" \/><\/figure>\n\n\n\n<p>As you can see the value &#8220;SyncCycleInProgress&#8221;  has now changed to &#8220;True&#8221; if we swap back to the Office Admin Portal we can see that now the last directory sync was 3 minutes ago.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"700\" src=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/07\/image-82-1024x700.png\" alt=\"\" class=\"wp-image-1659\" srcset=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/07\/image-82-1024x700.png 1024w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/07\/image-82-300x205.png 300w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/07\/image-82-768x525.png 768w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/07\/image-82.png 1247w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\"> 3<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>In this blog post, I will cover how to force an AzureAD Sync from our on-premise AD Domain to the Azure Active Directory. For Reference, this is the error message which can be found in the O365 Admin Portal Next, we need to connect to the Windows Server which is running the AzureAD Sync Service. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":1654,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27,37,84],"tags":[96,93,95,89,94,92],"class_list":["post-1652","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-azure","category-cloud","category-microsoft-m365","tag-activedirectory","tag-azuread","tag-hybridsync","tag-office365","tag-on-premise","tag-powershell"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Manually Force an AzureAD Sync - HypervLAB<\/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:\/\/hypervlab.co.uk\/?p=1652\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Manually Force an AzureAD Sync - HypervLAB\" \/>\n<meta property=\"og:description\" content=\"Reading Time:  3 minutesIn this blog post, I will cover how to force an AzureAD Sync from our on-premise AD Domain to the Azure Active Directory. For Reference, this is the error message which can be found in the O365 Admin Portal Next, we need to connect to the Windows Server which is running the AzureAD Sync Service. [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hypervlab.co.uk\/?p=1652\" \/>\n<meta property=\"og:site_name\" content=\"HypervLAB\" \/>\n<meta property=\"article:published_time\" content=\"2019-07-22T19:54:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-07-13T16:35:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/07\/FeatureImage_ForceAzureADSync.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Simon Lee\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/smoon_lee\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Simon Lee\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/hypervlab.co.uk\/?p=1652\",\"url\":\"https:\/\/hypervlab.co.uk\/?p=1652\",\"name\":\"Manually Force an AzureAD Sync - HypervLAB\",\"isPartOf\":{\"@id\":\"https:\/\/hypervlab.co.uk\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/hypervlab.co.uk\/?p=1652#primaryimage\"},\"image\":{\"@id\":\"https:\/\/hypervlab.co.uk\/?p=1652#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/07\/FeatureImage_ForceAzureADSync.png\",\"datePublished\":\"2019-07-22T19:54:02+00:00\",\"dateModified\":\"2023-07-13T16:35:54+00:00\",\"author\":{\"@id\":\"https:\/\/hypervlab.co.uk\/#\/schema\/person\/7d184970612a9c6a5f1babb8b6b4d359\"},\"breadcrumb\":{\"@id\":\"https:\/\/hypervlab.co.uk\/?p=1652#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/hypervlab.co.uk\/?p=1652\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/hypervlab.co.uk\/?p=1652#primaryimage\",\"url\":\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/07\/FeatureImage_ForceAzureADSync.png\",\"contentUrl\":\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/07\/FeatureImage_ForceAzureADSync.png\",\"width\":1200,\"height\":600},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/hypervlab.co.uk\/?p=1652#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/hypervlab.co.uk\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Manually Force an AzureAD Sync\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/hypervlab.co.uk\/#website\",\"url\":\"https:\/\/hypervlab.co.uk\/\",\"name\":\"HypervLAB\",\"description\":\"Blogging about all thing Microsoft\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/hypervlab.co.uk\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/hypervlab.co.uk\/#\/schema\/person\/7d184970612a9c6a5f1babb8b6b4d359\",\"name\":\"Simon Lee\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/hypervlab.co.uk\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9473a3cf9c75192508eccfd9d072efab80adf04a45083e561d0e3065f681c34c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9473a3cf9c75192508eccfd9d072efab80adf04a45083e561d0e3065f681c34c?s=96&d=mm&r=g\",\"caption\":\"Simon Lee\"},\"description\":\"Hi, I'm Simon an IT Enthusiast, PowerShell Geek, Gamer, and Sound Engineer. I've been working with in the IT Industry for around 6 years and have worked across private and public sector companies. The original idea behind \\\"hypervlab\\\" was that I required an 'RnD' environment which would allow me to be able to replicate any kind of enterprise on-premise environment which I could use for learning and testing without learning in a production environment. So in 2019, I decided to branch out and use the domain for a public facing blog to be able to contribute to the IT Community about all things Microsoft.\",\"sameAs\":[\"https:\/\/hypervlab.co.uk\",\"https:\/\/www.linkedin.com\/in\/simon-john-lee\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/smoon_lee\"],\"url\":\"https:\/\/hypervlab.co.uk\/?author=2\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Manually Force an AzureAD Sync - HypervLAB","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:\/\/hypervlab.co.uk\/?p=1652","og_locale":"en_GB","og_type":"article","og_title":"Manually Force an AzureAD Sync - HypervLAB","og_description":"Reading Time:  3 minutesIn this blog post, I will cover how to force an AzureAD Sync from our on-premise AD Domain to the Azure Active Directory. For Reference, this is the error message which can be found in the O365 Admin Portal Next, we need to connect to the Windows Server which is running the AzureAD Sync Service. [&hellip;]","og_url":"https:\/\/hypervlab.co.uk\/?p=1652","og_site_name":"HypervLAB","article_published_time":"2019-07-22T19:54:02+00:00","article_modified_time":"2023-07-13T16:35:54+00:00","og_image":[{"width":1200,"height":600,"url":"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/07\/FeatureImage_ForceAzureADSync.png","type":"image\/png"}],"author":"Simon Lee","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/smoon_lee","twitter_misc":{"Written by":"Simon Lee","Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/hypervlab.co.uk\/?p=1652","url":"https:\/\/hypervlab.co.uk\/?p=1652","name":"Manually Force an AzureAD Sync - HypervLAB","isPartOf":{"@id":"https:\/\/hypervlab.co.uk\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hypervlab.co.uk\/?p=1652#primaryimage"},"image":{"@id":"https:\/\/hypervlab.co.uk\/?p=1652#primaryimage"},"thumbnailUrl":"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/07\/FeatureImage_ForceAzureADSync.png","datePublished":"2019-07-22T19:54:02+00:00","dateModified":"2023-07-13T16:35:54+00:00","author":{"@id":"https:\/\/hypervlab.co.uk\/#\/schema\/person\/7d184970612a9c6a5f1babb8b6b4d359"},"breadcrumb":{"@id":"https:\/\/hypervlab.co.uk\/?p=1652#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hypervlab.co.uk\/?p=1652"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/hypervlab.co.uk\/?p=1652#primaryimage","url":"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/07\/FeatureImage_ForceAzureADSync.png","contentUrl":"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/07\/FeatureImage_ForceAzureADSync.png","width":1200,"height":600},{"@type":"BreadcrumbList","@id":"https:\/\/hypervlab.co.uk\/?p=1652#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hypervlab.co.uk\/"},{"@type":"ListItem","position":2,"name":"Manually Force an AzureAD Sync"}]},{"@type":"WebSite","@id":"https:\/\/hypervlab.co.uk\/#website","url":"https:\/\/hypervlab.co.uk\/","name":"HypervLAB","description":"Blogging about all thing Microsoft","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hypervlab.co.uk\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/hypervlab.co.uk\/#\/schema\/person\/7d184970612a9c6a5f1babb8b6b4d359","name":"Simon Lee","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/hypervlab.co.uk\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/9473a3cf9c75192508eccfd9d072efab80adf04a45083e561d0e3065f681c34c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9473a3cf9c75192508eccfd9d072efab80adf04a45083e561d0e3065f681c34c?s=96&d=mm&r=g","caption":"Simon Lee"},"description":"Hi, I'm Simon an IT Enthusiast, PowerShell Geek, Gamer, and Sound Engineer. I've been working with in the IT Industry for around 6 years and have worked across private and public sector companies. The original idea behind \"hypervlab\" was that I required an 'RnD' environment which would allow me to be able to replicate any kind of enterprise on-premise environment which I could use for learning and testing without learning in a production environment. So in 2019, I decided to branch out and use the domain for a public facing blog to be able to contribute to the IT Community about all things Microsoft.","sameAs":["https:\/\/hypervlab.co.uk","https:\/\/www.linkedin.com\/in\/simon-john-lee\/","https:\/\/x.com\/https:\/\/twitter.com\/smoon_lee"],"url":"https:\/\/hypervlab.co.uk\/?author=2"}]}},"_links":{"self":[{"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1652","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1652"}],"version-history":[{"count":1,"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1652\/revisions"}],"predecessor-version":[{"id":2846,"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1652\/revisions\/2846"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=\/wp\/v2\/media\/1654"}],"wp:attachment":[{"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1652"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1652"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1652"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}