簡體   English   中英

Azure power shell cmdlet:Login-AzureRmAccount interactive在Windows服務器R8上不起作用

[英]Azure power shell cmdlet: Login-AzureRmAccount interactive doesn't work on windows server R8

PowerShell版本

3.0

Azrue powershell模塊版本

3.7.0

操作系統版本

Windows Server R8

描述

交互式登錄不起作用。 登錄似乎成功但電源shell無法登錄。 已經禁用IE ESC

調試輸出

Login-AzureRmAccount : Service returned error. Check InnerException for more details: The underlying connection was
closed: An unexpected error occurred on a receive.
At line:1 char:1

Login-AzureRmAccount
  + CategoryInfo          : CloseError: (:) [Add-AzureRmAccount], AadAuthenticationFailedException
  + FullyQualifiedErrorId : Microsoft.Azure.Commands.Profile.AddAzureRMAccountCommand

您可以將PowerShell升級到5.0。 PowerShell 5.0支持Windows 2008R2SP1。 您可以從鏈接下載它。

注意:下載安裝程序文件時請選擇Win7AndW2K8R2-KB3134760-x64.msu

如果它也不起作用,您可以嘗試重新安裝Azure PowerShell,您可以從鏈接安裝最新版本的.msi文件。

更新:

您應該安裝Windows Management framework 5.1,請參閱此答案

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM