Hello Eric Morsa,
As you mentioned, you are trying to install the Azure Automation Hybrid Worker Extension on a local machine connected via Azure Arc.
The Azure portal method is the most reliable way to install the Hybrid Worker because it automatically handles the V2 extension deployment, which is the current and supported version.
https://free.blessedness.top/en-us/azure/automation/automation-hybrid-runbook-worker
Before you start, ensure these are in place:
- Azure Automation Account: You must have an Automation Account.
- System-Assigned Managed Identity: This must be enabled on your Azure Arc-enabled server. This identity gives the extension the necessary permissions to securely register and communicate with your Automation Account.
- Hybrid Worker Group: Create a Hybrid Runbook Worker group in your Automation Account. The machine will be added to this group during installation.
- Network Connectivity: The machine needs outbound access on port 443 to the Azure Automation endpoints. Without this, the extension won't be able to connect and report its status.
By using the portal's Extensions blade on your Arc-enabled machine, you can avoid the common pitfalls of manual deployments, such as using an outdated or incorrect extension name. The portal's UI guides you to the correct and supported extension for your OS.
This process will handle the following automatically:
- It verifies the correct extension publisher (Microsoft.Azure.Automation.HybridWorker) and extension type (HybridWorkerForWindows or HybridWorkerForLinux).
- It passes the required settings, such as your Automation Account name and Hybrid Worker Group name, to the extension.
- It ensures the HybridWorkerService starts and is running on the machine after installation.
If the installation fails, check the Extension status in the portal for the error message. It often points to a network, managed identity, or a prerequisite that was missed.
Kindly check the below documentation for more details:
Hope this helps. and please feel free to reach out if you have any further questions.