Andy

Administrator
Creative Team
User ID
1
Joined
7 Jan 2019
Messages
943
Reaction score
40
Points
28
How to do manual synchronise between Active Directory DIRSYNC and Office 365 using PowerShell?

Open up Windows PowerShell, and then invoke the following command:

FinishedPS C:\Program Files\Microsoft Azure AD Sync\Bin> .\DirectorySyncClientCmd.exe delta
saputra.local


Initializing
Importing………………
Synchronizing from all Sources.
Synchronizing from Target.
Exporting to Target………………..
Exporting to all Sources
FinishedPS C:\Program Files\Microsoft Azure AD Sync\Bin> .\DirectorySyncClientCmd.exe initial
saputra.local


Initializing
Importing…….
Synchronizing from all Sources
Synchronizing from Target.
Exporting to Target………………….
Exporting to all Sources
FinishedPS C:\Program Files\Microsoft Azure AD Sync\Bin>


‘Delta’ is for delta sync, while ‘Initial’ will do a full synchronisation.
 
 Short URL:
Top