---
title: Uninstall the Nodinite Azure Monitoring Agent – Step-by-Step Guide
description: "Uninstall the Nodinite Azure Monitoring Agent safely: remove Resources and the Monitoring Agent configuration first, then use the Installer CLI (v7) or Add or Remove Programs and the MSI (legacy v6)."
---

:ReleaseNotes(https://portal.nodinite.com/marketplace/10):

# :fa-trash-can: Uninstalling the Nodinite Azure Monitoring Agent

Use this guide to safely uninstall the :Nodinite: [Azure agent][Azure Agent]. Remove the agent with the Installer CLI in v7, or with the installer or the Windows 'Add or Remove Programs' feature in legacy v6. Follow these steps to avoid common pitfalls and ensure a clean removal.

* ✅ Remove the agent with the Installer CLI or familiar Windows tools  
* ✅ Prevent unnecessary alerts by cleaning up configurations first  
* ✅ Access troubleshooting tips for a smooth uninstall experience  
* ✅ Get direct support if you encounter issues  

## :fa-network-wired: Understanding the Uninstall Process

The agent is more than a program on a server: :Nodinite: also holds a [Monitoring Agent][Monitoring Agents] configuration for it, and the agent publishes [Resources][] (subscriptions, Resource Groups, Functions, Web Jobs, Storage, and other Azure services) that your [Monitor Views][] use. Remove the :Nodinite: side first, then the program.

<div class="mermaid">
flowchart LR
    A["fa:fa-display Remove Resources<br/>from Monitor Views"] --> B["fa:fa-monitor-waveform Remove the Monitoring<br/>Agent configuration"]
    B --> C{"fa:fa-code-branch Nodinite version?"}
    C -->|"v7"| D["fa:fa-terminal Installer CLI"]
    C -->|"v6 (legacy)"| E["fa:fa-box Add or Remove Programs<br/>or MSI"]
    D --> F["fa:fa-flag-checkered Agent removed"]
    E --> F
    style A fill:#2678BD
    style B fill:#2678BD
    style D fill:#93d16d
    style E fill:#FFD525
    style F fill:#93d16d
</div>

*Uninstall order: blue nodes are the cleanup in :Nodinite:, green the recommended v7 path and the result, yellow the legacy v6 path.*

| Method | :Nodinite: version | Status |
| --- | --- | --- |
| Installer CLI (`uninstall-agent`) | v7 | ✅ Recommended |
| Add or Remove Programs, or the MSI file | v6 | ⚠️ Legacy, deprecated |

## Nodinite version 7

### Preferred Method: Installer CLI {#preferred-method-portal-based-powershell-script}

In :Nodinite: v7, the Installer CLI removes an agent with `uninstall-agent`, using the package from the [Portal][NodinitePortal]<sup>:fa-arrow-up-right-from-square:</sup>. This modern approach:

* ✅ **Automates agent removal** with the Installer CLI  
* ✅ **Removes multiple agents simultaneously** with consistent settings  
* ✅ **Eliminates manual uninstallation steps** and reduces human error  
* ✅ **Centrally manages uninstallation** from the Portal  

The Installer CLI and its package come from the same Portal workflow as [Install Nodinite v7][] and [Update Nodinite v7][Updating Nodinite v7].

>[!INFO]
>Remove the [Monitoring Agents][] and applicable [Resources][] from [Monitor Views][] **before** you uninstall the agent with the Installer CLI or the v6 method below.

## Nodinite version 6 :fa-skull-crossbones: (Add or Remove Programs - Legacy)

>[!WARNING]
>The Add or Remove Programs uninstallation method for :Nodinite: v6 is **deprecated** and will be retired. Upgrade to :Nodinite: v7 for the modern Portal-based CLI uninstallation experience.

1. Use Add or Remove Programs
2. Run the MSI

If you uninstall the agent without first removing the [Monitoring Agents][], users receive error alerts. The Monitoring Agent Configuration also appears as unavailable in the list of [Monitoring Agents][].

This example shows an uninstalled and unavailable Monitoring Agent:  
![Monitoring Agents list with an unavailable Monitoring Agent][9]  
*Generic example of an unavailable Monitoring Agent in the list of [Monitoring Agents][].*  

## :fa-exclamation-triangle: Before You Uninstall

>[!IMPORTANT]
>**Remove :Nodinite: configurations BEFORE uninstalling the agent** to prevent continuous error alerts for all users.

### Required Configuration Changes

Before clicking **Uninstall**, complete these steps in the [Web Client][]:

1. **Remove Resources** – Delete all [Resources][] monitored by this agent
2. **Remove Monitoring Agent Configuration** – Delete the agent from [Monitoring Agents][] ([Add or manage a Monitoring Agent Configuration][])
3. **Update Monitor Views** – Remove this agent, and filters by [Category][Categories] or [Application][Applications] for its Resources, from all [Monitor Views][] ([Add or manage Monitor View][])
4. **Review the App Registration (optional)** – If no other :Nodinite: agent uses it, remove the App Registration or its role assignments as described in [Azure Application Access][AzureApplicationsAccess]

### What Happens If You Skip This?

* ❌ **Users receive continuous error alerts** – *"Monitoring agent unavailable"*  
* ❌ **Agent appears broken** in the [Monitoring Agents][] list  
* ❌ **[Monitor Views][] display errors** for the missing agent  
* ❌ **Cleanup requires manual intervention** across all views  

## Uninstall guide

Follow these steps to uninstall the [Azure Monitoring Agent][Azure Agent] in legacy v6.

### :fa-forward-step: Step 1: Add or Remove Programs

Open the Windows 'Add or Remove Programs' feature to remove installed programs.  
![Windows Add or remove programs list][100]  
*Example of the Windows 'Add or remove programs' feature.*  

Select the [Azure agent][Azure Agent] from the list of installed programs.  
![List of installed Nodinite programs with the Azure Monitoring Agent][Remove Installation]  
*Example of the list of installed :Nodinite: applications.*  

### :fa-forward-step: Step 2: Start the installer

Alternatively, double-click the **MSI file** to start uninstalling the :Nodinite: [Azure agent][Azure Agent].  
![MSI installer file for the Azure Monitoring Agent][1]  
*Example of the MSI installer for the :Nodinite: Azure Monitoring Agent.*  

### :fa-forward-step: Step 3: Welcome Screen

When you run the MSI file or start from 'Add or Remove Programs', the **Welcome screen** appears.  
![Welcome screen of the Azure Monitoring Agent installer][3]  
*Example of the Welcome screen for the :Nodinite: Azure Monitoring Agent uninstaller.*  

Click **Next** to continue or **Cancel** to exit the uninstaller.

### :fa-forward-step: Step 4: Change, Repair or Remove the installation

In the 'Change, repair or remove installation' dialog, click **Remove** to uninstall the agent and proceed.  
![Change, repair, or remove installation dialog][0]  
*Example of the dialog for changing, repairing, or removing the installation.*  

#### Files in Use

If you did not stop the service before uninstalling, a dialog appears. Click 'Ok' to close and continue.  
![Files in Use dialog when the service is still running][5]  
*Example of the dialog shown when the service is still running.*  

If you did not stop the service before uninstalling, another dialog appears. Click 'Ok' to close and continue.  
![Dialog when the installer is unable to close the service][6]  
*Example of the dialog shown when the installer cannot close the service.*  

### :fa-forward-step: Step 5: Remove Program

Click **Remove** to remove the agent and continue.  
![Remove Program confirmation dialog][RemoveProgram]  
*Example of the Remove Program confirmation dialog.*  

### :fa-forward-step: Step 6: Completed setup

The final step of the uninstallation shows either a **success** or a **premature exit**.  
![Completed Setup screen after a successful uninstall][8]  
*Example of a successful uninstallation.*  

:fa-flag-checkered: Click **Finish** to exit the uninstaller.

## Troubleshooting

If the uninstallation fails, you see a premature exit.  
![Premature Exit screen of the installer][7]  
*Example of a failed uninstallation.*  

For other agent problems, see the [Troubleshooting][] FAQ.

### :fa-user-md: Support

Contact our [Support][]<sup>:fa-arrow-up-right-from-square:</sup> team if you need help resolving uninstallation problems.

>[!NOTE]
>You may find additional troubleshooting information in the Windows Event Logs.

## :fa-hand-point-right: Next Steps

* :fa-display: [Add or manage Monitor View][]  
* :fa-monitor-waveform: [Add or manage a Monitoring Agent Configuration][]  
* :fa-rocket: [Install][] - Reinstall the agent  

## :fa-link-horizontal: Related Topics

* :fa-cloud: [Azure Agent][]  
* :fa-arrows-rotate: [Update][]  
* :fa-circle-question: [Troubleshooting][]  
* :fa-lightbulb-on: [Resources][]  
* :fa-monitor-waveform: [Monitoring Agents][]  
* :fa-display: [Monitor Views][]  
* :fa-list: [Azure Monitoring Features Overview][Features - Overview]  

[0]:{ndm}/Documentation%20Pictures/MonitorAgent/Azure/Setup/ChangeRepairRemove.png
[1]:{ndm}/Documentation%20Pictures/MonitorAgent/Azure/Setup/MSI.png
[3]:{ndm}/Documentation%20Pictures/MonitorAgent/Azure/Setup/Welcome.png
[5]:{ndm}/Documentation%20Pictures/MonitorAgent/Azure/Setup/InUse.png
[6]:{ndm}/Documentation%20Pictures/MonitorAgent/Azure/Setup/UnableToClose.png
[7]:{ndm}/Documentation%20Pictures/MonitorAgent/Azure/Setup/PrematureExit.png
[8]:{ndm}/Documentation%20Pictures/MonitorAgent/Azure/Setup/CompletedUninstall.png
[9]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Monitor/Sources/SourceNotAvailable.png
[100]:{ndm}/Documentation%20Pictures/AddOrRemovePrograms.png

[Add or manage a Monitoring Agent Configuration]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Features/Add%20or%20manage%20Monitor%20Agent.md
[Add or manage Monitor View]:{ndr}/Administration/2.%20Monitor%20Management/1.%20Monitor%20Views/Features/Add%20or%20manage%20Monitor%20View.md
[Applications]:{ndr}/Administration/2.%20Monitor%20Management/5.%20Applications/Features/What%20is%20an%20Application.md
[Azure Agent]:{ndr}/Logging%20and%20Monitoring/Azure/Overview.md
[AzureApplicationsAccess]:{ndr}/Install%20and%20Update/Troubleshooting/Azure/Azure%20Application%20Access.md
[Categories]:{ndr}/Administration/2.%20Monitor%20Management/4.%20Categories/Features/What%20is%20a%20Category.md
[Features - Overview]:{ndr}/Logging%20and%20Monitoring/Azure/Features/Overview.md
[Install]:{ndr}/Logging%20and%20Monitoring/Azure/Getting%20started/2.%20Install.md
[Install Nodinite v7]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7.md
[Monitor Views]:{ndr}/Administration/2.%20Monitor%20Management/1.%20Monitor%20Views/Features/What%20is%20a%20Monitor%20View.md
[Monitoring Agents]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Features/What%20is%20a%20Monitor%20Agent.md
[NodinitePortal]:https://portal.nodinite.com
[Remove Installation]:{ndm}/Documentation%20Pictures/MonitorAgent/Azure/Setup/RemoveInstallation.png
[RemoveProgram]:{ndm}/Documentation%20Pictures/MonitorAgent/Azure/Setup/RemoveProgram.png
[Resources]:{ndr}/Administration/2.%20Monitor%20Management/3.%20Resources/Features/What%20is%20a%20Resource.md
[Support]:https://support.nodinite.com
[Troubleshooting]:{ndr}/Logging%20and%20Monitoring/Azure/Troubleshooting/Overview.md
[Update]:{ndr}/Logging%20and%20Monitoring/Azure/Updating.md
[Updating Nodinite v7]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Updating%20Nodinite%20v7.md
[Web Client]:{ndr}/Getting%20Started/Overview.md