| Previous | Next |
| ERROR_DS_ALIAS_PROBLEM | ERROR_DS_IS_LEAF |
ERROR_DS_INVALID_DN_SYNTAX
ERROR_DS_INVALID_DN_SYNTAX (0x00002032) is an Active Directory Domain Services LDAP result. The client supplied a distinguished name that does not conform to LDAP DN syntax.
What to check
- Verify the RDN sequence, commas, equal signs, escaped characters, and the base naming context.
- Do not construct a DN by concatenating display names without proper escaping.
- Retrieve the object DN from the directory and reuse that value rather than manually retyping it.
Useful command
Get-ADObject -LDAPFilter "(sAMAccountName=<name>)" -Properties DistinguishedName
Microsoft: AD DS LDAP operations · Microsoft: Get-ADObject · Microsoft: LDAP ETW tracing
Looking for a different code? Search another status or error code.