With the latest version of the DirSync tool, the method for how you perform a manual synchronization has changed.

So up until the latest version of the DirSync tool (at the time of this writing version 6862.0000), in order to force a sync, we first had launch a Windows Powershell 2.0 console on the respective server and then navigate to “C:Program FilesMicrosoft Online Directory Sync” or “C:Program FilesWindows Azure Directory Sync” folder (depending on version in use) and from here run the “DirSyncConfigshell.psc1” script followed by running the actual “Start-OnlineCoexistenceSync” cmdlet that initiates the sync itself.




With version 6862.0000, we still use the “Start-OnlineCoexistenceSync” cmdlet to initiate the actual sync. However, in order to run this cmdlet, instead of executing the “DirSyncConfigshell.psc1” script, we must use the “Import-Modules.ps1” script which is located in the “DirSync” sub-folder.


A small but nonetheless important change to be aware of. Especially if you have and identity management solution that includes logic that force a sync after a new user has been provisioned/updated/etc.


Published: 6/10/2014 14:00