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.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
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.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
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.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
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.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |