{"id":410,"date":"2015-06-02T21:31:02","date_gmt":"2015-06-02T21:31:02","guid":{"rendered":"https:\/\/regroove.ca\/stellark\/?p=410"},"modified":"2023-02-24T18:59:42","modified_gmt":"2023-02-24T18:59:42","slug":"how-to-re-sync-a-users-domain-password-after-it-was-reset-in-office365","status":"publish","type":"post","link":"https:\/\/regroove.ca\/stellark\/2015\/06\/02\/how-to-re-sync-a-users-domain-password-after-it-was-reset-in-office365\/","title":{"rendered":"How to Re-Sync a user\u2019s Domain Password after it was reset in Office365"},"content":{"rendered":"<p>&nbsp;<\/p>\n<h2>Scenario:<\/h2>\n<p>Directory Synchronization is occurring between On-premises AD and Office365 (WITHOUT password write-back enabled).&nbsp; A \u201csynced\u201d users password was reset in the Office365 portal (for any number of Administrative or user related reasons)&nbsp; Now the \u201csynced\u201d user does not have a synced Domain password.&nbsp; What to do?&nbsp; MS Cloud Services support told me not to worry as that users password will be overwritten by AADSync\u2026..<\/p>\n<p>This sounds like it should be simple enough right?&nbsp;<\/p>\n<p>Well I was skeptical so I set about testing this process to see if it would in fact work and overwrite the users newly reset password with the correct AD password.<\/p>\n<p>&nbsp;<\/p>\n<h2>Methods that I tested<\/h2>\n<p>First and foremost I reset the \u201csynced\u201d users password and logged into the portal to verify the password change.&nbsp;<\/p>\n<ul>\n<li>I figured Keep it Stupid Simple and set out to run the Scheduled Task that is created for AADSync.&nbsp; Just for fun I monitored the outcome in miisclient.&nbsp; There was NO detected changes or updates.&nbsp; I tried logging in as the user with their Domain password just to check and as expected it failed but still worked with the recently changed portal password.<\/li>\n<li>Then I decided to force an update using the DirectorySyncClientCmd.exe with the initial switch.&nbsp; Again I tried to login to the portal with the users Domain password and again it failed but still worked with the recently changed portal password.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/regroove.ca\/stellark\/wp-content\/uploads\/sites\/3\/2015\/06\/image1.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px;border-right: 0px;border-bottom: 0px;padding-top: 0px;padding-left: 0px;border-left: 0px;padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/regroove.ca\/stellark\/wp-content\/uploads\/sites\/3\/2015\/06\/image_thumb1.png\" width=\"640\" height=\"179\"><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>So\u2026back to MicroSoft Cloud Services support to inquire since they had guaranteed me that they had successfully been able to Re-sync the users Domain password in their test labs.&nbsp; I explained to support the tests I had performed and the un-successful outcomes.&nbsp; I then received an email suggesting that I use the provided PowerShell script to force the on premises password to overwrite the users password in the cloud.<\/p>\n<p>Hmmm\u2026. I was told it would \u201csimply\u201d be overwritten\u2026not so much it seems.<\/p>\n<p>So I ran the script and voila!&nbsp; I could now log into the portal as the user with their Domain password.<\/p>\n<p>Here is the script you will need to run should you or any one of your Office365 Global Admins decide to reset users password in the cloud.<\/p>\n<h6><font color=\"#4bacc6\">$adConnector&nbsp; = &#8220;yourdomain.com&#8221;<\/font><\/h6>\n<h6><font color=\"#4bacc6\">$aadConnector = &#8220;yourdomain.com &#8211; AAD&#8221;<\/font><\/h6>\n<h6><font color=\"#4bacc6\">Import-Module adsync<\/font><\/h6>\n<h6><font color=\"#4bacc6\">$c = Get-ADSyncConnector -Name $adConnector<\/font><\/h6>\n<h6><font color=\"#4bacc6\">$p = New-Object Microsoft.IdentityManagement.PowerShell.ObjectModel.ConfigurationParameter &#8220;Microsoft.Synchronize.ForceFullPasswordSync&#8221;, String, ConnectorGlobal, $null, $null, $null<\/font><\/h6>\n<h6><font color=\"#4bacc6\">$p.Value = 1<\/font><\/h6>\n<h6><font color=\"#4bacc6\">$c.GlobalParameters.Remove($p.Name)<\/font><\/h6>\n<h6><font color=\"#4bacc6\">$c.GlobalParameters.Add($p)<\/font><\/h6>\n<h6><font color=\"#4bacc6\">$c = Add-ADSyncConnector -Connector $c<\/font><\/h6>\n<h6><font color=\"#4bacc6\">Set-ADSyncAADPasswordSyncConfiguration -SourceConnector $adConnector -TargetConnector $aadConnector -Enable $false<\/font><\/h6>\n<h6><font color=\"#4bacc6\">Set-ADSyncAADPasswordSyncConfiguration -SourceConnector $adConnector -TargetConnector $aadConnector -Enable $true<\/font><\/h6>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Scenario: Directory Synchronization is occurring between On-premises AD and Office365 (WITHOUT password write-back enabled).&nbsp; A \u201csynced\u201d users password was reset in the Office365 portal (for any number of Administrative or user related reasons)&nbsp; Now the \u201csynced\u201d user does not have a synced Domain password.&nbsp; What to do?&nbsp; MS Cloud Services support told me not &hellip; <a href=\"https:\/\/regroove.ca\/stellark\/2015\/06\/02\/how-to-re-sync-a-users-domain-password-after-it-was-reset-in-office365\/\"><\/a><\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[34,60,68],"tags":[173,186,190],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Re-Sync a user\u2019s Domain Password after it was reset in Office365 - Stephanie Kahlam<\/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:\/\/regroove.ca\/stellark\/2015\/06\/02\/how-to-re-sync-a-users-domain-password-after-it-was-reset-in-office365\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Re-Sync a user\u2019s Domain Password after it was reset in Office365 - Stephanie Kahlam\" \/>\n<meta property=\"og:description\" content=\"&nbsp; Scenario: Directory Synchronization is occurring between On-premises AD and Office365 (WITHOUT password write-back enabled).&nbsp; A \u201csynced\u201d users password was reset in the Office365 portal (for any number of Administrative or user related reasons)&nbsp; Now the \u201csynced\u201d user does not have a synced Domain password.&nbsp; What to do?&nbsp; MS Cloud Services support told me not &hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/regroove.ca\/stellark\/2015\/06\/02\/how-to-re-sync-a-users-domain-password-after-it-was-reset-in-office365\/\" \/>\n<meta property=\"og:site_name\" content=\"Stephanie Kahlam\" \/>\n<meta property=\"article:published_time\" content=\"2015-06-02T21:31:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-24T18:59:42+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/stellark.itgroove.net\/wp-content\/uploads\/sites\/10\/2015\/06\/image_thumb1.png\" \/>\n<meta name=\"author\" content=\"Stephanie Kahlam\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Stephanie Kahlam\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/regroove.ca\/stellark\/2015\/06\/02\/how-to-re-sync-a-users-domain-password-after-it-was-reset-in-office365\/\",\"url\":\"https:\/\/regroove.ca\/stellark\/2015\/06\/02\/how-to-re-sync-a-users-domain-password-after-it-was-reset-in-office365\/\",\"name\":\"How to Re-Sync a user\u2019s Domain Password after it was reset in Office365 - Stephanie Kahlam\",\"isPartOf\":{\"@id\":\"https:\/\/regroove.ca\/stellark\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/regroove.ca\/stellark\/2015\/06\/02\/how-to-re-sync-a-users-domain-password-after-it-was-reset-in-office365\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/regroove.ca\/stellark\/2015\/06\/02\/how-to-re-sync-a-users-domain-password-after-it-was-reset-in-office365\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/regroove.ca\/stellark\/wp-content\/uploads\/sites\/3\/2015\/06\/image_thumb1.png\",\"datePublished\":\"2015-06-02T21:31:02+00:00\",\"dateModified\":\"2023-02-24T18:59:42+00:00\",\"author\":{\"@id\":\"https:\/\/regroove.ca\/stellark\/#\/schema\/person\/175e89cb69612178b2ac838c0bab6149\"},\"breadcrumb\":{\"@id\":\"https:\/\/regroove.ca\/stellark\/2015\/06\/02\/how-to-re-sync-a-users-domain-password-after-it-was-reset-in-office365\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/regroove.ca\/stellark\/2015\/06\/02\/how-to-re-sync-a-users-domain-password-after-it-was-reset-in-office365\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/regroove.ca\/stellark\/2015\/06\/02\/how-to-re-sync-a-users-domain-password-after-it-was-reset-in-office365\/#primaryimage\",\"url\":\"https:\/\/regroove.ca\/stellark\/wp-content\/uploads\/sites\/3\/2015\/06\/image_thumb1.png\",\"contentUrl\":\"https:\/\/regroove.ca\/stellark\/wp-content\/uploads\/sites\/3\/2015\/06\/image_thumb1.png\",\"width\":640,\"height\":179},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/regroove.ca\/stellark\/2015\/06\/02\/how-to-re-sync-a-users-domain-password-after-it-was-reset-in-office365\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Stellark Home\",\"item\":\"https:\/\/regroove.ca\/stellark\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Re-Sync a user\u2019s Domain Password after it was reset in Office365\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/regroove.ca\/stellark\/#website\",\"url\":\"https:\/\/regroove.ca\/stellark\/\",\"name\":\"Stephanie Kahlam\",\"description\":\"Microsoft 365 and SMB.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/regroove.ca\/stellark\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/regroove.ca\/stellark\/#\/schema\/person\/175e89cb69612178b2ac838c0bab6149\",\"name\":\"Stephanie Kahlam\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/regroove.ca\/stellark\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/398b95e23dc9eaf37a780b86a239b485?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/398b95e23dc9eaf37a780b86a239b485?s=96&d=mm&r=g\",\"caption\":\"Stephanie Kahlam\"},\"url\":\"https:\/\/regroove.ca\/stellark\/author\/skahlam\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Re-Sync a user\u2019s Domain Password after it was reset in Office365 - Stephanie Kahlam","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:\/\/regroove.ca\/stellark\/2015\/06\/02\/how-to-re-sync-a-users-domain-password-after-it-was-reset-in-office365\/","og_locale":"en_US","og_type":"article","og_title":"How to Re-Sync a user\u2019s Domain Password after it was reset in Office365 - Stephanie Kahlam","og_description":"&nbsp; Scenario: Directory Synchronization is occurring between On-premises AD and Office365 (WITHOUT password write-back enabled).&nbsp; A \u201csynced\u201d users password was reset in the Office365 portal (for any number of Administrative or user related reasons)&nbsp; Now the \u201csynced\u201d user does not have a synced Domain password.&nbsp; What to do?&nbsp; MS Cloud Services support told me not &hellip;","og_url":"https:\/\/regroove.ca\/stellark\/2015\/06\/02\/how-to-re-sync-a-users-domain-password-after-it-was-reset-in-office365\/","og_site_name":"Stephanie Kahlam","article_published_time":"2015-06-02T21:31:02+00:00","article_modified_time":"2023-02-24T18:59:42+00:00","og_image":[{"url":"http:\/\/stellark.itgroove.net\/wp-content\/uploads\/sites\/10\/2015\/06\/image_thumb1.png"}],"author":"Stephanie Kahlam","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Stephanie Kahlam","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/regroove.ca\/stellark\/2015\/06\/02\/how-to-re-sync-a-users-domain-password-after-it-was-reset-in-office365\/","url":"https:\/\/regroove.ca\/stellark\/2015\/06\/02\/how-to-re-sync-a-users-domain-password-after-it-was-reset-in-office365\/","name":"How to Re-Sync a user\u2019s Domain Password after it was reset in Office365 - Stephanie Kahlam","isPartOf":{"@id":"https:\/\/regroove.ca\/stellark\/#website"},"primaryImageOfPage":{"@id":"https:\/\/regroove.ca\/stellark\/2015\/06\/02\/how-to-re-sync-a-users-domain-password-after-it-was-reset-in-office365\/#primaryimage"},"image":{"@id":"https:\/\/regroove.ca\/stellark\/2015\/06\/02\/how-to-re-sync-a-users-domain-password-after-it-was-reset-in-office365\/#primaryimage"},"thumbnailUrl":"https:\/\/regroove.ca\/stellark\/wp-content\/uploads\/sites\/3\/2015\/06\/image_thumb1.png","datePublished":"2015-06-02T21:31:02+00:00","dateModified":"2023-02-24T18:59:42+00:00","author":{"@id":"https:\/\/regroove.ca\/stellark\/#\/schema\/person\/175e89cb69612178b2ac838c0bab6149"},"breadcrumb":{"@id":"https:\/\/regroove.ca\/stellark\/2015\/06\/02\/how-to-re-sync-a-users-domain-password-after-it-was-reset-in-office365\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/regroove.ca\/stellark\/2015\/06\/02\/how-to-re-sync-a-users-domain-password-after-it-was-reset-in-office365\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/regroove.ca\/stellark\/2015\/06\/02\/how-to-re-sync-a-users-domain-password-after-it-was-reset-in-office365\/#primaryimage","url":"https:\/\/regroove.ca\/stellark\/wp-content\/uploads\/sites\/3\/2015\/06\/image_thumb1.png","contentUrl":"https:\/\/regroove.ca\/stellark\/wp-content\/uploads\/sites\/3\/2015\/06\/image_thumb1.png","width":640,"height":179},{"@type":"BreadcrumbList","@id":"https:\/\/regroove.ca\/stellark\/2015\/06\/02\/how-to-re-sync-a-users-domain-password-after-it-was-reset-in-office365\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Stellark Home","item":"https:\/\/regroove.ca\/stellark\/"},{"@type":"ListItem","position":2,"name":"How to Re-Sync a user\u2019s Domain Password after it was reset in Office365"}]},{"@type":"WebSite","@id":"https:\/\/regroove.ca\/stellark\/#website","url":"https:\/\/regroove.ca\/stellark\/","name":"Stephanie Kahlam","description":"Microsoft 365 and SMB.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/regroove.ca\/stellark\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/regroove.ca\/stellark\/#\/schema\/person\/175e89cb69612178b2ac838c0bab6149","name":"Stephanie Kahlam","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/regroove.ca\/stellark\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/398b95e23dc9eaf37a780b86a239b485?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/398b95e23dc9eaf37a780b86a239b485?s=96&d=mm&r=g","caption":"Stephanie Kahlam"},"url":"https:\/\/regroove.ca\/stellark\/author\/skahlam\/"}]}},"_links":{"self":[{"href":"https:\/\/regroove.ca\/stellark\/wp-json\/wp\/v2\/posts\/410"}],"collection":[{"href":"https:\/\/regroove.ca\/stellark\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/regroove.ca\/stellark\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/regroove.ca\/stellark\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/regroove.ca\/stellark\/wp-json\/wp\/v2\/comments?post=410"}],"version-history":[{"count":1,"href":"https:\/\/regroove.ca\/stellark\/wp-json\/wp\/v2\/posts\/410\/revisions"}],"predecessor-version":[{"id":1441,"href":"https:\/\/regroove.ca\/stellark\/wp-json\/wp\/v2\/posts\/410\/revisions\/1441"}],"wp:attachment":[{"href":"https:\/\/regroove.ca\/stellark\/wp-json\/wp\/v2\/media?parent=410"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/regroove.ca\/stellark\/wp-json\/wp\/v2\/categories?post=410"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/regroove.ca\/stellark\/wp-json\/wp\/v2\/tags?post=410"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}