az ad group member

Manage Azure Active Directory group members.

Commands

az ad group member add Add a memeber to a group.
az ad group member check Checks whether the specified user, group, contact, or service principal is a direct or a transitive member of the specified group.
az ad group member list Gets the members of a group.
az ad group member remove Remove a memeber from a group.

az ad group member add

Reference: https://msdn.microsoft.com/en-us/library/azure/ad/graph/api/groups-operations#AddGroupMembers.

az ad group member add --group
--member-id

Required Parameters

--group -g

Group's object id or display name(prefix also works if there is a unique match).

--member-id

The object ID of the contact, group, user, or service principal.

az ad group member check

Checks whether the specified user, group, contact, or service principal is a direct or a transitive member of the specified group.

az ad group member check --group
--member-id

Required Parameters

--group -g

Group's object id or display name(prefix also works if there is a unique match).

--member-id

The object ID of the contact, group, user, or service principal to check for membership in the specified group.

az ad group member list

Gets the members of a group.

az ad group member list --group

Required Parameters

--group -g

Group's object id or display name(prefix also works if there is a unique match).

az ad group member remove

Reference: https://msdn.microsoft.com/en-us/library/azure/ad/graph/api/groups-operations#DeleteGroupMember.

az ad group member remove --group
--member-id

Required Parameters

--group -g

Group's object id or display name(prefix also works if there is a unique match).

--member-id

The object ID of the contact, group, user, or service principal.