az ad group owner

Manage Azure Active Directory group owners.

Commands

az ad group owner add

Add a group owner.

az ad group owner list

List group owners.

az ad group owner remove

Remove a group owner.

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

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

--owner-object-id

Owner's object id.

az ad group owner list

List group owners.

az ad group owner list --group
                       [--query-examples]

Examples

List group owners. (autogenerated)

az ad group owner list --group MyGroupDisplayName

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

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

--owner-object-id

Owner's object id.