---
title: Prerequisites for Installing the Nodinite Dynamics 365 Monitoring Agent
description: Discover the essential prerequisites for monitoring Microsoft Dynamics 365 with Nodinite. Ensure a smooth installation and secure, high-performance monitoring.
---

<a class="nodinite-release-notes" href="https://portal.nodinite.com/marketplace/25" data-url="https://portal.nodinite.com/marketplace/25"><i class="fal fa-fw fa-file-alt" aria-hidden="true"></i> Release Notes</a>

# <i class="fal fa-square-plus" aria-hidden="true"></i> Prerequisites for the Nodinite Dynamics 365 Monitoring Agent  

>Get started with confidence! This page outlines everything you need to successfully install and run the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Dynamics 365 Monitoring Agent][Dynamics 365] and monitor Dynamics 365 with <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>.  

<div class="mermaid">
graph LR
    subgraph "Nodinite Instance"
        roNI(fal:fa-monitor-waveform Dynamics 365 Monitoring agent)
    end
    subgraph "Dynamics 365"
        roAzureAPI(fal:fa-cloud Microsoft API)---roLA(fal:fa-clouds Your instance)
        roNI --> | SDK | roAzureAPI  
    end
</div>

*Architecture overview: The Nodinite agent connects securely to your Dynamics 365 instance via the Microsoft API.*  

For best performance and security, install the agent close to your <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Core Services][]. This guide covers a typical local network setup (usually on the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> application server).  

|Verified|Topic|  
|:---:|---|  
|<i class="fal fa-square" aria-hidden="true"></i>|<i class="fal fa-box-check" aria-hidden="true"></i> [Software Requirements](#fa-box-check-software-requirements)|  
|<i class="fal fa-square" aria-hidden="true"></i>|<i class="fal fa-user-lock" aria-hidden="true"></i> [What Dynamics 365 instance Rights does the Dynamics 365 Monitoring agent require?](#fa-user-lock-what-dynamics-365-instance-rights-does-the-dynamics-365-monitoring-agent-require)|  
|<i class="fal fa-square" aria-hidden="true"></i>|<i class="fab fa-windows" aria-hidden="true"></i> [What Windows User Rights does the Dynamics 365 Monitoring agent require?](#what-windows-user-rights-does-the-dynamics-365-monitoring-agent-require)|  
|<i class="fal fa-square" aria-hidden="true"></i>|<i class="fal fa-shield-check" aria-hidden="true"></i> [What Firewall settings are required for the Dynamics 365 Monitoring agent?](#fa-shield-check-what-firewall-settings-are-required-for-the-dynamics-365-monitoring-agent)|  
|<i class="fal fa-square" aria-hidden="true"></i>|<i class="fal fa-database" aria-hidden="true"></i> [What SQL user rights does the Dynamics 365 Monitoring agent require?](#fa-database-what-sql-user-rights-does-the-dynamics-365-monitoring-agent-require)|  

## <i class="fal fa-box-check" aria-hidden="true"></i> Software requirements  

The <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Dynamics 365 Monitoring Agent][Dynamics 365] is a Windows Service, typically installed on the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> application server.  

|Product||  
|---|---|  
|<i class="fab fa-windows" aria-hidden="true"></i> [Windows Server][]|Windows 2025</br>Windows 2022</br>Windows 2019</br>Windows 2016</br>Windows 2012 R2</br>Windows 2012|  
|<i class="fal fa-file-prescription" aria-hidden="true"></i> .NET Framework|.NET Framework 4.8 or later <sup><span class="nodinite-new-badge">New 6.0</span></sup></br>We recommend .NET Framework **4.8.1** or later|  

>Versions **6.0** and later require .NET Framework 4.8 or later.  
>Versions **5.4** and up require .NET Framework 4.6.2 or later.  
>Versions before **5.4** require .NET Framework 4.5.2 or later.  

### <i class="fal fa-arrows-alt" aria-hidden="true"></i> Supported Versions  

Cloud technologies evolve quickly, and Microsoft deprecates older APIs and SDKs regularly. <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> always supports the APIs and SDKs currently supported by Microsoft. Update <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> and the [Dynamics 365 Monitoring Agent][Dynamics 365] as needed to stay current.  

><i class="fal fa-file-alt" aria-hidden="true"></i> Subscribe to our [Release Notes][Microsoft Dynamics 365 Release Notes] to stay informed.  

## <i class="fal fa-user-lock" aria-hidden="true"></i> What Dynamics 365 instance Rights does the Dynamics 365 Monitoring agent require?  

See the [list of SDK/API calls](#fa-table-list-of-api-calls).  

To use the Audit feature, enable user audits in your Dynamics 365 instance.  

* Enable **Audit user** – [Audit data and user activity](https://learn.microsoft.com/en-us/previous-versions/dynamicscrm-2016/administering-dynamics-365/dn887214%28v=crm.8%29)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>  
![User Audit][1]  
*Make sure to enable the audit user option.*  

<h2 id="what-windows-user-rights-does-the-dynamics-365-monitoring-agent-require"><i class="fab fa-windows" aria-hidden="true"></i> What Windows User Rights does the Dynamics 365 Monitoring agent require?</h2>

Install the agent as a **Windows Service** (usually on the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> application server; virtual machines are supported).  

* Use a local named account or domain account (preferred).  
* Ensure the account has access and run-time rights.  
  * Follow the '[How to set logon as a Windows service right][How to set Logon as a Service right]' user guide for details.  

## <i class="fal fa-shield-check" aria-hidden="true"></i> What Firewall settings are required for the Dynamics 365 Monitoring agent?  

Where you install the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Dynamics 365 Monitoring Agent][Dynamics 365] in relation to the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Monitoring Service][], your Dynamics 365 instance, and the SQL Server that holds the [Monitoring Database][Agent Database] determines your firewall configuration. The diagram shows every host involved, with the agent on its own server; each arrow starts at the side that opens the connection.

<div class="mermaid">
graph LR
    subgraph "Nodinite Core Services Server"
        roMonitoringService(fa:fa-watch-fitness Monitoring Service)
    end
    subgraph "Nodinite Agent Server"
        roNI(fa:fa-monitor-waveform Dynamics 365 Monitoring agent)
    end
    subgraph "Target: Dynamics 365"
        roEntra(fa:fa-key Microsoft Entra ID)
        roD365(fa:fa-hand-holding-usd Dynamics 365 instance)
    end
    subgraph "SQL Server (Nodinite databases)"
        roDB(fa:fa-database Dynamics 365 Monitoring database)
    end
    subgraph "Domain Controller"
        roDC(fa:fa-building-shield Active Directory)
    end
    subgraph "DNS Server"
        roDNS(fa:fa-signs-post DNS)
    end
    roMonitoringService --> |"Agent site port (v7) / 8000 (v6)"| roNI
    roNI --> |"443"| roEntra
    roNI --> |"443"| roD365
    roNI --> |"1433, 135, 49152-65535"| roDB
    roNI --> |"88, 389, 636"| roDC
    roNI --> |"53"| roDNS
</div>

*Network diagram: the Monitoring Service calls the agent; the agent signs in with Microsoft Entra ID, calls the Dynamics 365 APIs over HTTPS, and stores its data in the Monitoring Database on SQL Server.*

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p>When the agent runs on the Core Services Server (the typical installation), you need no firewall rule between the <a href="https://docs.nodinite.com/core-services/monitoring-service/overview/">Monitoring Service</a> and the agent.</p></div>
</aside>

### Between the Monitoring Service and the Dynamics 365 Monitoring agent

The [Monitoring Service][] opens every connection; the agent never calls it. On Windows Server, <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v7 hosts the agent as its own [IIS][] web site, on a port you set per environment in the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Portal][NodinitePortal]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> ([Servers step][]).

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Inbound|Core Services Server|Agent Server|TCP (HTTPS/HTTP)|Agent site port|Poll the agent, send configuration, run [Remote Actions][]|v7. No fixed default; use the port set in the Portal. Only when the agent is on a **remote** server|  
|Inbound|Core Services Server|Agent Server|TCP|[8000][Port8000]|Same, for Windows Service agents|⚠️ v6 and earlier only (legacy MSI installer on remote servers)|  

### Between the Dynamics 365 Monitoring agent and Dynamics 365

The agent signs in as a System User and calls the Dynamics 365 APIs through the SDK. All traffic is outbound HTTPS; Dynamics 365 needs no inbound rule. Allow the hostnames for your region, as listed in [Power Platform URLs and IP address ranges](https://learn.microsoft.com/en-us/power-platform/admin/online-requirements)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>.

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Outbound|Agent Server|Target (Microsoft Entra ID, `login.microsoftonline.com`)|TCP (HTTPS)|443|Authenticate the System User|Always required|  
|Outbound|Agent Server|Target (Dynamics 365, `*.dynamics.com`)|TCP (HTTPS)|443|Dynamics 365 SDK API calls|Your organization URL, for example `contoso.crm.dynamics.com` (North America) or `contoso.crm4.dynamics.com` (EMEA)|  
|Inbound|Target (Dynamics 365)|Agent Server|TCP|443|Response traffic|Automatically allowed by stateful firewall inspection|  

<aside aria-label="Tip" class="nodinite-note nodinite-note--tip">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-lightbulb"></i> Tip</p>
<div class="nodinite-note__content"><p><strong>Dynamics 365 Authentication</strong>: The agent uses a System User account to access Dynamics 365 APIs. Ensure the account has required privileges (e.g., <code>prvReadLicense</code> for license information, System User for organization retrieval). See the <a href="#fa-table-list-of-api-calls">List of API Calls</a> for details.</p></div>
</aside>

### Between the Dynamics 365 Monitoring agent and SQL Server

The agent stores monitoring data in the Dynamics 365 [Monitoring Database][Agent Database]. See the [SQL Server Connection Strings][SQL Connection Strings] guide for connection string formats and security settings.

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Outbound|Agent Server|SQL Server (Nodinite databases)|TCP|1433|SQL Server default instance|Named instances use a dynamic or static port instead|  
|Outbound|Agent Server|SQL Server (Nodinite databases)|UDP|1434|SQL Server Browser|Only for named instances without a fixed port in the connection string|  
|Outbound|Agent Server|SQL Server (Nodinite databases)|TCP|49152-65535|SQL Server dynamic ports, RPC|High ports for named instances and [MSDTC][]; see [How to configure RPC dynamic port allocation to work with firewalls](https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/configure-rpc-dynamic-port-allocation-with-firewalls)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>|  
|Outbound|Agent Server|SQL Server (Nodinite databases)|TCP/UDP|135|RPC Endpoint Mapper / MSDTC|Distributed Transaction Coordinator|  
|Inbound|SQL Server (Nodinite databases)|Agent Server|TCP|1433, 49152-65535, 135|Response traffic|Automatically allowed by stateful firewall inspection|  

<aside aria-label="Tip" class="nodinite-note nodinite-note--tip">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-lightbulb"></i> Tip</p>
<div class="nodinite-note__content"><p>If the agent and SQL Server are on the same machine, you need no firewall rule for SQL traffic (loopback).</p></div>
</aside>

### Between the Dynamics 365 Monitoring agent and the Domain Controller

Required when the agent's service account uses Windows authentication to SQL Server.

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Outbound|Agent Server|Domain Controller|TCP/UDP|88|Kerberos authentication|Required for domain authentication|  
|Outbound|Agent Server|Domain Controller|TCP/UDP|389|LDAP|Standard LDAP queries|  
|Outbound|Agent Server|Domain Controller|TCP|636|LDAPS (Secure LDAP)|Required for LDAPS authentication or querying certificates from AD|  

### Between the servers and DNS

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Outbound|Agent Server|DNS Server|TCP/UDP|53|Name resolution|Resolve the Dynamics 365 and Entra ID hostnames, the SQL Server, the Domain Controller, and the Core Services Server. A local `hosts` file can replace DNS|  
|Outbound|Core Services Server|DNS Server|TCP/UDP|53|Name resolution|Resolve the Agent Server|  

<aside aria-label="Important" class="nodinite-note nodinite-note--important">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-message-exclamation"></i> Important</p>
<div class="nodinite-note__content"><p><strong>Stateful Firewalls</strong>: Most Windows Firewall implementations are stateful, so response traffic for established outbound connections is allowed automatically. The inbound response rules above are for reference and troubleshooting.</p></div>
</aside>

___

## <i class="fal fa-database" aria-hidden="true"></i> What SQL user rights does the Dynamics 365 Monitoring agent require?  

The service account running the [Dynamics 365 Monitoring Agent][Dynamics 365] must have the following rights:  

### Nodinite Dynamics 365 Monitoring database  

To improve performance, all operations initiated from the [Web Client][]/[Web API][] use a SQL-based [Monitoring Database][Agent Database].  

* db_owner (required to apply DACPAC updates)  

___

## <i class="fal fa-table" aria-hidden="true"></i> List of API Calls  

<table class="table table-striped table-bordered">
<thead>
<tr>
<th>API Call</th>
<th>Privilege</th>
<th>Purpose</th>
</tr>
</thead>
<tr>
<td><a href="https://learn.microsoft.com/en-us/previous-versions/dynamicscrm-2016/developers-guide/gg327570%28v=crm.8%29">RetrieveOrganizationsRequest</a></td>
<td>System User account</td>
<td>Registered users and logon history</td>
</tr>
<tr>
<td><a href="https://learn.microsoft.com/en-us/previous-versions/dynamicscrm-2016/developers-guide/mt593041%28v=crm.8%29">RetrieveVersionRequest</a></td>
<td></td>
<td></td>
</tr>
<tr>
<td><a href="https://learn.microsoft.com/en-us/previous-versions/dynamicscrm-2016/developers-guide/gg308165%28v=crm.8%29">RetrieveDeploymentLicenseTypeRequest</a></td>
<td>prvReadLicense</td>
<td></td>
</tr>
<tr>
<td><a href="https://learn.microsoft.com/en-us/previous-versions/dynamicscrm-2015/crm.7/hh370970%28v=crm.7%29">DeviceRegistrationRequest</a></td>
<td></td>
<td></td>
</tr>
<tr>
<td><a href="https://learn.microsoft.com/en-us/previous-versions/dynamicscrm-2016/developers-guide/gg308190%28v=crm.8%29">RetrieveLicenseInfoRequest</a></td>
<td>prvReadLicense</td>
<td></td>
</tr>
<tr>
<td><a href="https://learn.microsoft.com/en-us/previous-versions/dynamicscrm-2016/developers-guide/gg328300%28v=crm.8%29">QueryExpression - Audit.EntityLogicalName, Columns: objectid, createdon, operation, action, userid</a></td>
<td></td>
<td>Audit</td>
</tr>
<tr>
<td><a href="https://learn.microsoft.com/en-us/previous-versions/dynamicscrm-2016/developers-guide/gg328300%28v=crm.8%29">QueryExpression - Workflow.EntityLogicalName, Columns: createdon, name, description, statecode, category, workflowid, activeworkflowid</a></td>
<td></td>
<td>Workflow</td>
</tr>
<tr>
<td><a href="https://learn.microsoft.com/en-us/previous-versions/dynamicscrm-2016/developers-guide/gg328300%28v=crm.8%29">QueryExpression - Solution.EntityLogicalName, Columns: solutionid, uniquename</a></td>
<td></td>
<td>Solution</td>
</tr>
<tr>
<td><a href="https://learn.microsoft.com/en-us/previous-versions/dynamicscrm-2016/developers-guide/gg328300%28v=crm.8%29">QueryExpression - SdkMessageProcessingStep.EntityLogicalName, Columns: createdon, name, description, statecode, introducedversion, mode</a></td>
<td></td>
<td>Processing step</td>
</tr>
</table>

___

## <i class="fal fa-question" aria-hidden="true"></i> Frequently asked questions  

Find more solutions and answers to common problems for the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Dynamics 365 Monitoring Agent][Dynamics 365] in the [Troubleshooting][] user guide.  

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

<i class="fal fa-rocket" aria-hidden="true"></i> [Install Dynamics 365 Monitoring Agent][]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

<i class="fal fa-monitor-waveform" aria-hidden="true"></i> [Add or manage a Monitoring Agent Configuration][]  
<i class="fal fa-display" aria-hidden="true"></i> [Monitoring][]  
<i class="fal fa-gears" aria-hidden="true"></i> [Administration][]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/DynamicsCRMOnline/Prereq/EnableUserAudit.png

[Add or manage a Monitoring Agent Configuration]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/add-or-manage-monitor-agent/
[Administration]:https://docs.nodinite.com/administration/overview/
[Agent Database]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/agent-database/
[Core Services]:https://docs.nodinite.com/core-services/overview/
[Dynamics 365]:https://docs.nodinite.com/logging-and-monitoring/microsoft-dynamics-365/overview/
[How to set Logon as a Service right]:https://docs.nodinite.com/install-and-update/troubleshooting/windows/logon-as-a-service-right/
[IIS]:https://docs.nodinite.com/logging-and-monitoring/windows-server/features/iis/
[Install Dynamics 365 Monitoring Agent]:https://docs.nodinite.com/logging-and-monitoring/microsoft-dynamics-365/getting-started/install/
[Microsoft Dynamics 365 Release Notes]:https://portal.nodinite.com/marketplace/25
[Monitoring]:https://docs.nodinite.com/monitoring/
[Monitoring Service]:https://docs.nodinite.com/core-services/monitoring-service/overview/
[MSDTC]:https://docs.nodinite.com/install-and-update/troubleshooting/windows/transactions-msdtc/
[NodinitePortal]:https://portal.nodinite.com
[Port8000]:https://docs.nodinite.com/install-and-update/troubleshooting/windows/why-do-nodinite-use-port-8000/
[Remote Actions]:https://docs.nodinite.com/getting-started/monitor/remote-actions/
[Servers step]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/04-servers/#core-platform-services
[SQL Connection Strings]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/connection-strings/
[Troubleshooting]:https://docs.nodinite.com/logging-and-monitoring/microsoft-dynamics-365/troubleshooting/overview/
[Web API]:https://docs.nodinite.com/core-services/web-api/overview/
[Web Client]:https://docs.nodinite.com/getting-started/overview/
[Windows Server]:https://docs.nodinite.com/logging-and-monitoring/windows-server/features/windows-server/