(512) 774.6267 |

Azure AD Connect Updates Causing Password Synchronization To Fail – Solved!

By Chris King – Senior Technical Engineer

August 1, 2017

Office 365 administrators should be aware that the latest Azure AD Connect in-place updates may not automatically copy over the setting to sync passwords to Office 365 Azure AD. If AD Connect is configured to upgrade automatically or if manual upgrades are performed, the configuration wizard may need to be run again and password sync re-enabled if password sync failures are encountered.

Also covered are instructions to disable Azure AD Connect automatic updates and best practices for future-proofing AD connect from unexpected failures due to credentials issues. Skip the next section to get straight to the fixes.

*I have confirmed this is happening with versions 1.1.561.0 and 1.1.557.0, so one can only assume it is happening with 1.1.558.0 as well. I have seen this on Server 2008r2 and 2012r2.


Last week I had a customer reach out to me for assistance with an Azure AD Connect password synchronization issue in their environment. They had the bright red warning on their Office 365 home page stating that there had been no recent password synchronizations in a few days.

In a case like this I would normally steer a customer toward troubleshooting anything that might be keeping the AD Connect service or service account from reading their Active Directory Domain Services objects. Reasons might include:

    • Deletion of (or password expiration of) the local AD Connect service account

  • Changing of the local AD Connect service account password without updating this info in the miisclient.exe Sync Service Manager (mysteriously hidden in C:\Program Files\Microsoft Azure AD Sync\UIShell > Run as Administrator > Connectors > Double-click the Connector of Type: “Active Directory Domain Services” > Connect to Active Directory Forest > enter updated credentials)
  • Local AD Connect service account has somehow lost membership/permissions necessary (This gets murky fast, but in most cases I simply cover all bases and create the AD Connect service account prior to installation and add it to Domain Admins, Enterprise Admins, and Organization Management Groups since most of my work involves Hybrid Exchange or ADFS (permissions info here)
  • VPN/Network down or something else is keeping the AD Connect server from reaching the AD DS server(s)
  • Azure AD Connect service has failed in general and needs to be restarted (services.msc > Microsoft Azure AD Sync > Restart)


Unfortunately, none of the above solved this customer’s issue so I offered to log in. Generally re-running a configuration tool is not something I jump to during troubleshooting, but updates are usually considered. With contemporary installations of AD connect, you simply download the latest version from the website and run an in-place upgrade (link here). It used to be a tedious exercise, but now settings from the existing configuration are copied over and the endeavor takes just a few minutes. At least that’s how it’s supposed to work.

After upgrading this customer’s AD Connect I noticed that the installation did NOT carry over the password sync setting like it normally does. This should NOT happen! I re-ran the configuration wizard and checked the box for password sync and suddenly everything was working. I didn’t think much of it until later, when two more customers contacted me with these issues and the common threads were (a) AD Connect had just been updated and (b) password sync setting were not carried over. On Monday I reported this to Partner Support at Microsoft. I continued getting support request from customers throughout the week so I compiled this article from my support messages.

The fix: Re-Enable Password Synchronization Via AD Connect Configuration Wizard

What you will need:

  • Admin Privileges to manage AD Connect in your environment
  • Office 365 Global Administrator credentials


  1. Log into the AD Connect server
  2. Run the AD Connect Configuration Wizard (Azure AD Connect shortcut on the desktop or C:\Program Files\Microsoft Azure Active Directory Connect\AzureADConnect.exe)
  3. Hit the green Configure button
  4. Highlight “Customize Synchronization Options” and hit Next
  5. Enter your Office 365 Global Admin credentials
  6. Once validated, proceed by hitting Next until you land on the “Optional Features” page. On this page check the “Password Synchronization” checkbox.
  7. Hit Next until you see the “Ready to Configure” page. On this page make sure the checkbox for “Start the synchronization process when configuration completes” is checked, and hit Configure.
  8. Log into your Office 365 tenant and check the DirSync status box to make sure password sync is now functional. It may take a few minutes and a few page refreshes before this propagates.

AD Connect Automatic Updates

This is where I learned something new. I was completely unaware that contemporary installations of Azure AD Connect are set to automatically upgrade by default. This a fundamentally bad idea on Microsoft’s part and I would like to take this opportunity to scold them for changing it. As an Admin I would never have allowed automatic updates to occur against something as important Identity Management had I known, so I will be disabling this for all future customers.

Luckily there is a very simple PowerShell command that you can run on the AD Connect server to disable automatic updates (upgrades). As always, you’ll want to right-click the PowerShell icon and “Run As Administrator”:

Import-Module ADSync
Set-ADSyncAutoUpgrade -AutoUpgradeState Disabled

To re-enable:

Set-ADSyncAutoUpgrade -AutoUpgradeState Enabled

Future-proof Your Global Admin Account Credentials

It is also a good idea to take this time to log into your tenant and check your password expiration settings for the Global Admin service account that you are using for the login mentioned in the instructions above. Just like with the local AD service account, if the cloud Global Admin account changes, it can cause disruptions in AD Connect service, so you do not want the password to expire:

  • For global password expiration policy settings (all O365 cloud users) go to Settings > Security & Privacy > Password Policy and set them to not expire. This will disable password expiration for all cloud users in your tenant, but will not affect synchronized users, as your local AD DS password policy is authoritative for those users.
  • If you want to leave your cloud user expiration policy intact but still set the Global Admin service account to not expire, you can do that via Office 365 Remote Powershell:
Set-MsolUser -UserPrincipalName -PasswordNeverExpires $true



Leave a Reply

Your email address will not be published. Required fields are marked *

  1. dịch thuật giá rẻ ở hà nội Sep 16, 2017 - 12:13 PM

    Hi there, just became aware of your blog through Google, and
    found that it\’s truly informative. I’m going to watch out for brussels.
    I will appreciate if you continue this in future.
    Numerous people will be benefited from your writing. Cheers!

  2. 4cIAfGwDSsmx Sep 27, 2017 - 07:24 AM

    468581 134988I undoubtedly did not realize that. Learnt something new today! Thanks for that. 3287

  3. gio mua o dau Oct 03, 2017 - 08:05 AM

    I like the valuable information you provide in your
    articles. I’ll bookmark your weblog and check again here frequently.
    I am quite sure I will learn many new stuff right here!
    Best of luck for the next!

  4. qualified Psychics follow Oct 11, 2017 - 09:49 PM

    I have been surfing online more than 3 hours nowadays, yet I by no means found any attention-grabbing article like yours.
    It is pretty worth enough for me. In my view, if all web owners and bloggers made excellent content material as you probably did, the net will be much more
    useful than ever before.

  5. Expert Psychics Nov 26, 2017 - 06:35 PM

    Howdy are using WordPress for your site platform?
    I’m new to the blog world but I’m trying to get started and create
    my own. Do you need any coding knowledge to make your own blog?

    Any help would be greatly appreciated!

  6. Beasiswa April 2016 Nov 27, 2017 - 05:54 PM

    Pretty section of content. I just stumbled upon your site and in accession capital to assert that I get actually
    enjoyed account your blogg posts. Any wway I
    will be subscribing to your augment andd even I achievement you access
    consistently rapidly.
    ranking universitas negeri di indonesia 2016

  7. her comment is here Nov 28, 2017 - 08:00 PM

    You, my pal, ROCK! I found just the information I already searched all over the place and just could not locate it. What a perfect web site.

  8. Wow, that’s what I was looking for, what a material! existing here at this website, thanks admin of this website.

  9. how do make your penis bigger Jul 25, 2018 - 06:42 AM

    Thanks for the marvelous posting! I genuinely enjoyed reading it,
    you could be a great author. I will be sure to
    bookmark your blog and may come back very soon. I want to encourage you to continue your great job, have a nice

  10. Lucy Aug 20, 2018 - 01:45 AM

    These are in fact great ideas in regarding blogging.
    You have touched some nice points here. Any way keep up wrinting.

  11. Herman Aug 25, 2018 - 01:20 AM

    Pretty great post. I just stumbled upon your blog and wished to say
    that I’ve truly enjoyed browsing your blog posts. In any case I
    will be subscribing to your feed and I hope you write once more
    very soon!

  12. Hortense Aug 25, 2018 - 01:31 AM

    Hi there, I enjoy reading all of your article post.
    I wanted to write a little comment to support you.

  13. Katrice Aug 29, 2018 - 02:47 AM

    excellent points altogether, you simply gained a emblem new reader.

    What may you recommend about your submit that you just made a few days ago?
    Any sure?