ERROR_MEMBER_IN_ALIAS - 1378 (0x562)
The specified account name is already a member of the group.
Updated: Feb 21, 2026
Technical Meaning
The error code ERROR_MEMBER_IN_ALIAS with the numeric value 1378 and hexadecimal representation 0x562 indicates that an attempt was made to add a user or group account name to a security principal, but the specified account is already a member of the target group.
Error Details
This error typically occurs during operations involving group membership changes in the Windows operating system. It can be encountered when using functions such as NetLocalGroupAddMembers or similar APIs that manage local groups on a Windows machine.
Usage Context
The context in which this error might arise includes scenarios where an administrator attempts to add a user or another group to a local or domain group, and the specified entity is already part of the target group. This can also happen when scripts or applications attempt to modify group membership without proper validation checks.
Developer Interpretation
Developers should interpret this error as indicating that the operation being attempted has failed because the specified account name is already a member of the intended group. The application or script should handle this scenario by either logging an appropriate message, informing the user, or taking corrective action to avoid redundant operations.
Related Errors
- ERROR_GROUP_EXISTS (1350 - 0x542): This error indicates that a group with the specified name already exists. It is related but distinct from
ERROR_MEMBER_IN_ALIAS, as it pertains to creating a new group rather than adding members to an existing one. - ERROR_MEMBER_NOT_IN_GROUP (1379 - 0x563): This error occurs when attempting to remove a member that does not exist in the specified group, which is another common scenario related to group management operations.
FAQ
Q: What causes ERROR_MEMBER_IN_ALIAS?
A: The primary cause of this error is an attempt to add a user or group account name to a security principal when the specified entity is already a member of that group. This can occur due to incorrect validation checks in scripts or applications.
Q: How should I handle ERROR_MEMBER_IN_ALIAS?
A: Upon encountering this error, you should log an appropriate message and inform the user that the operation has failed because the account name is already a member of the target group. Consider implementing additional validation to prevent such redundant operations.
Summary
The ERROR_MEMBER_IN_ALIAS error code signifies that an attempt was made to add a user or group account to a security principal, but the specified entity is already part of the intended group. Developers should handle this scenario by logging appropriate messages and ensuring proper validation checks in their applications to avoid redundant operations.