Windows Azure Active Directory Sync

From WikiWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Force DirSync

 Open up PowerShell and navigate to "C:\Program Files\Microsoft Online Directory Sync".  Then start the Directory Sync Configuration Shell by typing.\DirSyncConfigShell.psc1
 Start-OnlineCoexistenceSync
 Invoke-Command -ComputerName "dirsyncserver" -ScriptBlock {C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -psconsolefile "C:\Program Files\Microsoft Online Directory Sync\DirSyncConfigShell.psc1" -command "Start-OnlineCoexistenceSync"} -Credential $AdminUsername

nieuw sinds azure

 import-module dirsync
 Start-OnlineCoexistenceSync 


Force FULL DirSync

the above will always do incrementals

 HKEY_LOCALMACHINE\Software\Microsoft\MSOLCoExistence
 Search FullSyncNeeded value and pass it to 1
 http://www.overthecloud.fr/?p=44


GUI

C:\Program Files\Microsoft Online Directory Sync\SYNCBUS\Synchronization Service\UIShell and double-click miisclient.exe

member of "FIMSyncAdmins"