你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

az ad app owner

管理应用程序所有者。

命令

名称 说明 类型 Status
az ad app owner add

添加应用程序所有者。

Core GA
az ad app owner list

列出应用程序所有者。

Core GA
az ad app owner remove

删除应用程序所有者。

Core GA

az ad app owner add

添加应用程序所有者。

az ad app owner add --id
                    --owner-object-id

示例

添加应用程序所有者。 (autogenerated)

az ad app owner add --id 00000000-0000-0000-0000-000000000000 --owner-object-id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

必需参数

--id

标识符 URI、应用程序 ID 或对象 ID。

--owner-object-id

所有者的对象 ID。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

属性
默认值: False
--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

属性
默认值: False
--output -o

Output format.

属性
默认值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--verbose

增加日志记录详细程度。 使用 --debug 获取完整的调试日志。

属性
默认值: False

az ad app owner list

列出应用程序所有者。

az ad app owner list --id

示例

列出应用程序所有者。 (autogenerated)

az ad app owner list --id 00000000-0000-0000-0000-000000000000

必需参数

--id

应用程序的标识符 URI、应用程序 ID 或对象 ID。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

属性
默认值: False
--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

属性
默认值: False
--output -o

Output format.

属性
默认值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--verbose

增加日志记录详细程度。 使用 --debug 获取完整的调试日志。

属性
默认值: False

az ad app owner remove

删除应用程序所有者。

az ad app owner remove --id
                       --owner-object-id

必需参数

--id

标识符 URI、应用程序 ID 或对象 ID。

--owner-object-id

所有者的对象 ID。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

属性
默认值: False
--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

属性
默认值: False
--output -o

Output format.

属性
默认值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--verbose

增加日志记录详细程度。 使用 --debug 获取完整的调试日志。

属性
默认值: False