当我在以管理员权限打开的命令提示符中执行 az login 时,出现奇怪的错误,我之前没有得到过这个错误:
Please select the account you want to log in with.
User cancelled the Accounts Control Operation.. Status: Response_Status.Status_UserCanceled, Error code: 0, Tag: 528315210
Please explicitly log in with:
az login
在谷歌搜索中,我发现GitHub和Open State中报告了类似的问题。 我们可以有任何其他解决方案来解决这个问题..!
以管理员身份打开命令提示符并执行以下命令:
az config set core.allow_broker=false
az account clear
az login
为了使其在我的 Windows 机器上工作,我必须使用稍微不同的配置,如果将来有人需要它,请将其留在这里:
az config set core.enable_broker_on_windows=false