An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
Hello BB
You must migrate to Azure Monitor Agent if any of the following are true in your environment:
- You are using the Log Analytics agent (MMA/OMS):
- The Log Analytics agent (MMA/OMS) was retired on August 31, 2024
- Microsoft has removed portal installation and no longer supports MMA
- Cloud ingestion services for MMA can stop at any time after March 2, 2026
If your VMs or servers still have:
- Microsoft Monitoring Agent (MMA) on Windows
- OMS Agent on Linux
→ Migration to AMA is required.
- Your machines send data to Log Analytics using legacy agents:
If logs or metrics are coming from:
- Azure VMs
- Azure Arc–enabled servers
- On‑prem or other‑cloud servers
and they report via MMA/OMS, then those machines must be migrated to AMA.
Reference: https://learn.microsoft.com/en-us/azure/azure-monitor/agents/azure-monitor-agent-migration
- You use services that now depend on AMA:
These Azure services no longer rely on MMA and require AMA instead:
- Azure Monitor (Logs, Metrics, VM Insights)
- Microsoft Sentinel
- Defender for Cloud (Servers)
- Change Tracking & Inventory (new version)
- Azure Update Manager
- Container insights (agent-based)
If any of these are in use → AMA is required.
Please have a look into below components need to be migrated:
When migrating, you are not just replacing an agent. The following components change:
- Agent:
LegacyReplacementMMA / OMS agentAzure Monitor Agent (AMA)----------------MMA / OMS agent**Azure Monitor Agent (AMA)**AMA is installed as:
-
AzureMonitorWindowsAgent -
AzureMonitorLinuxAgent
- Data collection configuration:
Legacy agents used workspace‑level settings. AMA uses Data Collection Rules (DCRs).
You must migrate:
- Windows Event Logs
- Linux syslog
- Performance counters
- Custom logs
- IIS / text-based logs
All are redefined using DCRs, not workspace settings. [learn.microsoft.com]
- Non‑Azure / on‑prem servers:
For non‑Azure machines:
- Azure Arc agent is mandatory
- AMA is deployed after Arc onboarding
This is required for AMA to function on on‑prem or other‑cloud servers.
Please have a look into below shared steps:
Step 1: Identify legacy agents
- Find machines with MMA/OMS installed
- Check which Log Analytics workspaces they report to
Microsoft provides:
- AMA Migration Helper Workbook
- DCR Config Generator to assist with discovery and mapping.
Step 2: Create Data Collection Rules (DCRs):
- Recreate existing data collection (events, counters, logs)
- Point DCRs to the same Log Analytics workspace(s)
- Validate that AMA supports each data source you collect.
Step 3: Deploy AMA:
- Install AMA on Azure VMs, VMSS, and Arc-enabled servers
- Use Azure Policy for scale and auto‑deployment
- Associate machines with the correct DCRs. [learn.microsoft.com]
AMA and MMA can coexist temporarily, but duplicate ingestion must be avoided.
Step 4: Validate data:
- Compare incoming data from AMA vs legacy agent
- Confirm dashboards, alerts, and queries still work
- Ensure no duplicate data ingestion occurs.
Step 5: Remove legacy agents:
- Uninstall MMA/OMS once validation is complete
- Microsoft provides an MMA removal tool for large environments.
Official Microsoft reference:
- Migrate to Azure Monitor Agent from Log Analytics agent https://learn.microsoft.com/azure/azure-monitor/agents/azure-monitor-agent-migration.
If any machine in your environment still uses the Log Analytics (MMA/OMS) agent, migration to Azure Monitor Agent is required. AMA replaces MMA, uses Data Collection Rules instead of workspace settings, and is mandatory for Azure Monitor, Defender for Cloud, and Microsoft Sentinel going forward. Migration involves identifying legacy agents, recreating data collection with DCRs, deploying AMA, validating telemetry, and then removing the legacy agents.
If the answer is helpful, could you please click "upvote" it .
If you’re still experiencing the problem or need further clarification, please feel free to share additional information so we can continue investigating and assist you further.
Thanks,
Suchitra.