| Previous | Next |
| ERROR_TOKEN_ALREADY_IN_USE | ERROR_MEMBER_NOT_IN_ALIAS |
ERROR_NO_SUCH_ALIAS
A local-group operation could not open the alias object
SAMR uses alias objects for the local-group style of membership, and NetLocalGroup functions operate on those local groups. ERROR_NO_SUCH_ALIAS reports that the requested alias is absent. This is intentionally separate from ERROR_NO_SUCH_GROUP, because a domain/global group and a local alias use different object handles and membership methods.
Check whether the caller accidentally switched between NetGroup and NetLocalGroup APIs or opened the wrong domain authority. A same-named global group does not satisfy an alias lookup. For remote administration, capture the server name explicitly; querying the local machine by mistake is a common way for a perfectly valid remote local group to appear missing.
What to inspect
- Identify whether the intended object is a local alias or a domain/global group.
- Verify the server and authority used by NetLocalGroup or SAMR.
- Enumerate local groups on that exact target before creating a replacement alias.
References
Looking for a different code? Search another status or error code.