Connection monitor supports the Azure Monitor agent extension, which eliminates any dependency on the legacy Log Analytics agent. https://learn.microsoft.com/en-us/azure/network-watcher/azure-monitor-agent-with-connection- monitor The following (older) link talks about setting up the Log Analytics agent: https://learn.microsoft.com/en-us/azure/network-watcher/connection-monitor-overview#agents- for-on-premises-machines