# Best Practices for Reconciling and Deleting Stale Users Pre-SCIM Integration

**URL:** <https://devforum.okta.com/t/best-practices-for-reconciling-and-deleting-stale-users-pre-scim-integration/34175>\
**Category:** SCIM\
**Created:** [August 26, 2025, 3:38am UTC](https://devforum.okta.com/t/best-practices-for-reconciling-and-deleting-stale-users-pre-scim-integration/34175 "2025-08-26T03:38:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amrit](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@Amrit](https://devforum.okta.com/u/Amrit)\
**Post date:** [August 26, 2025, 3:38am UTC](https://devforum.okta.com/t/best-practices-for-reconciling-and-deleting-stale-users-pre-scim-integration/34175/1 "2025-08-26T03:38:07Z")

</div>

Hello Okta Developer Community,

We are in the process of implementing a SCIM 2.0 service for our application. Our customers will use their Okta IdP to send us SCIM requests to create and deactivate users, which will keep our systems synchronized for all future lifecycle events.

**Our Core Challenge:**

While SCIM will effectively handle users who are deactivated _after_ the integration is enabled, we have a significant number of stale user accounts in our system. These are users who were created via a previous JIT federation model and were later deactivated or deleted from the customer’s Okta IdP **long before** our SCIM service was connected.

Since these deactivations happened in the past, the customer’s Okta IdP will not send us a SCIM `delete` or `deactivation` event for these users. This leaves us with a large number of orphaned accounts that pose a security risk and a data integrity problem.

**Our Question:**

What is the recommended best practice or guidance from Okta for identifying and cleaning up these stale user accounts at the time of SCIM integration? How can we perform an initial reconciliation to align our user base with the customer’s source of truth in Okta?

---

<div class="post-metadata">

**Author:** ![Amrit](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@Amrit](https://devforum.okta.com/u/Amrit)\
**Post date:** [September 1, 2025, 6:22am UTC](https://devforum.okta.com/t/best-practices-for-reconciling-and-deleting-stale-users-pre-scim-integration/34175/2 "2025-09-01T06:22:11Z")

</div>

Hi Team, would you have any suggestion ?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [October 1, 2025, 6:22am UTC](https://devforum.okta.com/t/best-practices-for-reconciling-and-deleting-stale-users-pre-scim-integration/34175/3 "2025-10-01T06:22:13Z")

</div>

Closed on October 1, 2025, 6:22am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
