gpt4 book ai didi

azure - 登录-AzureRmAccount 无法在 Microsoft Azure Government 中工作

转载 作者:行者123 更新时间:2023-12-02 23:30:01 24 4
gpt4 key购买 nike

我可以通过 Azure Government portal 登录我的 Microsoft Azure 政府订阅帐户,当我通过 Powershell 登录时:

Login-AzureRmAccount -Environment AzureUSGovernment

我收到以下错误:

AADSTS50011: The reply url specified in the request does not match the reply urls configured for the application

最佳答案

升级到最新版本的 AzureRM powershell 模块将解决此问题。同样的情况也适用于 Azure CLI、存储资源管理器和任何其他 Azure 工具。

问题是这些工具的旧版本使用旧的 Azure AD 端点:

https://login-us.microsoftonline.com

更新的模块/工具使用的新/当前端点是:

https://login.microsoftonline.us

参见the Azure Government AAD Authority Update博客文章了解更多详细信息。

关于azure - 登录-AzureRmAccount 无法在 Microsoft Azure Government 中工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51311663/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com