# Identity with 1.8m entitlements

**URL:** <https://developer.sailpoint.com/discuss/t/identity-with-1-8m-entitlements/136836>\
**Category:** IIQ Discussion and Questions\
**Tags:** identityiq, identities, entitlements\
**Created:** [May 22, 2025, 12:28pm UTC](https://developer.sailpoint.com/discuss/t/identity-with-1-8m-entitlements/136836 "2025-05-22T12:28:38Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![haideralishaik](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/haideralishaik/32/20414_2.png) [@haideralishaik](https://developer.sailpoint.com/discuss/u/haideralishaik)\
**Post date:** [May 22, 2025, 12:37pm UTC](https://developer.sailpoint.com/discuss/t/identity-with-1-8m-entitlements/136836/2 "2025-05-22T12:37:39Z")

</div>

hi @rohit_jaiswal1

I would check below:

#### 1. **Check and Cancel Stuck Identity Requests**

- Use the **Identity Request** object in the debug page to search for requests in an “executing” or “pending” state for the affected user.
- Cancel or mark them as “completed” manually or via a script.

#### 2. **Clean Up Sticky Entitlements**

- Use the **Remove Unused Attribute Assignments** task or a custom rule to remove entitlements that are no longer valid.
- You can also write a **BeanShell rule** to iterate through and remove entitlements from the identity object directly.

[Resolving Sticky Entitlements: Common Causes and Solutions - IdentityIQ (IIQ) / IIQ Community Knowledge Base - SailPoint Developer Community](https://developer.sailpoint.com/discuss/t/resolving-sticky-entitlements-common-causes-and-solutions/96383)

#### 3. **Break Down the Refresh Task**

- Instead of refreshing the entire identity, try refreshing in smaller parts (e.g., one link at a time or specific entitlement types).
- Alternatively, use a **custom task** to batch process entitlements in chunks to avoid stack overflow.

#### 4. **Database Cleanup**

- As a last resort, if the entitlements are not removable via UI or tasks, you may need to work with your DBAs to clean up the `spt_identity_entitlement` or related tables directly.

---

_[View the full topic](https://developer.sailpoint.com/discuss/t/identity-with-1-8m-entitlements/136836)._
