az ad group owner
Manage group owners.
Commands
Name | Description | Type | Status |
---|---|---|---|
az ad group owner add |
Add a group owner. |
Core | GA |
az ad group owner list |
List group owners. |
Core | GA |
az ad group owner remove |
Remove a group owner. |
Core | GA |
az ad group owner add
Add a group owner.
az ad group owner add --group
--owner-object-id
Examples
add a group owner. (autogenerated)
az ad group owner add --group MyGroupDisplayName --owner-object-id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Required Parameters
Group's object id or display name(prefix also works if there is a unique match).
Owner's object id.
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 owner list
List group owners.
az ad group owner list --group
Examples
List group owners. (autogenerated)
az ad group owner list --group MyGroupDisplayName
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 owner remove
Remove a group owner.
az ad group owner remove --group
--owner-object-id
Examples
remove a group owner. (autogenerated)
az ad group owner remove --group MyGroupDisplayName --owner-object-id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Required Parameters
Group's object id or display name(prefix also works if there is a unique match).
Owner's object id.
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.