azure - 如何使用 cli 访问 azure 门户

标签 azure command-line-interface

如何使用 Az Cli 登录 azure PIM?根据 MS 文档 [如何使用 az cli] ( https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt )

用于登录的 cmd 是 login az,如果是特权身份,它将带您进入门户 正在启用管理,我不确定如何访问相同的内容,请输入任何内容?

错误详细信息:HTTPSConnectionPool(host='login.microsoftonline.com', port=443): 网址超出最大重试次数:/common/oauth2/token(由 SSLError(SSLError("bad handshake: Error") 引起) ([('SSL 例程', 'tls_process_server_certificate', '证书验证失败')])")))

最佳答案

截至目前,按照此 Microsoft Document Azure CLI 没有对特权身份管理的 native 支持。您可以使用Graph Rest API

The Privileged Identity Management (PIM) API for Azure AD roles is deprecated and stopped returning data on May 31, 2021. Use the role management API and see the migration guidance below. The Privileged Identity Management (PIM) API for Azure resources will be deprecated soon. Use the new Azure REST PIM API for Azure resources. To migrate, see the migration guidance below.

您可以在此 link 提出功能请求并分享您的建议.

关于azure - 如何使用 cli 访问 azure 门户,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71594279/

相关文章:

azure - 如何从 Azure Active Directory 中删除应用程序?

php - 如何将 Laravel 安装程序 "laravel/installer"更新到最新版本?

azure - InfiniBand RDMA

python - Python 3 中 print 和 click.echo 的区别?

css - ./node_modules/css-loader 中的错误? - 在我的 styles.css @import "~bootstrap/dist/css/bootstrap.css"

Angular CLI 在同一文件夹错误中创建文件

search - grep:显示每场比赛周围的行

azure - 同步两个 azure 虚拟机时要排除哪些文件?

azure - 获取 Azure 用户 : get zero Content-Length header 的用户信息

azure - Win2012R2 新自签名证书 : A parameter cannot be found that matches parameter name 'Provider'