---
title: Configure the Microsoft Dynamics 365 Monitoring Agent for Nodinite – Complete Guide
description: Discover how to configure the Microsoft Dynamics 365 Monitoring Agent for Nodinite. Learn about remote configuration, workflow monitoring, license thresholds, and advanced settings to maximize integration visibility and control.
---

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

# :fa-edit: Configuring the Microsoft Dynamics 365 Monitoring Agent for use with Nodinite

Empower your integration landscape with :Nodinite:! This guide shows you how to configure the Microsoft Dynamics 365 [Monitoring Agent][Monitoring Agents], unlocking proactive monitoring, deep insights, and seamless management for your [Dynamics 365][] environment. :fa-rocket:

>[!INFO]
>This guide provides step-by-step instructions for configuring the :Nodinite: [Microsoft Dynamics 365 Monitoring Agent][Dynamics 365].

>[!NOTE]
>Remote monitoring and configuration are available after you install and create the initial [Monitoring Agent Configuration][Add or manage a Monitoring Agent Configuration] for the [Microsoft Dynamics 365 Monitoring Agent][Dynamics 365]. First-time users should start with [adding a Monitoring Agent Configuration](#fa-square-plus-add-microsoft-dynamics-365-monitoring-agent-configuration).

## :fa-edit: Remote Configuration

As a :Nodinite: Administrator, click the **Configuration** button to open a modal and configure the agent:  
![RemoteConfiguration][png_RemoteConfigurationButton]  
*Click the 'Configuration' button to open a dialog for configuring the agent.*  

You can adjust configurations on the [Resource][Resources] using the **Action** button if the [Monitor View][Monitor Views] has the [Remote Actions][] feature enabled.

## :fa-square-plus: Dynamics 365 Instance

The **Dynamics CRM** tab lets you manage one or more Dynamics 365 instances.  
![Remote Configuration Subscriptions][1]  
*Add your Dynamics 365 instances to monitor for complete visibility.*  

* Press the :fa-square-plus: `Add` button to add one or more configuration entries:  
  ![EmptyAccordion][13]  
  *Each configuration appears as an accordion for easy management.*  
* :fa-repeat: Repeat this step for each Azure subscription you want to log and/or monitor with :Nodinite:.

Click the accordion to expand and manage each configuration.

### Connection Tab

Within the **Connection** tab, provide connectivity details for each Dynamics 365 instance you want to monitor.  
![ConnectionTab][2]  
*Add connectivity information for your Dynamics 365 instance.*  

For each connection, set the following properties:

* :fa-tag: **Name** – Display name for the Application in Monitor Views. Changing this requires updating Monitor Views for this server.
* :fa-link: **Uri** – API address for the Dynamics 365 instance.
* :fa-user: **User name** – Account username for Dynamics login.
* :fa-key: **Password** – Account password for Dynamics login.

### Workflows/Processing Steps

Configure monitoring for workflows and processing steps in the **Workflows/Processing steps** tab.  
![WorkflowsProcessing steps tab][4]  
*Configuration options for workflows and processing steps.*  

* :fa-square-check: **Enable monitoring of workflows** – Monitor CRM workflows in Dynamics 365 (enabled by default).
* :fa-square-check: **Include Draft workflows** – Include workflows in draft state (enabled by default).
* :fa-square-check: **Evaluate time for jobs in status waiting for resources** – Raise alerts if jobs wait too long (enabled by default).
* :fa-square-check: **Evaluate time for jobs in status suspended waiting** – Raise alerts if jobs are suspended too long (enabled by default).
* :fa-square-check: **Evaluate failed workflows as error** – Treat failed workflows as errors (enabled by default).
* :fa-square-check: **Evaluate failed processing step as error** – Treat failed processing steps as errors (disabled by default).
* ⚠️ **Warning Time Span** – Max allowed time before a warning (e.g., 7.12:30:59).
* ❌ **Error Time Span** – Max allowed time before an error (e.g., 7.12:30:59).
* :fa-clock-rotate-left: **History Time Span** – How far back to check for system job runs (affects data size).
* :fa-hashtag: **History Size** – Max number of system job runs to list in workflow history.

#### Specific Workflows

Fine-tune monitoring for specific workflows directly on the [Resource][Resources] from within [Monitor Views][].  
![Specific workflows][5]  

Click the :fa-square-plus: **Add** button to configure a named workflow.  
![Specific workflow configuration][7]  

#### Specific Processing Steps

Fine-tune monitoring for specific processing steps directly on the [Resource][Resources] from within [Monitor Views][].  

Click the :fa-square-plus: **Add** button to configure a named processing step.  
![Specific processing step configuration][8]  

## User Audit Thresholds

In the **User audit thresholds** tab, set parameters that control how the [Microsoft Dynamics 365 Monitoring Agent][Dynamics 365] audits user activity.  
![User audit thresholds tab][9]  

* :fa-square-check: **Enable monitoring of inactive users** – Monitor user logins in Dynamics CRM (enabled by default).
* ⚠️ **Warning Time Span** – Max allowed time before a warning (e.g., 7.12:30:59).
* ❌ **Error Time Span** – Max allowed time before an error (e.g., 7.12:30:59).
* :fa-clock-rotate-left: **History Time Span** – How far back to save user operations audit history (affects data size).

### Specific Users

![Specific user configuration][10]  

## License Thresholds Tab

In the **License thresholds** tab, configure monitoring for license usage in your Dynamics 365 instance.  
![License thresholds][11]  

* :fa-list-check: **Evaluation Type** – Type of license evaluation: Used, Free, or None.  
  ![Evaluation Type][12]  
* ⚠️ **Warning Limit** – Max used licenses before a warning alert.
* ❌ **Error Limit** – Max used licenses before an error alert.

## :fa-wrench: Settings Tab

The **Settings** tab lets you fine-tune the agent's operation.  

* :fa-leaf: [Environment](#fa-leaf-environment)
* :fa-bug: [Debug](#fa-bug-debug)
* :fa-database: **Monitor [Agent Database][] [Connection String][SQL Connection Strings]** – SQL Server connection string for the agent's database (uses **Microsoft.Data.SqlClient** with modern TLS defaults)
* :fa-clock: [Culture Information](#fa-clock-culture-information)

```sql
Server=localhost;Database=Nodinite_MonitorAgent_DynamicsCRM;Integrated Security=True;Connection Timeout=60;TrustServerCertificate=True
```

>[!TIP]
>**Need help with connection strings?** See the comprehensive [SQL Server Connection Strings][SQL Connection Strings] guide for certificate validation, AOAG configuration, troubleshooting, and security best practices.

>Installing and updating the Monitoring database is described in the [Agent Database][] user guide.

![Dynamics CRM agent Settings tab with Environment, Debug, Monitor Agent Database Connection String, and Culture Information][3]  
*Example of the Settings tab, with the Culture Information field below the database connection string.*  

### :fa-leaf: Environment

Set the name of the target **Environment** (e.g., TEST, QA, PROD) for clear context in all [Monitoring Agents][].

### :fa-bug: Debug

Enable or disable the **Debug** flag for detailed file logging. Default is unchecked.

### :fa-clock: Culture Information

Set how time-based data is presented in the [Web Client][]/[Web API][].

>[!NOTE]
>This setting applies to the date and time values this agent formats. Apart from those, the [Web Client][] shows dates and times in your browser's local format, and the [Web API][] returns them in UTC.

## :fa-save: Save

Click '**Save**' or '**Save and close**' to persist your changes. New settings and thresholds are evaluated on the next synchronization.  
![Save and Close buttons][png_SaveAndClose]  
*Example of the Save options.*  

>[!NOTE]
>The delay in presenting the new evaluated state depends on the synchronization interval set for the monitoring agent. Click the **Sync Now** button to force an immediate synchronization.

**Save and close** saves your changes and closes the dialog.  
**Cancel** closes the dialog without saving changes.

## :fa-square-plus: Add Microsoft Dynamics 365 Monitoring Agent Configuration

After successfully [installing][Install] the [Microsoft Dynamics 365 Monitoring Agent][Dynamics 365], provide :Nodinite: with connection details so the [Monitoring Service][] can recognize and manage your new agent.  
>No monitoring or configuration can be performed until you complete the steps below.

### :fa-sort-numeric-down: Configuration Steps

1. Add and configure a new [Monitoring Agent Configuration][Add or manage a Monitoring Agent Configuration].  
    >Connection information is available in the `README.txt` file in the installation folder.  
2. Use the [Remote Configuration][] feature to configure the agent (see the beginning of this guide).  
3. Create one or more self-service enabled [Monitor Views][] that include the selected [Resources][] provided by the [Microsoft Dynamics 365 Monitoring Agent][Dynamics 365] according to your business needs.  
   * :fa-display: [Add or manage Monitor View][]  
4. Fine-tune specific settings directly on [Resources][] using [Remote Actions][].

___

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

* :fa-monitor-waveform: [Add or manage a Monitoring Agent Configuration][]  
* :fa-display: [Add or manage Monitor View][]  

## :fa-link-horizontal: Related Topics

* :fa-rocket: [Install Dynamics 365 Monitoring Agent][Install]  
* :fa-monitor-waveform: [Monitoring Agents][]  
* :fa-box-open: [Applications][]  

[1]:{ndm}/Documentation%20Pictures/MonitorAgent/DynamicsCRMOnline/RemoteConfiguration/AddInstanceToMonitor.png
[2]:{ndm}/Documentation%20Pictures/MonitorAgent/DynamicsCRMOnline/RemoteConfiguration/ConnectionTab.png
[3]:{ndm}/Documentation%20Pictures/MonitorAgent/DynamicsCRMOnline/RemoteConfiguration/SettingsTab.png
[4]:{ndm}/Documentation%20Pictures/MonitorAgent/DynamicsCRMOnline/RemoteConfiguration/WorkflowsProcessingStepsTab.png
[5]:{ndm}/Documentation%20Pictures/MonitorAgent/DynamicsCRMOnline/RemoteConfiguration/AddConfigurationForSpecificWorkflow.png
[7]:{ndm}/Documentation%20Pictures/MonitorAgent/DynamicsCRMOnline/RemoteConfiguration/SpecificWorkflowConfiguration.png
[8]:{ndm}/Documentation%20Pictures/MonitorAgent/DynamicsCRMOnline/RemoteConfiguration/AddConfigurationForSpecificProcessingStep.png
[9]:{ndm}/Documentation%20Pictures/MonitorAgent/DynamicsCRMOnline/RemoteConfiguration/UserAuditThresholdsTab.png
[10]:{ndm}/Documentation%20Pictures/MonitorAgent/DynamicsCRMOnline/RemoteConfiguration/SpecificUserConfiguration.png
[11]:{ndm}/Documentation%20Pictures/MonitorAgent/DynamicsCRMOnline/RemoteConfiguration/LicenseThresholdsTab.png
[12]:{ndm}/Documentation%20Pictures/MonitorAgent/DynamicsCRMOnline/RemoteConfiguration/EvaluationType.png
[13]:{ndm}/Documentation%20Pictures/MonitorAgent/DynamicsCRMOnline/RemoteConfiguration/EmptyAccordion.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
[Agent Database]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Agent%20Database.md
[Applications]:{ndr}/Administration/2.%20Monitor%20Management/5.%20Applications/Features/What%20is%20an%20Application.md
[Dynamics 365]:{ndr}/Logging%20and%20Monitoring/Microsoft%20Dynamics%20365/Overview.md
[Install]:{ndr}/Logging%20and%20Monitoring/Microsoft%20Dynamics%20365/Getting%20started/2.%20Install.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  
[Monitoring Service]:{ndr}/Core%20Services/Monitoring%20Service/Overview.md
[png_RemoteConfigurationButton]:{ndm}/Documentation%20Pictures/MonitorAgent/RemoteConfiguration.png
[png_SaveAndClose]:{ndm}/Documentation%20Pictures/MonitorAgent/SQL/SaveAndClose.png
[Remote Actions]:{ndr}/Getting%20Started/3.%20Monitor/Remote%20Actions.md
[Remote Configuration]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Features/How%20do%20I%20configure%20a%20Monitor%20Agent.md
[Resources]:{ndr}/Administration/2.%20Monitor%20Management/3.%20Resources/Features/What%20is%20a%20Resource.md
[SQL Connection Strings]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Connection%20Strings.md
[Web API]:{ndr}/Core%20Services/Web%20API/Overview.md
[Web Client]:{ndr}/Getting%20Started/Overview.md