stepbytech

Step by Step Directions for Techs

Force DirSync to perform an immediate directory synchronization

If you need DirSync to initiate a directory synchronization immediately, you can perform the following procedure:

  1. Open Powershell
  2. Navigate to the Windows Azure Active Directory Sync directory
    1. cd “C:\Program Files\Windows Azure Active Directory Sync\”
  3. Launch the config shell 
    1.  .\DirSyncConfigShell.psc1
  4. A new window will open.  Type “Start-OnlineCoexistenceSync” (without the quotes)
    Start-OnlineCoexistenceSync
    (if that command gets too long, don’t forget that pressing the TAB key will complete your commands in PowerShell!)

That’s it.  I know it isn’t very impressive.  Where is the status?  How do you know if it worked?  I will show you that too!

  1. In Windows Explorer, navigate to “C:\Program Files\Windows Azure Active Directory Sync\SYNCBUS\Synchronization Service\UIShell”
  2. Double click on miisclient.exe to open this window:
    miisclient

This gives you the status of all of your jobs that have ran, including the current one that was initiated from the script!

Advertisements

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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: