无法从PowerShell连接Azure. [英] Not Able to Connect Azure from PowerShell.

查看:64
本文介绍了无法从PowerShell连接Azure.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了AzureRM和Azure,但仍然无法连接到我的Azure帐户. "Connect-AzureRmAccount"给我以下结果.

PS C:\ windows \ system32> Connect-AzureRmAccount

帐户        :

SubscriptionName:

SubscriptionId  : 

租户编号       : 

环境    :

我应该安装其他东西吗?我是Powershell的新手.

谢谢,

解决方案

尝试:


cred = Get-Credential

Connect-AzureRmAccount-凭据


cred


I Installed AzureRM and Azure but still not able to connect tomy Azure Account. 'Connect-AzureRmAccount' giving me below result.

PS C:\windows\system32> Connect-AzureRmAccount

Account          : 

SubscriptionName : 

SubscriptionId   : 

TenantId         : 

Environment      : 

should i installed anything else? I am new to powershell.

Thanks,

解决方案

try:


cred = Get-Credential

Connect-AzureRmAccount -Credential


cred


这篇关于无法从PowerShell连接Azure.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆