az ad group member
Manage group members.
Commands
Name | Description | Type | Status |
---|---|---|---|
az ad group member add |
Add a member to a group. |
Core | GA |
az ad group member check |
Check if a member is in a group. |
Core | GA |
az ad group member list |
Get the members of a group. |
Core | GA |
az ad group member remove |
Remove a member from a group. |
Core | GA |
az ad group member add
Add a member to a group.
az ad group member add --group
--member-id
Required Parameters
Group's object id or display name(prefix also works if there is a unique match).
The object ID of the contact, group, user, or service principal.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
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's object id or display name(prefix also works if there is a unique match).
The object ID of the contact, group, user, or service principal.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az ad group member list
Get the members of a group.
az ad group member list --group
Required Parameters
Group's object id or display name(prefix also works if there is a unique match).
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az ad group member remove
Remove a member from a group.
az ad group member remove --group
--member-id
Required Parameters
Group's object id or display name(prefix also works if there is a unique match).
The object ID of the contact, group, user, or service principal.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Azure CLI