Azure Automation Account - Powershell runbook stuck in Starting (intermittently)

Justin Coon 60 Reputation points
2023-06-09T19:31:53.0233333+00:00

Azure Automation Account - We have a Powershell runbook stuck in Starting (intermittently). Sometimes it works, other times its just stuck in Starting phase and never moves. Can't stop or cancel it

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
{count} votes

7 answers

Sort by: Most helpful
  1. Abdullah 31 Reputation points
    2024-05-03T15:37:53.6233333+00:00

    Has anyone figured out why this is happening? I have code which requires PS 7.2 but the runbooks just go into SUSPENDED state. I see not logs or error on the Automation Account nor on the Hybrid Worker.

    0 comments No comments

  2. Lorenzo Righini 10 Reputation points
    2024-07-30T09:49:14.9166667+00:00

    We are experiencing the same issue here.

    We have a few cloud-only runbooks that were updated from PowerShell runtime 5.1 to 7.2 on a custom runtime environment, it happens that from time to time some runs never actually start, they're stuck in Starting status and, after some time, they get Suspended without any error message I could see.

    Did anyone find a cause?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.