Windows Azure Active Directory Sync: Difference between revisions

From WikiWiki
Jump to navigation Jump to search
(Created page with "== Force DirSync == Open up PowerShell and navigate to "C:\Program Files\Microsoft Online Directory Sync". Then start the Directory Sync Configuration Shell by typing.\Di...")   (change visibility)
 
No edit summary   (change visibility)
 
(3 intermediate revisions by the same user not shown)
Line 6: Line 6:


   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
   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"

Latest revision as of 10:01, 22 September 2014

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"