Hi AdminAS
Welcome to Microsoft Q&A! Thanks for asking question here!
1.When a PowerShell runbook is submitted to a Hybrid worker, it first enters the "Queued" stage, waiting to be picked up by the worker, which checks for new jobs periodically, causing the "pings" in the Event Viewer.
2.Once the worker picks up the runbook, it moves to the "Running" stage to execute the code, and any errors will be logged in the Event Viewer or job output.
3.If the runbook fails to execute or is dropped by the worker, there may be an issue with the worker or the runbook code.
To troubleshoot, check the following
Check the Event Viewer logs on the worker for any errors or warnings related to the runbook.
Check the job output in the Azure portal for any errors or warnings related to the runbook.
Check the runbook code for syntax errors or other issues that might cause it to fail.
Refer: https://jeffbrown.tech/azure-automation-hybrid-worker/
https://learn.microsoft.com/en-us/azure/automation/automation-hybrid-runbook-worker
https://www.youtube.com/watch?time_continue=1&v=ajmlau0JZdY&embeds_referring_euri=https%3A%2F%2Fwww.perplexity.ai%2F&embeds_referring_origin=https%3A%2F%2Fwww.perplexity.ai&source_ve_path=MjM4NTE
If you required anything, please let us know!