【发布时间】:2016-07-23 21:46:51
【问题描述】:
直到最近,这两行代码在我的 Azure-Powershell-Workflow Runbook 中都能完美运行。
$azureCredential = Get-AutomationPSCredential –Name "<asset-name>"
Add-AzureAccount -credential $azureCredential
现在它失败并显示错误消息Add-AzureAccount : The given key was not present in the dictionary. 对$azureCredential 的检查没有发现任何可疑之处。
问我必须怎么做才能让它重新开始?
【问题讨论】:
标签: azure azure-powershell azure-automation runbook