直到最近,这两行代码在我的Azure-Powershell-Workflow运行簿中运行得很好。
$azureCredential = Get-AutomationPSCredential –Name "<asset-name>"
Add-AzureAccount -credential $azureCredential现在,错误消息Add-AzureAccount : The given key was not present in the dictionary.失败了,对$azureCredential的检查没有引起任何可疑。
Q我要怎么做才能让它再次运转?
发布于 2016-04-04 22:26:09
如果凭据无法访问任何RDFE (Azure Service Management)订阅,则在Add-AzureAccount中可能会发生此错误。您可以按照这里的指示将凭证添加到RDFE订阅中。
https://stackoverflow.com/questions/36401177
复制相似问题