Forum Discussion

pmarsh508's avatar
pmarsh508
Copper Contributor
Feb 06, 2023

Azure Management Agent

Microsoft Management Agent is being retired this year.  I'm rolling out Azure Management Agents and I for the life of me can't remember how I rolled out MMA never mind rolling out AMA to the surface hubs.  Anyone have any information?

1 Reply

  • felipesbarros's avatar
    felipesbarros
    Copper Contributor

    Greetings...pmarsh508 

     

    I recently did that on my environment.
    Basically what I did was to delete MMA by using a simple powershell script to uninstall Microsoft Monitoring Agent. If you want to apply at large a foreach targeting all machines you have the agent installed will do the job:

    $app = Get-WmiObject -ClassName Win32_Product | Where-Object { $.name -eq "Microsoft Monitoring Agent" }
    $app.Uninstall()

    AUTOMANAGE: if you have Automanage working in your infrastructure it will reinstall MMA. I learned the worst way, looking all around from where MMA was being reinstalled until I found out Automanage was the responsible. So, you'll have to disable it if you want to have your environment using only AMA.