I am setting up a Hybrid Worker to use in Azure Automation. The worker is added to my hybrid worker pool, and it states the platform as "Extension based (V2)". I am using a System Managed Identity. I am unsure if I need to add a User Managed Identity to the VM.
My Azure Automation account was setup as Private, but failed on adding to DNS so I recreated without adding to a PrivateLink DNS.
While the Worker shows as having the extension in Azure Automation (this is the new Extension based and not the Agent based so it's automatically installed), inspecting the VMs extensions states that the HybridWorkerExtension "Provisioning Failed" as follows:
[Internal Error] The Hybrid Worker Extension failed to execute: {"Message":"Authentication failed for private links"}. More information about the failure can be found in the logs located under 'C:\WindowsAzure\Logs\Plugins\Microsoft.Azure.Automation.HybridWorker.HybridWorkerForWindows\0.1.0.18' on the VM. For more troubleshooting, please follow the steps mentioned here: 'https://aka.ms/troubleshoot-hybrid-runbook-worker-v2'
I have searched high and low, but can't seem to find 1) where this authentication handshake needs to happen 2) the best method to set this up acknowledging that I believe the Extension agent is still in preview.
I suspect this is an issue with the Hybrid Worker communicating with Azure Automation as Azure Automation is set to Private vs. Public, but with the DNS error I received on trying to create Azure Automation originally (now skipped that step by creating a new Azure Automation as it kept stating a "conflict" on creation), how do I ensure communication?