A complete guide on how to enable the incremental reconciliation from Azure Active Directory AD which is trusted application into Oracle Identity Manager OIM.
What is Incremental Reconciliation?
The incremental reconciliation is a concept in IDM demography were during the reconciliation of data from a source, only the delta is picked by OIM connector which has been changed after last reconciliation timestamp.
So, let us say that if the reconciliation from Azure to OIM has been triggered on 10th Oct,2022 at 2:00pm PST and next scheduled run of reconciliation is on 14th Oct,2022 at 2:00 pm PST, then, the data which has been modified/changed after 2:00pm PST 10th Oct,2022 will be picked up by the connector and will be reconciled in OIM.
Therefore, in this article, you will know on how to enable this functionality of delta reconciliation from Azure AD to OIM.
Pre-Requisites
The OIG 12c – Azure AD connector should be installed in respective OIM instance as Trusted Source through AoB/Application Onboarding approach. Refer then below screenshot.
The Scheduled Task named as: AzureAD AzureAD User Trusted Reconciliation should be present in respective environment of OIG.
Enabling Incremental Reconciliation for Azure AD Trusted Source in OIG
- Login to Identity – Self Service Console using XELSYSADM user.
- Navigate to Manage Tab. Click on Manage.
- You will get below page.
- Click on Applications tile.
- Below page will be rendered.
- Perform the blank search on this page by clicking on “Search” button.
- Results will be displayed as shown in below screenshot. Note that search result will differ as per your OIG environment and list of connectors you have installed through Aob approach.
- Look for AzureAD connector installation which is configured as Trusted source.
- Select the Connector and click on Edit.
- Below page will be rendered.
- Scroll down till you see the Advanced Settings section.
- Expand the Advanced Settings section.
- Below page will be rendered.
- Search for “relURLs” configuration.
- The existing relURLs configuration will be as follows.
New relURLs configuration “ACCOUNT.SEARCHOP=/$(api_version)$/users?$(Filter Suffix)$&$select=displayName,givenName,userType,mailNickname,userPrincipalName,id,preferredLanguage,usageLocation,accountEnabled,surname,country, onPremisesLastSyncDateTime&$top=$(PAGE_SIZE)$&$skiptoken=$(PAGE_TOKEN)$”,”ACCOUNT.manager.SEARCHOP=/$(api_version)$/users/$(UID)$/manager”,”ACCOUNT.manager=/$(api_version)$/users/$(UID)$/manager/$ref” |
16. Change the relURLs to below value.
Existing relURLs configuration “ACCOUNT.SEARCHOP=/$(api_version)$/users?$(Filter Suffix)$&$select=displayName,givenName,userType,mailNickname,userPrincipalName,id,preferredLanguage,usageLocation,accountEnabled,surname,country&$top=$(PAGE_SIZE)$&$skiptoken=$(PAGE_TOKEN)$”,”ACCOUNT.manager.SEARCHOP=/$(api_version)$/users/$(UID)$/manager”,”ACCOUNT.manager=/$(api_version)$/users/$(UID)$/manager/$ref” |
17. Update the configuration in relURLs parameter of Advanced Settings.
- Once updated, scroll up and click on Apply.
- You will get below message.
- Then, login to OIG – System Admin Console.
- Click on Scheduler.
- Below popup will be rendered.
- Search for Scheduler named using search string as: *AzureAD*.
- Click on Search button.
- You will get below results.
- Click on Scheduler named as : AzureAD AzureAD User Trusted Reconciliation.
- The scheduled task will be opened.
- Enter the Incremental Recon Attribute as : onPremisesLastSyncDateTime
- Apply the changes.
- Apply the changes.
- The changes will be applied successfully and Incremental Recon Attribute will be updated successfully in scheduled task.
Known Issues
Issue # 1: Latest Token attribute is not getting updated after successful execution of Scheduled Task for Trusted Reconciliation.
Issue Details
- There might be case where even after successful execution of scheduled task for trusted reconciliation of user and providing the Incremental Recon attribute name, the latest token attribute is not getting updated in Scheduled Task Parameter. Refer the below screenshot.
Resolution:
- Validate with Azure AD team and ask them, to enable the onPremisesLastSyncDateTime attribute.
- Also, in the relURL, the onPremisesLastSyncDateTime should be present. Therefore, when OIM makes the call with Azure AD graph APIs, the call will ask for onPremisesLastSyncDateTime attribute to be fetched from Azure AD to OIM.
Author: Rohit Wekhande, IDMWORKS, Sr AIM Consultant