MCSMLab

View Original

Forcing a manual DirSync

Remember the old days (by which I mean last week) when the process to force a DirSync to run from your DirSync server was to run the .\DirSyncConfigShell.psc1 then you could access the Start-OnlineCoexistenceSync  commandlet? Well, Semper Gumbi (pseudo-Latin for “always flexible”) faithful readers because things have changed.

Just this morning I went to demonstrate the process of forcing a manual sync from a DirSync server for a customer, and I can’t find DirSyncConfigShell.psc1. I look around and find an importmodules.ps1 file that I have never seen before, and I guess (correctly as it turns out) that this new file is the answer to my dilemma.

The new process to run a manual sync from a DirSync server (version 6862.0000 and later) is…

  1. Open PowerShell on your DirSync server
  2. Import-Module DirSync
  3. Start-OnlineCoexistanceSync

This is a big improvement over the way we used to have to force a sync to run.

As those of us who work with Office 365 on a regular basis know, you have to keep on your toes because things change and they change quickly.

To make life easier for customers, I right click the importmodules.ps1 file and choose “Send to Desktop (shortcut)”. That way they can find the file quickly and easily when they need to do a manual sync.