You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

使用PowerShell无法连接Azure的问题求助

使用PowerShell无法连接Azure的问题求助

错误提示截图

大家好,我最近碰到了一个特别棘手的问题:在PowerShell里尝试连接Azure账号时,一直弹出 “The SSL connection could not be established” 的错误提示。

我已经把能想到的解决办法都试了个遍:

  • 关闭了防火墙
  • 切换到手机热点来连接网络
  • 将PowerShell执行策略调整为RemoteSigned
  • 使用WaM进行认证
  • 改用浏览器认证方式
  • 清理了.Azure目录下的上下文文件

我的账号是学生账号,更奇怪的是,这个问题只出现在我的ThinkPad X1 Gen 10笔记本上,在我的台式机上操作完全正常,没有任何问题。而且我的同学用同样的学生账号也没遇到这个情况。


编辑补充:以下是我执行connect-azaccount -debug后的调试输出片段:

PS C:\Users\arnec> connect-azaccount -debug
DEBUG: 10:29:27 - [ConfigManager] Got nothing from [DisplaySecretsWarning], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 10:29:27 - ConnectAzureRmAccountCommand begin processing with ParameterSet 'UserWithSubscriptionId'.
DEBUG: 10:29:27 - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning...

备注:内容来源于stack exchange,提问作者Arne Callewaert

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.15 15:53:15