Hi Friends,

If you are using Windows 2012 R2 Directory Sync server for office 365. For doing Force Directory synchronization for the active directory users, You have run the below command in dirsync powershell . Run powershell as administrator mode and import dirsync module

Windows PowerShell
Copyright (C) 2013 Microsoft Corporation. All rights reserved.

PS C:\Windows\system32> Import-Module DirSync
PS C:\Windows\system32> Start-OnlineCoexistenceSync
PS C:\Windows\system32> Start-OnlineCoexistenceSync

For checking the status of the dirsync open Synchronization manger .Please find the path to find the service manager.

Path of the Updates software-
“C:\Program Files\Windows Azure Active Directory Sync\SYNCBUS\Synchronization Service\UIShell\miisclient.exe”

AD force sync

Enjoy it