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
                        [--query-examples]

Required Parameters

--group -g

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

Optional Parameters

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

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.