20 Jan 2020

Active Directory, Azure Directory Sync


You Need


DirectorySyncClientCmd.exe


Force a SYNC to office 365 NOW  (if you don't want to wait for 30 min for the sync)



From Power Shell (Admin)

Import-Module "C:\Program Files\Microsoft Azure AD Sync\Bin\ADSync\ADSync.psd1"


Start-ADSyncSyncCycle -PolicyType Delta   (whats changed)

Or

start-ADSyncSyncCycle -PolicyType Initial    (total resync)




Enable ADSI Editior (if registry is corrupt and not showing in MMC)


regsvr32 /u adsiedit.dll     (remove)

regsvr32 adsiedit.dll     (add)



Making missing fields visible 


http://activedirectoryfaq.com/2014/10/ad-attribute-editor-missing-make-search-visible/


List Domain Information


Ldifde –f domaindump.ldf



Connecting Power Shell to office 365 account



Connect-Msolservice

Get-MsolUser -UserPrincipalName joe@fred.onmicrosoft.com | fl

No comments:

Post a Comment