How to force/manual sync Local Active Directory to Office 365

Prerequisite

1. Installed DirSync
2. Configured DirSync

Steps

1. Open Power Shell as Administrator (User must be domain admin and part of the local administrator where DirSync is installed)
2. run import-module DirSync
3. run Start-OnlineCoexistenceSync
4. check Office 365 active user Last Sync Status state less than an hour.