| Previous | Next |
| ERROR_DS_NOT_SUPPORTED_SORT_ORDER | ERROR_DS_MACHINE_ACCOUNT_CREATED_PRENT4 |
ERROR_DS_NAME_NOT_UNIQUE
The requested name already exists as a unique identifier.
ERROR_DS_NAME_NOT_UNIQUE is Win32 error 8571 (0x0000217B) in Active Directory Domain Services (AD DS).
What to verify
Verify whether the requested name maps to exactly one object in the relevant namespace and naming context. Check requested name and attribute, all matching object DNs and GUIDs, and search base and scope.
Likely causes
- duplicate names exist where uniqueness is required.
- replication conflict created ambiguous entries.
- the caller searches too broad a namespace.
- a stale object retains the name.
Troubleshooting steps
- Collect requested name and attribute.
- Record all matching object DNs and GUIDs.
Handling, retry, and recovery
Remove or rename the conflicting object through supported tools, narrow the namespace where appropriate, and retry using a stable object identity.
Related errors
ERROR_DS_DUPLICATE_ID_FOUND concerns a non-unique identifier on retrieval; this code specifically reports that the requested name is not unique
Example
A provisioning tool searches the forest for a supposedly unique service name and finds objects in two domains. Using the intended domain scope and cleaning the stale object restores uniqueness.
References
Looking for a different code? Search another status or error code.