Monday, May 2, 2011

On Demand Directory Sync for Office 365

Directory Synchronization from your AD to the cloud is a huge part of either coexisting or homing all of your users in the cloud.  This article is not going to go into the details of installing the Directory Sync tool.  This article will only demonstrate how to determine when your AD was last synced and how to force it to sync.  This may be needed if a change in AD is needed to be immediately reflected in the cloud.

By logging in the 365 online portal and navigating to the “Users” section, you can see how long it has been since the last successful sync with AD.

DirSync - portal user sync - markup

To force synchronization, log into your server that has the Directory Synchronization tool installed.  Open up PowerShell and navigate to C:\Program Files\Microsoft Online Directory Sync.  Then start the Directory Sync Configuration Shell by typing .\DirSyncConfigShell.psc1

DirSync - ps1 file

This will launch the Directory Synchronization Configuration Shell.  Once this is open you can type the following command to force synchronization:

Start-OnlineCoexistenceSync

DirSync - onlinecoexist cmd

After this is done, the online portal will show that synchronization has completed recently.

DirSync - portal finished - markup

Note that all synchronization events can be found in the Application Event Log on the server that the Directory Synchronization Tool is installed.

DirSync - event log

3 comments:

  1. Having someone take my course for me might offer much-needed comfort and support when dealing with the difficult chore of juggling several obligations or understanding tough course material. You may make sure that your educational objectives are accomplished successfully and efficiently by engaging the help of experts or educated people. Using this method not only saves you precious time and money, but it also lets you concentrate on your strengths. Looking into the prospect of having someone take my course for me might be a wise move that can ultimately improve your learning experience, whether you're looking for help grasping complex concepts or you just want to reduce the amount of work you have to do in your classes.

    ReplyDelete