Windows Azure Active Directory Sync
Jump to navigation
Jump to search
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