| Previous | Next |
| ERROR_DS_NON_ASQ_SEARCH | ERROR_DS_INVALID_SEARCH_FLAG_SUBTREE |
ERROR_DS_AUDIT_FAILURE
A required audit event could not be generated for the operation.
ERROR_DS_AUDIT_FAILURE is Win32 error 8625 (0x000021B1) in Active Directory Domain Services.
Likely impact: Bypassing the check would create an unaudited security-sensitive modification and is not a valid recovery.
Typical causes
- Security log or audit subsystem is unavailable.
- audit policy requires an event that cannot be emitted.
- resource pressure prevents audit generation.
- the service cannot communicate with security logging.
Troubleshooting steps
- Verify that the security subsystem can record the required audit before the protected operation is accepted.
- Collect Security log state and capacity and audit policy and subcategory.
Useful evidence
- Collect operation and caller token.
- Collect first audit-generation status.
Recovery and retry
Restore mandatory audit logging and verify a test event before retrying the directory operation.
Related errors
ERROR_DS_AUTHORIZATION_FAILED denies the access check; this code rejects an operation because its required audit record cannot be generated
Example
A protected directory change fails while the Security log service is unavailable. Restoring logging and confirming the audit event allows the same authorized change.
References
Looking for a different code? Search another status or error code.