Azure PowerShell 登录:基于浏览器的身份验证对话框无法完成

Ben*_*enV 3 azure azure-powershell adal

在 PowerShell 中运行时出现此错误Login-AzureRmAccount:

Login-AzureRmAccount : The browser based authentication dialog failed to complete. Reason: The request could not be 
processed by the server due to invalid syntax.
At line:1 char:1
+ Login-AzureRmAccount
+ ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Add-AzureRmAccount], AadAuthenticationFailedException
    + FullyQualifiedErrorId : Microsoft.Azure.Common.Authentication.AadAuthenticationFailedException,Microsoft.Azure.Comm 
   ands.Profile.AddAzureRMAccountCommand
Run Code Online (Sandbox Code Playgroud)

我看到登录窗口短暂弹出,但它立即关闭并显示此错误消息。

Ben*_*enV 5

事实证明,我的代理设置阻止了我连接到互联网。更正代理设置后,我就能够按预期登录 Azure。不确定“无效语法”错误是怎么回事......