Azure Monitor Agent Troubleshooting

Perry Thompson 0 Reputation points
2025-01-14T15:24:06.79+00:00

After running through the following troubleshooting steps and changing firewall rules, I'm still unable to get my VMs w/Azure Monitor Agent to log data into my log analytics workspace:

AMA Troubleshooting Steps:

  1. Uninstall and re-install Azure Monitor Agent with user assigned managed identity
    1. Even though the agent extension showed installed, Type Handler Status showed "Not Readay" which is an indicator that the agent is not functioning properly or authentication leveraging user assigned managed identity is not functioning.
      1. Result: MonAgentCore.exe is up and running on the VM
  2. Unassociated the VMs from the Data Collection Rules  re-associated them
    1. From the Azure portal, when un-associating the VMs from the DCRs, the computers did not appear to remove themselves as they still showed up in the list of VMs
      1. Had to un-associate the VMs via CLI and PowerShell by removing the Association Names from the data collection rules
      2. Waited 10 min. and in the Azure Portal, re-associated the VMs to       core-01-p0-sr-wsec-dcr-001 and core-01-p0-metrics-ext-dcr-001
      3. After 15 min., on the VM, verified the existence of C:\WindowsAzure\Resources\AMADataStore.
Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,428 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.