---
title: How to Uninstall the Nodinite Microsoft Dynamics 365 Monitoring Agent – Complete Guide
description: Step-by-step guide to uninstalling the Nodinite Microsoft Dynamics 365 Monitoring agent. Learn how to safely remove the agent, avoid common pitfalls, and get support if needed.
---

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

# :fa-trash-can: Uninstalling the Nodinite Microsoft Dynamics 365 Monitoring agent

Easily remove the :Nodinite: Microsoft Dynamics 365 Monitoring agent with this step-by-step guide. Ensure a smooth transition and avoid unnecessary alerts by following best practices for uninstallation. :fa-trash-can: :fa-check-circle:

## Nodinite version 7

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

In :Nodinite: v7, you remove an agent with the Installer CLI command `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

## 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. Please upgrade to :Nodinite: v7 for the modern Portal-based CLI uninstallation experience.

The [Microsoft Dynamics 365 Monitoring agent][Dynamics 365] can be uninstalled by running the installer directly or using 'Add or Remove Programs' in Windows.

>[!INFO]
>Remove the [Monitoring Agents][] and related [Resources][] from your [Monitor Views][] **before** uninstalling the agent. This prevents unnecessary alerts and keeps your monitoring environment clean.

If you uninstall the agent without removing the [Monitoring Agents][], users will receive error alerts, and the Monitoring Agent Configuration will appear as unavailable in the list of [Monitoring Agents][].

Example of an uninstalled and unavailable Monitoring Agent:  
![Unavailable Monitoring Agent][9]  
*Generic example of unavailable [Monitoring Agents][].*  
___

## Uninstall Guide

Follow these steps to uninstall the [Microsoft Dynamics 365 Monitoring agent][Dynamics 365]:

## :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][]  
3. **Update Monitor Views** – Remove this agent from all [Monitor Views][]

### What Happens If You Skip This?

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

**Example of unavailable agent:**

![Unavailable Monitoring Agent][9]  
*An unavailable Monitoring Agent appears in the list if not removed before uninstalling.*
___

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

Use the Windows built-in feature to remove installed programs.  
![Add or Remove Programs][100]  
*Windows 'Add or remove programs' feature.*  

From the list of installed programs, select the [Microsoft Dynamics 365 Monitoring agent][Dynamics 365].  

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

Optionally, double-click the **MSI file** to start the [un]installation of the :Nodinite: [Microsoft Dynamics 365 Monitoring agent][Dynamics 365].  
![msi][1]  
*The MSI installer for the Dynamics 365 Monitoring agent.*

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

After launching the MSI file or starting from 'Add or remove programs', you'll see the **Welcome screen**.  
![Welcome][3]  
*Welcome screen of the installer.*

Click **'Next'** to continue or **'Cancel'** to quit the installer.

### :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.  
![Remove][0]  
*Select 'Remove' to proceed with uninstallation.*

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

Click **'Remove'** to remove the agent and proceed.  
![Remove Program.][RemoveProgram]  
*Click 'Remove' to confirm uninstallation.*

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

The final step of the uninstallation will show either a **success** or a **premature exit**.  
![Completed][8]  
*Successfully uninstalled example.*  

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

___

## Troubleshooting

A failed uninstallation will result in a premature exit.  
![Premature exit][7]  
*Failed uninstallation example*  

### :fa-user-md: Support

If you need help, contact our [Support][] team for expert assistance. :fa-headset:

>[!NOTE]
>Additional troubleshooting information may be available 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-link-horizontal: Related Topics

* :fa-cloud: [Microsoft Dynamics 365 Monitoring agent][Dynamics 365]  
* :fa-lightbulb-on: [Resources][]  
* :fa-monitor-waveform: [Monitoring Agents][]  
* :fa-display: [Monitor Views][]  

[0]:{ndm}/Documentation%20Pictures/MonitorAgent/DynamicsCRMOnline/Install/ChangeRepairRemove.png
[1]:{ndm}/Documentation%20Pictures/MonitorAgent/DynamicsCRMOnline/Install/MSI.png
[3]:{ndm}/Documentation%20Pictures/MonitorAgent/DynamicsCRMOnline/Install/Welcome.png
[7]:{ndm}/Documentation%20Pictures/MonitorAgent/DynamicsCRMOnline/Install/PrematureExit.png
[8]:{ndm}/Documentation%20Pictures/MonitorAgent/DynamicsCRMOnline/Install/CompletedChangeRepairRemove.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
[Dynamics 365]:{ndr}/Logging%20and%20Monitoring/Microsoft%20Dynamics%20365/Overview.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
[RemoveProgram]:{ndm}/Documentation%20Pictures/MonitorAgent/DynamicsCRMOnline/Install/ReadyToRemove.png
[Resources]:{ndr}/Administration/2.%20Monitor%20Management/3.%20Resources/Features/What%20is%20a%20Resource.md
[Support]:https://support.nodinite.com
[Web Client]:{ndr}/Getting%20Started/Overview.md