| Previous | Next |
| STATUS_PRIVILEGE_NOT_HELD | STATUS_USER_EXISTS |
STATUS_INVALID_ACCOUNT_NAME
The account name format is invalid before identity lookup completes
This status is about name syntax and namespace form. The string is not a well-formed account name for the operation, so diagnosis starts with formatting, escaping, domain prefix, UPN form, or SAM-compatible name rules.
A non-existent but well-formed account is a different problem. Keep the exact input string because normalization can hide the bad form.
What to inspect
- Record whether the caller supplied UPN, DOMAIN\name, local SAM name, SID string, or another identity form.
- Check trimming, Unicode normalization, invalid separators, and accidental service-principal strings.
- Distinguish this from STATUS_NO_SUCH_USER or domain-controller reachability failures.
References
Looking for a different code? Search another status or error code.