| Previous | Next |
| ERROR_DS_CANT_RETRIEVE_SD | ERROR_DS_WRONG_LINKED_ATT_SYNTAX |
ERROR_DS_KEY_NOT_UNIQUE
The object requested was not found, but an object with that key was found.
ERROR_DS_KEY_NOT_UNIQUE is Win32 error 8527 (0x0000214F) in Active Directory Domain Services (AD DS).
What to verify
Verify whether the key used by the application uniquely identifies exactly one intended directory object. Check requested identity and key, all objects matching the key, and object GUIDs and replication metadata.
Likely causes
- a stale or duplicate key exists.
- the lookup combines an object identity with a non-unique alternate key.
- replication conflict created ambiguous metadata.
- the caller searches the wrong partition.
Troubleshooting steps
- Collect requested identity and key.
- Record all objects matching the key.
Handling, retry, and recovery
Resolve the duplicate or stale key through supported directory management, refresh the caller identity, and avoid selecting an arbitrary match.
Related errors
ERROR_DS_NAME_NOT_UNIQUE is specifically about a name used as a unique identifier; this code can concern another directory key
Example
An application searches for a deleted object GUID plus an alternate key now used by a replacement. Refreshing its stored object identity removes the ambiguity.
References
Looking for a different code? Search another status or error code.
