Share all details about your problem, including any error messages you may have received.
*Identity Refresh task is failing with the error message β*different object with the same identifier value was already associated with the session : [sailpoint.object.Link#0ad272379a621f20819a7378e9c61cb4]
Below options are enabled for this task:
Refresh only identities marked as needing refresh during aggregation
Do not reset the needing refresh marker after refresh
The error is due to the link gets updated twice within the same Hibernate session during the Identity Refresh task.
Can you disable " Refresh logical application links" and try running the refresh and try, still gives you the error. Can you also disable portioning and try ??
This error occurs during Identity Refresh due to duplicate Link objects being loaded in the same Hibernate session, often caused by partitioning with logical application links enabled, so disable partitioning or logical application links, run the task again, and ensure there are no duplicate account links for the identity.
@sanhitasamaddar2025 Do you have custom workflow/rules associated with identity refresh (like any identity attribute rules, target transformation rules, etc) task options where you are loading identites/links? You might want to review and share it here as well for the team to review. We have seen some times error comes where we are decaching all object using context.decache(). You can change them to use context.decache(object) to decache the specific object.
Note: Found a fix? Help the community by marking the comment as solution. Feel free to react(, , etc.) with an emoji to show your appreciation or message me directly if your problem requires a deeper dive.
I think this would be caused by running the aggregation and, at the same time, the identity refresh. It would be causing these kinds of issues. I would like to know, did you configure a sequence task or an individual identity refresh task? If you schedule the individual one, it will cause this kind of issue. However, to clean up this issue, you can go to the debug, open identity, and it might lock an object there. Remove the lock object and try to run the identity refresh, it would be successfully run. Itβs better to use a sequence task to avoid this kind of issue.