Updating DirSync

Updated on 28 August 2015

IMPORTANT: AAD Connect has replaced AADSync and DirSync. Reference: Azure Active Directory Sync

AADSync Replaced


IMPORTANT! Azure Active Directory Sync Services (AADSync) has replaced DirSync. And eventually, when Azure Active Directory Connect (AAD Connect) is generally available (this year {fingers crossed}), it will replace AADSync.

When a new version of the Windows Azure Active Directory Sync (DirSync or WAAD) tool is released you might consider updating the existing version to take advantage of new features. If you are prepared, the update process is just as easy (if not easier) than the first time DirSync was installed. It is definitely a shorter process.

However, before you begin the update process, ensure your environment is prepared for the latest version of DirSync by checking the requirements here.

NOTE: A server running Windows Server 2008 R2 (64-bit) or newer is required for DirSync.

Updating DirSync

1) Download the latest version of DirSync here or from the Office 365 Admin Center.

2) Once downloaded, confirm you have the latest version by checking the Details tab of the file properties.

dirsync 2

3) Double-click dirsync.exe to begin the update.

dirsync 1

4) Click Run when prompted with the security warning.

dirsync 3

5) The setup will begin. Click Next when a previous version is detected.

dirsync 4

6) If you choose to proceed with the update, select the “I accept” radio button and click Next.

dirsync 5

7) Next, the setup will detect and show the existing installation folder. Click Next to continue.

dirsync 6

8) DirSync will proceed with the update and when the installation is complete, click Next.

dirsync 8

9) At the completion of the update, select or deselect the checkbox to start the DirSync configuration wizard and click Finish. The default option is to start the config wizard.

dirsync 9

DirSync Config Wizard

If selected to start the configuration wizard, we are presented with an opportunity to reconfigure our existing DirSync settings (i.e. change O365 and/or domain creds, enabled/disable hybrid and password options, etc.) The following steps will outline the default options when running the DirSync config wizard.

1) The welcome screen. Click Next to proceed.

dirsync 10

2) The first window gives us the opportunity to provide our O365 global admin credentials. Enter the creds and click Next.

dirsync 11

3) At the next window, we need to provide local AD domain admin credentials. Enter creds and click Next. NOTE: This user creds we enter here must have enterprise admin rights to be able to write/update required information to AD.

dirsync 12

4) If you are planning to deploy DirSync as part of an on premise Exchange hybrid deployment with O365, select the checkbox to Enable Hybrid Deployment and click Next. The default option is that the hybrid deployment is not enabled.

To review DirSync synchronization info, click here.

dirsync 13

5) One of the benefits of DirSync that began about mid-2013 is the ability to synchronize the account passwords to O365 that enables a single sign-on experience. The Enable Password Sync option is enabled by default. If you choose not to sync passwords, deselect the checkbox. Proceed by clicking Next.

To review password sync info, click hereNOTE: Your on premise AD password policy must meet the basic requirements of the O365 password policy before passwords will sync properly.

dirsync 14

6) DirSync config will proceed and when it is complete, click Next to finish.

dirsync 16

7) Now that the wizard is complete, we are asked if we want to sync our AD objects to O365 immediately. If we leave the default option, AD objects will be synced as soon as we click finish. Deselecting the checkbox to disable the option for “Synchronize your directories now” will delay the sync process. If this option is disabled, syncing will occur 3 hours after the wizard had completed. Click Finish to close the wizard.

dirsync 17

8) After we click finish, we are prompted with a window displaying a link on how to check sync status. Click OK to conclude the DirSync Config wizard.

dirsync 19

Checking DirSync Version

Lastly, let’s confirm the version of DirSync we intended to install was actually installed.

1) From the Control Panel, open Programs and Features to display the version installed.

dirsync 21

2) Additionally, from an elevated PowerShell console on the DirSync server, we can run this command to check the version installed.

(GP 'hklm:SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Online Directory Sync').DisplayVersion

dirsync 22

This concludes the update process of DirSync.

Happy updating!


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s