I have a AutomationAccount with AzureRunAsConnection created there. I can see it in the portal as well as get it in powershell using Get-AzureRmAutomationConnection
and i can see the results.
But when i connect from a Runbook ,it throws exception
Kindly help. Thanks