Ensure Audit Windows Machines on Which The Log Analytics Agent is Not Connected As Expected in Azure
Requires that prerequisites are deployed to the policy assignment scope. Machines are non-compliant if the agent is not installed, or if it is installed but the COM object AgentConfigManager.MgmtSvcCfg returns that it is registered to a workspace other than the ID specified in the policy parameter. Send results via Email.
icon
Breakdown
  1. Ensure Audit Windows Machines on Which The Log Analytics Agent is Not Connected As Expected.
  2. Send results via Email. This result step can be changed from Email to Slack, Microsoft Teams or Discord.