> Source: [sk173407](https://support.checkpoint.com/results/sk/sk173407)

# sk173407 - "Failed to delete object: Object is used by a policy or other object" message when deleting an LDAP Account Unit object

| Property | Value |
|----------|-------|
| Solution ID | sk173407 |
| Date Created | 2021-06-01 |
| Last Modified | 2021-06-08 |
| Technical Level | Advanced |
| Products | SmartConsole |
| Versions | R82.10, R82.20, R82, R81.20 |

## Symptoms

- * "`Failed to delete object: Object is used by a policy or other object`" message when deleting an LDAP Account Unit object.

* The "`Where Used`" option in the LDAP Account Unit object does not show any other objects that use it.

* The *$FWDIR/log/cpm.elg* file on the Management Server contains a line similar to this:

  ```
  
  it is used by the following object(s):
  Username_Password objid:[XXX-XXX-XXX-XXX-XXX] (field:directory.ldapAu)
  ```

## Cause

The LDAP Account Unit object is already in use.

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
