azure - 使用 PS 连接 Azure:请尝试使用不同的凭据或不同的订阅 ID 登录
问题描述
1) 我使用我的用户帐户 john.smith@mycompany.com 在子 ID“111111111111111111111111111”打开 Azure 门户。作为贡献者,我可以成功创建新资源。
2)我运行 Az 命令来创建资源并与以下连接。
Connect-AzAccount -Subscription "111111111111111111111111111"
错误:
Connect-AzAccount : The provided account john.smith@mycompany.com does not have access to
subscription ID "111111111111111111111111111". Please try logging in with different
credentials or a different subscription ID.
有什么问题?
解决方案
如果您还没有弄清楚,请尝试以下链接,它可能会对您有所帮助
推荐阅读
- sql-server - SQL Server - Management Studio 和自定义应用程序之间的不同功能结果
- sorting - 排序目录文件
- ms-access - MS Access VBA .recordcount 在记录存在时返回 0,并且 debug.print 返回值
- powershell - 如何使用powershell设置密码框的PasswordRevealMode属性[WPF]
- visual-studio - 数据连接器电源查询视觉工作室
- c# - MVC Core 2.0 HTML.Action 与 Component.InvokeAsync
- c# - Excel、EPPlus、公式未正确评估
- python - 我有一个 csv 文件,我想将 csv 文件的每一行提取到不同的 csv 文件中。我怎样才能做到这一点?
- angular - Angular CLI 无法从本地安装的库中找到模块
- r - R中ggalluvial情节的标签和主题