An Azure service that is used to automate, configure, and install updates across hybrid environments.
Because other 7.4 runbooks execute correctly on the same Hybrid Worker, the worker installation and powershell_7_4_path configuration are probably not the cause. Microsoft’s documented upgrade flow is to select the 7.4 Runtime environment in Edit mode, test the runbook, and then publish it. A scheduled, webhook, or production job uses the published runbook, so confirm the 7.4 environment is selected, click Publish, start a fresh job, and check $PSVersionTable.
Also check whether source control is synchronizing the runbook. Azure Automation documentation states that source-control integration does not support PowerShell 7.4; synchronized runbooks are created as 5.1.
Deleting the runbook or recreating schedules should not be necessary. If the published runbook shows 7.4, source control is not involved, and a new Hybrid Worker job still launches 5.1, open an Azure Automation support request with the job ID, runbook name, worker extension version, and runtime-environment metadata. That behavior would require service-side investigation.