What does Windows error code 8212 (ERROR_DS_OBJ_CLASS_VIOLATION) mean?

 
Previous Next
ERROR_DS_RIDMGR_INIT_ERROR ERROR_DS_CANT_ON_NON_LEAF

ERROR_DS_OBJ_CLASS_VIOLATION

ERROR_DS_OBJ_CLASS_VIOLATION (0x00002014) is an Active Directory Domain Services LDAP result. The requested operation violates one or more schema constraints for the object class.

What to check

  • Verify the objectClass hierarchy and the mandatory and allowed attributes for the target class.
  • Check whether the operation tries to add a system-only, single-valued, or class-incompatible attribute.
  • Compare the request with a known-good object of the same class before changing production data.

Useful command

Get-ADObject -Identity "<distinguishedName>" -Properties objectClass,*

Microsoft: Get-ADObject · Microsoft: AD DS LDAP operations · Microsoft: AD DS diagnostic logging


Looking for a different code? Search another status or error code.