| Previous | Next |
| ERROR_NO_SUCH_ALIAS | ERROR_MEMBER_IN_ALIAS |
ERROR_MEMBER_NOT_IN_ALIAS
A local-group removal referenced a membership that is absent
Alias membership is SID-based in the SAMR model, while NetLocalGroupDelMembers can remove existing user or global-group accounts from a local group. ERROR_MEMBER_NOT_IN_ALIAS means the target alias exists but does not contain the specified principal. That differs from ERROR_NO_SUCH_ALIAS and ERROR_NO_SUCH_MEMBER, which describe missing objects.
For desired-state removal, this condition may already satisfy the final state. Before classifying it as harmless, resolve the supplied name to the SID that the API used and enumerate the alias membership. A principal from another domain can have the same account name but a different SID, so string comparison alone can hide a targeting error.
What to inspect
- Resolve the requested member to a SID in the intended authority.
- Enumerate the local group and compare actual member SIDs.
- Treat the result as idempotent only when the desired principal is definitely the one queried.
References
Looking for a different code? Search another status or error code.