Removing MMA agent

Vishu 1,696 Reputation points
2024-02-20T19:37:03.23+00:00

After installing the ama agent on a windows/linux vm , Can we just remove the old mma agent by uninstalling from the extension tab of the vm or do we need to login to uninstall it from inside the vm

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,526 questions
{count} votes

Accepted answer
  1. SwathiDhanwada-MSFT 18,901 Reputation points
    2024-02-21T05:35:13.6433333+00:00

    @Vishu You can uninstall the extension from the Extension Tab of the azure virtual machine. Or you can use below PowerShell command for azure virtual machines to do the same.

    • Windows
    Remove-AzVMExtension -Name AzureMonitorWindowsAgent -ResourceGroupName <resource-group-name> -VMName <virtual-machine-name>
    
    • Linux
      Remove-AzVMExtension -Name AzureMonitorLinuxAgent -ResourceGroupName <resource-group-name> -VMName <virtual-machine-name>
      
    
    0 comments No comments

0 additional answers

Sort by: Most helpful

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.