Hey DirSync where is my DirSyncConfigShell.psc1?
In previous versions of Dirsync (latest version 1.0.6862.0000) there was a nifty little shell that could be found in C:Program FilesWindows Azure Active Directory SyncSYNCBUSSynchronization ServiceUIShellDirSyncConfigShell.psc1 I liked to create a shortcut on my desktop along with the ever so ambiguously named DirSync GUI, miisclient.exe. When I logged into my server I had quick access to launch DirSync GUI and also quick access to Force a Synchronization if required.
Today the DirSyncConfigShell.psc1 is no more. In order to enable the ability to “start” a quick synchronization you will now need to open a PS shell in Admin mode, enter “import-module DirSync” then run “start-onlinecoexistencesync”
What DirSync Version am I Running?
If you need to check what version of DirSync you currently have installed, simply run the following PowerShell cmdlet:
(GP “hklm:SOFTWAREMicrosoftWindowsCurrentVersionUninstallMicrosoft Online Directory Sync”).DisplayVersion
How to Change DirSync “synchronization interval”
By default DirSync (Windows Azure Active Directory Sync) will synchronize every 3 hours. This interval can be changed by editing the Microsoft.Online.DirSync.Scheduler.exe config file found in C:Program FilesWindows Azure Active Directory Sync
- Open the Microsoft.Online.DirSync.Scheduler.exe config file with notepad
- Look for the entry <add key=”SyncTimeInterval” value=”3:0:0″ /> which specifies Hours:minutes:seconds Change the value to an interval you desire IE> “0:10:0” for ten minutes and save the file
- Open Start –> Run –> Services.msc and restart Windows Azure Active Directory Sync Service
This window shows a sync interval of 5 mins after the config file has been edited
DirSync Set Up Credentials
During setup of the Windows Azure Active Directory Sync tool Configuration Wizard you will be asked for two sets of credentials; Azure Office 365 Company Administrator and On-Premises AD domain administrator.
The account specified for Windows Azure is not required to be licensed in Office 365
This account should however, be configured with a NON expiring password as DirSync will cease to run if the password changes in Office 365. The password can be changed at the DirSync GUI should this occur but it is probably easier to set it to NON expiring and avoid service disruption to your Synchronization process.
To set a user to a non expiring password run the following PowerShell command:
set-msoluser -Userprincipalname <userID> -PasswordNeverExpires $true
If you need to change the password in DirSync GUI perform the following:
Open miisclient.exe
Click on Management Agents
Right click Windows Azure Active Directory Connector and choose properties
Click on Conncetivity then update the password