Share via

MMAEXTENSION_ERROR_AGENTNOTINSTALLED

Majid Qureshi 5 Reputation points
2023-02-15T06:59:53.88+00:00
 Install of extension failed with error: Extension Microsoft.EnterpriseCloud.Monitoring.MicrosoftMonitoringAgent of type: MicrosoftMonitoringAgent already exists on the box under a different name. You must execute a delete request before any new requests can be processed for this extension type. Extension Message: The Microsoft Monitoring Agent failed to install on this machine. Please try to uninstall and reinstall the extension. If the issue persists, please contact support. (MMAEXTENSION_ERROR_AGENTNOTINSTALLED)
MMAEXTENSION_ERROR_AGENTNOTINSTALLED : The term 'MMAEXTENSION_ERROR_AGENTNOTINSTALLED' is not recognized as the name
of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included,
verify that the path is correct and try again.
At line:1 char:483
+ ... sists, please contact support. (MMAEXTENSION_ERROR_AGENTNOTINSTALLED)
+                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (MMAEXTENSION_ERROR_AGENTNOTINSTALLED:String) [], CommandNotFoundExcepti
   on
    + FullyQualifiedErrorId : CommandNotFoundException
Azure Monitor
Azure Monitor

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

Azure Arc
Azure Arc

A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.


1 answer

Sort by: Most helpful
  1. AnuragSingh-MSFT 21,566 Reputation points Moderator
    2023-02-27T07:27:33.8333333+00:00

    @Majid Qureshi As the error mentions, the "Microsoft Monitoring Agent" installer detected the same or earlier version of agent installed (most probably using a different method). Please check that and ensure that it is removed before installing it again.

    If you are still facing this issue, please include additional context to the error in qustion to help us understand the issue further. Here are a couple of questions that should help you with additional information that needs to be included -

    1. How are you installing the agent/extension - MMA?
    2. Does the machine already have an agent installed for monitoring?
    3. What kind of machine is this - Azure VM, Arc server etc.
    4. Any other logs/screenshot etc. to help us get better context.

    Please let us know if you have any questions.

    Was this answer helpful?

    0 comments No comments

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.