az ad group member

Manage Azure Active Directory group members.

Commands

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

az ad group member add

Add a member to a group.

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 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

Remove a member from a group.

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.