Reputation: 3003
The two lines of code worked perfectly in one of my Azure-Powershell-Workflow runbook until recently.
$azureCredential = Get-AutomationPSCredential –Name "<asset-name>"
Add-AzureAccount -credential $azureCredential
Now it fails with the error-message Add-AzureAccount : The given key was not present in the dictionary.
The inspection of the $azureCredential
did not bring up anything suspicious.
Q What must I do to get it going again?
Upvotes: 0
Views: 2205