Permissions for Automation credentials?

I have made a runbook which simply starts and stops machines at scheduled times. The Runbook crashes due to invalid credentials.

Unexpected exception: Authentication failed for credential []. Ensure a valid Azure Active Directory user account is specified which is configured as a co-administrator (using classic portal) and subscription owner (modern portal) on the target subscription. Verify you can log into the Azure portal using these credentials. (Unexpected exception: Authentication failed for credential []. Ensure a valid Azure Active Directory user account is specified which is configured as a co-administrator (using classic portal) and subscription owner (modern portal) on the target subscription. Verify you can log into the Azure portal using these credentials.) 

So, help? How and where do I set the needed permissions? Googling provides a complete and utter mess of roles, Classic Portal, RM, and what have you. None of which have the slightest connection with reality, as far as I can see, and I cannot find it in the UI.

Hope one of you guys can help.

submitted by /u/thebloodredbeduin
[link] [comments]

Leave a Reply