Share via

How can I tell if I need to migrate to Azure Monitor Agent?

BB 45 Reputation points
2026-03-18T21:03:15.7533333+00:00

How can I tell if i need to migrated to Azure Monitor Agent? And if so, what components need to be migrated and how?

Thank you

Azure Monitor
Azure Monitor

An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.


Answer accepted by question author
  1. Suchitra Suregaunkar 11,815 Reputation points Microsoft External Staff Moderator
    2026-03-19T00:43:27.25+00:00

    Hello BB

    You must migrate to Azure Monitor Agent if any of the following are true in your environment:

    1. 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.

    1. 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

    1. 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:

    1. Agent:

    LegacyReplacementMMA / OMS agentAzure Monitor Agent (AMA)----------------MMA / OMS agent**Azure Monitor Agent (AMA)**AMA is installed as:

    • AzureMonitorWindowsAgent
    • AzureMonitorLinuxAgent
    1. 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]

    1. 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:

    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.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

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