Error 8317 - ERROR_DS_ATT_NOT_DEF_FOR_CLASS
An attempt was made to modify an object to include an attribute that is not legal for its class.
Symptoms
- An attempt was made to modify an object to include an attribute that is not legal for its class.
- System error 8317 (ERROR_DS_ATT_NOT_DEF_FOR_CLASS)
Troubleshooting steps
- Note the exact error 8317 (ERROR_DS_ATT_NOT_DEF_FOR_CLASS) and which operation failed.
- Check the Windows Event Viewer and the relevant application/service logs for related entries.
- Apply the fix documented by Microsoft for error ERROR_DS_ATT_NOT_DEF_FOR_CLASS (see the reference URL).
- Retry the operation after applying the fix and confirm the error no longer appears.
Reference: learn.microsoft.com