Not an obvious error message:
New-AzurermAutomationCredential -AutomationAccountName "PStest" -Name "myPsredential"
New-AzurermAutomationCredential : Input string was not in a correct format.
Turns out it means you already have an Azure Automation credential with that name (“myPsCredential” in this example).
Wasted some time google/binging that one!
.
No comments:
Post a Comment