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

Check if a member is in a 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
                       [--additional-properties]

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.

Optional Parameters

--additional-properties

Unmatched properties from the message are deserialized this collection.

az ad group member check

Check if a member is in a group.

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

Examples

Check if a member is in a group. (autogenerated)

az ad group member check --group MyGroupDisplayName --member-id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

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