Enabling Incremental Reconciliation from Azure AD to OIM: Step-by-Step Guide

Published May 15, 2023
Enabling Incremental Reconciliation from Azure AD to OIM: Step-by-Step Guide Image

Insight summary and table of contents

Summary

A complete guide on how to enable the incremental reconciliation from Azure Active Directory AD which is trusted application into Oracle Identity Manager OIM.

Contents

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.
Azure AD Incremental Reconciliation Step 1
The Scheduled Task named as: AzureAD AzureAD User Trusted Reconciliation should be present in respective environment of OIG.

Azure AD Incremental Reconciliation Step 2

Enabling Incremental Reconciliation for Azure AD Trusted Source in OIG

1. Login to Identity – Self Service Console using XELSYSADM user.

Azure AD Incremental Reconciliation Step 3
2. Navigate to Manage Tab. Click on Manage.

Azure AD Incremental Reconciliation 4
3. You will get below page.

Azure AD Incremental Reconciliation
4. Click on Applications tile.

Azure AD Incremental Reconciliation
5. Below page will be rendered.

Azure AD Incremental Reconciliation
6. Perform the blank search on this page by clicking on “Search” button.

Azure AD Incremental Reconciliation
7. 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.
Azure AD Incremental Reconciliation
8. Look for AzureAD connector installation which is configured as Trusted source.

Azure AD Incremental Reconciliation
9. Select the Connector and click on Edit.

Azure AD Incremental Reconciliation
10. Below page will be rendered.

Azure AD Incremental Reconciliation
11. Scroll down till you see the Advanced Settings section.

Azure AD Incremental Reconciliation
12. Expand the Advanced Settings section.

Azure AD Incremental Reconciliation
13. Below page will be rendered.

Azure AD Incremental Reconciliation
14. Search for “relURLs” configuration.

Azure AD Incremental Reconciliation
15. 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.

Azure AD Incremental Reconciliation
18. Once updated, scroll up and click on Apply.

Azure AD Incremental Reconciliation
19. You will get below message.

Azure AD Incremental Reconciliation
20. Then, login to OIG – System Admin Console.

Azure AD Incremental Reconciliation
21. Click on Scheduler.

Azure AD Incremental Reconciliation
22. Below popup will be rendered.

Azure AD Incremental Reconciliation
23. Search for Scheduler named using search string as: *AzureAD*.

Azure AD Incremental Reconciliation
24. Click on Search button.

Azure AD Incremental Reconciliation
25. You will get below results.

Azure AD Incremental Reconciliation
26. Click on Scheduler named as : AzureAD AzureAD User Trusted Reconciliation.

Azure AD Incremental Reconciliation
27. The scheduled task will be opened.

Azure AD Incremental Reconciliation
28. Enter the Incremental Recon Attribute as: onPremisesLastSyncDateTime

Azure AD Incremental Reconciliation
29: Apply the changes.

Azure AD Incremental Reconciliation
30: Apply the changes.

Azure AD Incremental Reconciliation
31. The changes will be applied successfully and Incremental Recon Attribute will be updated successfully in scheduled task.

Azure AD Incremental Reconciliation

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.

Azure AD Incremental Reconciliation
Resolution:

  1. Validate with Azure AD team and ask them, to enable the onPremisesLastSyncDateTime attribute.
  2. 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