# AD Source Account Deletion After Worker Temination

**URL:** <https://developer.sailpoint.com/discuss/t/ad-source-account-deletion-after-worker-temination/20796>\
**Category:** SHF Discussion and Questions\
**Tags:** sailpoint-identity-security, provisioning\
**Created:** [November 10, 2023, 6:29pm UTC](https://developer.sailpoint.com/discuss/t/ad-source-account-deletion-after-worker-temination/20796 "2023-11-10T18:29:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vijaylca](https://avatars.discourse-cdn.com/v4/letter/v/ecccb3/32.png) [@vijaylca](https://developer.sailpoint.com/discuss/u/vijaylca)\
**Post date:** [November 10, 2023, 6:29pm UTC](https://developer.sailpoint.com/discuss/t/ad-source-account-deletion-after-worker-temination/20796/1 "2023-11-10T18:29:25Z")

</div>

Hi All, I want to check if there are any recent improvements in IDN where we can delete AD Source Account after worker termination without using before provisioning rule. We are aware of solution where we define LCS state for deletion, enable the account and then use before provisioning rule to delete the account.

We are looking for a design solution that doesn’t involve “Before Provisioning rule” or “AD scripts” outside of IDN.

I’m aware of this idea “[https://ideas.sailpoint.com/ideas/GOV-I-489](https://ideas.sailpoint.com/ideas/GOV-I-489)” which is still in future planning.

Looks like IDN Workflow doesn’t handle this requirement either.

---

<div class="post-metadata">

**Author:** ![KRM7](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/krm7/32/2685_2.png) [@KRM7](https://developer.sailpoint.com/discuss/u/KRM7)\
**Post date:** [November 11, 2023, 9:49am UTC](https://developer.sailpoint.com/discuss/t/ad-source-account-deletion-after-worker-temination/20796/2 "2023-11-11T09:49:10Z")

</div>

Hi @vijaylca

There is no OOTB feature to delete the account.

Workflow has the action Manage Accounts → Delete Account, but it is supported for Delimited File source only.

You need to depend on Before Provisioning Rule or PowerShell scripts using Native Rules or Scripts outside IDN.

---

<div class="post-metadata">

**Author:** ![vijaylca](https://avatars.discourse-cdn.com/v4/letter/v/ecccb3/32.png) [@vijaylca](https://developer.sailpoint.com/discuss/u/vijaylca)\
**Post date:** [November 12, 2023, 4:54pm UTC](https://developer.sailpoint.com/discuss/t/ad-source-account-deletion-after-worker-temination/20796/3 "2023-11-12T16:54:21Z")

</div>

Thank you @KRM7. I guess we have to wait for " “[https://ideas.sailpoint.com/ideas/GOV-I-489](https://ideas.sailpoint.com/ideas/GOV-I-489)" to become a reality which would make things much simpler.

---

<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:** [January 11, 2024, 4:55pm UTC](https://developer.sailpoint.com/discuss/t/ad-source-account-deletion-after-worker-temination/20796/4 "2024-01-11T16:55:06Z")

</div>

Closed on January 11, 2024, 4:55pm UTC

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