I am currently facing an issue. I am having a situation where I want to have an Azure Windows VM onboarded in Azure Update Management with an Automation Account. How it works - from my understanding - is, that 2 extensions are installed on the VM: Log Analytics Agent and hybrid worker runtime. The LA-agent is then connected to an LogAnalytics workspace, that is connected to an Automation account. Fine.
Now the issue: how can I onboard the VM to a second LogAnalytics workspace for e.g. onboarding it to Azure Sentinel or - in my case - making a second person able to monitor and alert on the VM. From my understanding, it is not possible to connect the LogAnalyticsAgent to two workspaces.
Questions:
- Is really the Log Analytics Agent istalled on the VM or the newer Azure Monitor Agent?
- Did somebody manage to get such a scenario working or has documentation/information how it works?
Details:
What I found is this statement, but it is not "clear", what it means: " Having a machine registered for Update Management in more than one Log Analytics workspace (also referred to as multihoming) isn't supported. "
https://docs.microsoft.com/en-us/azure/automation/update-management/plan-deployment#step-4---log-analytics-agent
Plus this GitHub discussion:
https://github.com/MicrosoftDocs/azure-docs/issues/85849
Cheers