| Previous | Next |
| ERROR_DS_INAPPROPRIATE_MATCHING | ERROR_DS_NO_SUCH_OBJECT |
ERROR_DS_CONSTRAINT_VIOLATION
ERROR_DS_CONSTRAINT_VIOLATION (0x0000202F) is an Active Directory Domain Services LDAP result. The LDAP modify or add request violates a directory constraint that is not represented by a more specific error.
What to check
- Inspect the LDAP diagnostic message for the exact attribute, policy, or object rule that failed.
- Check mandatory attributes, valid values, uniqueness requirements, and whether the object is protected by directory policy.
- Compare the request with a known-good object rather than making trial-and-error changes in production.
Useful command
Get-ADObject -Identity "<distinguishedName>" -Properties *
Microsoft: AD DS LDAP operations · Microsoft: Get-ADObject · Microsoft: AD DS diagnostic logging
Looking for a different code? Search another status or error code.