# How to remove the Aggregated Accounts after updating Account Correlation?

**URL:** <https://developer.sailpoint.com/discuss/t/how-to-remove-the-aggregated-accounts-after-updating-account-correlation/98062>\
**Category:** SHF Discussion and Questions\
**Tags:** webservice-connector, sailpoint-identity-security, aggregation\
**Created:** [January 20, 2025, 7:54pm UTC](https://developer.sailpoint.com/discuss/t/how-to-remove-the-aggregated-accounts-after-updating-account-correlation/98062 "2025-01-20T19:54:59Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![j1241](https://avatars.discourse-cdn.com/v4/letter/j/b2d939/32.png) [@j1241](https://developer.sailpoint.com/discuss/u/j1241)\
**Post date:** [January 20, 2025, 7:54pm UTC](https://developer.sailpoint.com/discuss/t/how-to-remove-the-aggregated-accounts-after-updating-account-correlation/98062/1 "2025-01-20T19:54:59Z")

</div>

Hello Everyone,

We integrated webservice app in ISC. First we used “AD Username” as Account correlation but later switched to “ssoid”.

Even after updating Account Correlation we still see the accounts correlated using “AD Username”.

How can we remove those accounts that are correlated using “AD Username”?

Any help or idea will be helpful.  
Thank you

---

<div class="post-metadata">

**Author:** ![kdfreeman](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/kdfreeman/32/22737_2.png) [@kdfreeman](https://developer.sailpoint.com/discuss/u/kdfreeman)\
**Post date:** [January 20, 2025, 9:09pm UTC](https://developer.sailpoint.com/discuss/t/how-to-remove-the-aggregated-accounts-after-updating-account-correlation/98062/2 "2025-01-20T21:09:14Z")

</div>

User remove accounts from source API to remove accounts. Then you can aggregate again.

> **[delete-accounts-async | SailPoint Developer Community](https://developer.sailpoint.com/docs/api/beta/delete-accounts-async/)**
>
> \<Heading

---

<div class="post-metadata">

**Author:** ![Abhishek\_1995](https://avatars.discourse-cdn.com/v4/letter/a/d26b3c/32.png) [@Abhishek\_1995](https://developer.sailpoint.com/discuss/u/Abhishek_1995)\
**Post date:** [January 21, 2025, 6:08am UTC](https://developer.sailpoint.com/discuss/t/how-to-remove-the-aggregated-accounts-after-updating-account-correlation/98062/3 "2025-01-21T06:08:54Z")

</div>

Hi @j1241

I think performing an unoptimized aggregation can help in this scenario.

Thank you!

---

<div class="post-metadata">

**Author:** ![Arshad](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@Arshad](https://developer.sailpoint.com/discuss/u/Arshad)\
**Post date:** [January 21, 2025, 12:04pm UTC](https://developer.sailpoint.com/discuss/t/how-to-remove-the-aggregated-accounts-after-updating-account-correlation/98062/4 "2025-01-21T12:04:18Z")

</div>

> [@j1241](#):
>
> How can we remove those accounts that are correlated using “AD Username”?

@j1241 You cannot get rid of source accounts which matches only a specific criteria. Rather what you need to do is perform a remove all accounts API on your source and then perform full account aggregation again so that your new correlation criteria is evaluated and changes are reflected.

Use the below API :

- https://{ **your tenant** }.api.identitynow.com/beta/sources/{ **your source id** }/remove-accounts

> **[delete-accounts-async | SailPoint Developer Community](https://developer.sailpoint.com/docs/api/beta/delete-accounts-async)**
>
> \<Heading

Thanks,  
Arshad.

---

<div class="post-metadata">

**Author:** ![j1241](https://avatars.discourse-cdn.com/v4/letter/j/b2d939/32.png) [@j1241](https://developer.sailpoint.com/discuss/u/j1241)\
**Post date:** [January 21, 2025, 5:55pm UTC](https://developer.sailpoint.com/discuss/t/how-to-remove-the-aggregated-accounts-after-updating-account-correlation/98062/5 "2025-01-21T17:55:01Z")

</div>

Hello @kdfreeman and @Arshad

Using remove account will remove the Accounts only in ISC or it will remove the Accounts in source as well. We just Aggregating accounts for now, nothing else is configured.

Would deleting the Source from ISC and re-integrating will also solve this issue.

Thank you

---

<div class="post-metadata">

**Author:** ![Arshad](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@Arshad](https://developer.sailpoint.com/discuss/u/Arshad)\
**Post date:** [January 21, 2025, 5:56pm UTC](https://developer.sailpoint.com/discuss/t/how-to-remove-the-aggregated-accounts-after-updating-account-correlation/98062/6 "2025-01-21T17:56:46Z")

</div>

> [@j1241](#):
>
> Using remove account will remove the Accounts only in ISC or it will remove the Accounts in source as well.

It will only remove the accounts from ISC. No action will be taken on the target end.

> [@j1241](#):
>
> Would deleting the Source from ISC and re-integrating will also solve this issue.

Yes, this will also resolve your issue if you do not want to use the API approach suggested above.

---

<div class="post-metadata">

**Author:** ![santupatel2025](https://avatars.discourse-cdn.com/v4/letter/s/a8b319/32.png) [@santupatel2025](https://developer.sailpoint.com/discuss/u/santupatel2025)\
**Post date:** [January 24, 2025, 4:48am UTC](https://developer.sailpoint.com/discuss/t/how-to-remove-the-aggregated-accounts-after-updating-account-correlation/98062/7 "2025-01-24T04:48:17Z")

</div>

Hello Rita,  
After updating the correlation config, you have to run Account Aggregation with disable optimization equals to true and it will correlated the users based on ssoid.

> **[import-accounts | SailPoint Developer Community](https://developer.sailpoint.com/docs/api/beta/import-accounts)**
>
> \<Heading

Santosh

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [March 25, 2025, 4:48am UTC](https://developer.sailpoint.com/discuss/t/how-to-remove-the-aggregated-accounts-after-updating-account-correlation/98062/8 "2025-03-25T04:48:32Z")

</div>

Closed on March 25, 2025, 4:48am UTC

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