Azure/Powershell“;删除AzureAccount“;姓名:?

Azure/Powershell“;删除AzureAccount“;姓名:?,powershell,azure,azure-powershell,Powershell,Azure,Azure Powershell,这问题我已经解决了好几天了如果有人知道请给我解释一下 因此,我添加了AzureAccount并导致了此错误 PS C:\Windows\system32> Add-AzureAccount Add-AzureAccount : The given key was not present in the dictionary. At line:1 char:1 + Add-AzureAccount + ~~~~~~~~~~~~~~~~ + CategoryInfo :

这问题我已经解决了好几天了如果有人知道请给我解释一下

因此,我添加了AzureAccount并导致了此错误

PS C:\Windows\system32> Add-AzureAccount
Add-AzureAccount : The given key was not present in the dictionary.
At line:1 char:1
+ Add-AzureAccount
+ ~~~~~~~~~~~~~~~~
    + CategoryInfo          : CloseError: (:) [Add-AzureAccount], KeyNotFoundException
    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.Profile.AddAzureAccount
所以我在谷歌上搜索并找到了解决方案

但是,我在这里遇到了问题名称:

PS C:\Windows\system32> Remove-AzureAccount
cmdlet Remove-AzureAccount at command pipeline position 1
Supply values for the following parameters:
(Type !? for Help.)
Name: kazuaki.mai@
Remove-AzureAccount : User name is not valid.
Parameter name: accountId
At line:1 char:1
+ Remove-AzureAccount
+ ~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : CloseError: (:) [Remove-AzureAccount], ArgumentException
    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.Profile.RemoveAzureAccountCommand
所以我的问题是

这部分

PS C:\Windows\system32>删除AzureAccount cmdlet在命令管道位置1删除AzureAccount 提供以下参数的值: (键入!?以获取帮助。) 姓名:#我应该在这里放什么

我应该在名字后面加什么?
非常感谢。

您是否已经按照链接的博文建议尝试登录Azure门户?azure PowerShell版本(强烈建议使用最新的1.0.1)是否存在问题@AmandaLangeand@MilenPavlovtry提供azure帐户的完整电子邮件地址,如yourname@mailprovider.com@米伦巴甫洛夫:我做到了,但没有成功。。。。就像这个kazuaki。mai@myemail.net所以我问我的同事,我明天还要再问他一次吗,因为它似乎在12小时后过期。如果过期,那么我必须这样做?删除AzureAccount清除AzureProfile添加AzureAccount