For Microsoft Entra ID
This example is about implementing incremental synchronization for a Microsoft Entra ID connector (formerly Microsoft Azure AD).
Build the Incremental Synchronization Job
Identity Manager provides a full-written job to perform incremental synchronization through the UI.
See how to launch incremental Synchronize Data via the UI.
For example:
Conf/MicrosoftEntraID/MicrosoftEntraID Jobs.xml
<Job Identifier="MicrosoftEntraID_Synchronization_Delta" DisplayName_L1="10: MicrosoftEntraID - Synchronization (delta)" Agent="Local">
... </Job>
Components
Identity Manager provides a Create Connector Synchro Incremental scaffolding that generates the configuration for these steps.
For example:
Conf/MicrosoftEntraID/MicrosoftEntraID Jobs.xml
<CreateConnectorSynchroIncremental Connector="MicrosoftEntraID" DisplayName_L1="MicrosoftEntraID Synchronization (delta)">
<OpenIdIdentifier Identifier="Job"/></CreateConnectorSynchroIncremental>Note that the
Job
value inOpenIdIdentifier
refers to theClientId
written to the appsettings.agent file. Each task will authenticate with the profile associated with this ClientId.
Permissions for the agent
This part is not specific to a connector type, see the Set Up Incremental Synchronization topic for additional information.
Agent's authentication to the server
This part is not specific to a connector type, see the Set Up Incremental Synchronization topic for additional information.
Permissions for users
This part is not specific to a connector type, see the Set Up Incremental Synchronization topic for additional information.
Schedule the Job
Scheduling the job execution can rely either on Identity Manager's scheduler or on an external scheduler.
Using scheduler
The following example uses Identity Manager's scheduler to execute the
AzureAD_Synchronization_Delta
job every fifteen minutes:
Conf/MicrosoftEntraID/MicrosoftEntraID Jobs.xml
<Job Identifier="MicrosoftEntraID_Synchronization_Delta" CronTabExpression="*/15 * * * *" DisplayName_L1="10: MicrosoftEntraID - Synchronization (delta)" Agent="Local">
... </Job>
Using an external scheduler
An external scheduler relies on the Usercube-Invoke-Job .exe.
The following command can be scheduled. It executes the
AzureAD_Synchronization_Delta
job using theJob/secret
authentication pair to connect to the Identity Manager Server athttp://identitymanager.contoso.com
:
./identitymanager-Invoke-Job.exe -j "MicrosoftEntraID_Synchronization_Delta" --api-secret secret
--api-client-id Job --api-url "http://identitymanager.contoso.com"
Validate the Job
Validate the job's execution by proceeding as follows:
- Deploy the XML configuration to the database, by using the Deploy Configuration Task .
- In the UI, access the Job Execution page from the dashboard's Administration section.
- Find the job named with the string input in the job's
DisplayName_Li
property, and launch it. - Once the job is completed, Microsoft Entra ID objects should be synchronized to the database's
UR_Resources
table.