Office 365-configuring AD synchronization

Posted: June 5, 2018 in Azure

In previous post we created AD synchronization with Office 365, in this one we’ll see how we can manage it.

Using Synchronization service we can add/exclude Organization Units to/from AD synchronization

1.PNG

Click Connection-properties

2.png

Containers

3.png

Enter domain admin credentials

4.PNG

Choose what will be synchronized

5.PNG

To manual start synchronization,from connection select connection-right click-Run

6.png

To monitor synchronization open Synchronization Rules Editor

7.png

8.PNG

Similar tool in Office365 portal is DirSync manager

9.PNG

10.PNG

PowerShell commands

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

Get synchronization schedule:

Get-ADSyncscheduler

PS C:\Users\Administrator> Get-ADSyncscheduler

AllowedSyncCycleInterval : 00:30:00
CurrentlyEffectiveSyncCycleInterval : 00:30:00
CustomizedSyncCycleInterval :
NextSyncCyclePolicyType : Delta
NextSyncCycleStartTimeInUTC : 5/30/2018 8:04:05 PM
PurgeRunHistoryInterval : 7.00:00:00
SyncCycleEnabled : True
MaintenanceEnabled : True
StagingModeEnabled : False
SchedulerSuspended : False
SyncCycleInProgress : False

Start synchronization manually:

initial: full synchronization
delta:synchronize changes since last full synchronization

Start-ADSyncSyncCycle -policy initial

PS C:\Users\Administrator> Start-ADSyncSyncCycle

Result
------
Success

Enable scheduled synchronization

Set-ADSyncScheduler -SyncCycleEnabled $true

 

Advertisement
Comments

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s