Hello vicky mishra, Thanks for reaching out, and we appreciate your patience while we looked into this.
From the screenshot you attached, we can see that the same runbook executes successfully when it runs on Azure but gets suspended when it targets your Hybrid Worker Group. This confirms that the runbook code itself is valid, and the issue lies specifically with the Hybrid Worker’s communication with Azure Automation.
A few additional considerations beyond the guidance already shared:
Connectivity vs. Execution: Since the job is being created on the Hybrid Worker, you are indeed able to connect to the server. The suspension is not caused by connectivity failure, but by the worker missing Azure’s required polling/heartbeat interval. Once the heartbeat issue is resolved, the same runbook should execute successfully.
- Single-Worker Limitation: Even with one Hybrid Worker and one job, this error can occur if the VM experiences CPU or memory pressure or temporarily loses outbound connectivity. Azure Automation expects a consistent heartbeat, and any delay can trigger job suspension.
- Monitoring Worker Health: Azure Automation provides a Hybrid Runbook Worker health feature that helps you track whether your worker is meeting heartbeat requirements and if there are any resource-related problems. Documentation: Monitor Hybrid Runbook Worker health. Scaling Out: If reliability is critical, consider adding another VM to the same Hybrid Worker Group. This allows Azure Automation to distribute jobs, which reduces the chance of a single node becoming a bottleneck.
In summary, your connection to the Hybrid Worker server is functioning correctly. The suspension is due to missed heartbeat checks rather than connectivity or authentication issues. Once the worker service stability or capacity concerns are addressed, your runbook should execute as expected.
I hope this helps clarify the issue. For further details, please refer to the Microsoft documentation: