---
title: Prerequisites for the Nodinite Azure Logic Apps Logging and Monitoring Agent
description: "Prerequisites for the Nodinite Azure Logic Apps Logging and Monitoring Agent: supported Logic App types, software, Azure RBAC roles, Event Hub and checkpoint storage, Windows and SQL Server rights, and a firewall table for every network hop."
---

<a class="nodinite-release-notes" href="https://portal.nodinite.com/marketplace/16" data-url="https://portal.nodinite.com/marketplace/16"><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 Azure Logic Apps Logging and Monitoring Agent

<aside aria-label="Info" class="nodinite-note nodinite-note--info">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-square-info"></i> Info</p>
<div class="nodinite-note__content"><p>This page is the one home for the <strong>prerequisites</strong> of the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> <a href="https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/overview/">Azure Logic Apps Logging and Monitoring Agent</a>, for <strong>Logic Apps Monitoring</strong> and <strong>Logic Apps Logging</strong>: supported Logic App types, software, Azure access, Windows and SQL Server rights, and firewall ports. The <a href="https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/install/">Install</a>, <a href="https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/configuration/">Configuration</a>, and <a href="https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/troubleshooting/overview/">Troubleshooting</a> pages link here instead of repeating these facts.</p></div>
</aside>

Before you enable the built-in Azure Logic Apps diagnostics, read [About Logic Apps Logging options][] to choose your logging approach. Check off each topic:

|Verified|Topic|
|:---:|---|
|<i class="fal fa-square" aria-hidden="true"></i>|<i class="fal fa-diagram-project" aria-hidden="true"></i> [How the agent uses Azure](#how-the-agent-uses-azure)|
|<i class="fal fa-square" aria-hidden="true"></i>|<i class="fal fa-box-check" aria-hidden="true"></i> [Software Requirements](#software-requirements)|
|<i class="fal fa-square" aria-hidden="true"></i>|<i class="fal fa-cloud" aria-hidden="true"></i> [Azure access: App Registration and roles](#azure-access)|
|<i class="fal fa-square" aria-hidden="true"></i>|<i class="fal fa-hard-drive" aria-hidden="true"></i> [Enable Logic Apps Logging in Azure](#fa-hard-drive-enable-logic-apps-logging-in-azure)|
|<i class="fal fa-square" aria-hidden="true"></i>|<i class="fab fa-windows" aria-hidden="true"></i> [Windows User Rights](#what-windows-user-rights-does-the-azure-logic-apps-logging-and-monitoring-agent-require)|
|<i class="fal fa-square" aria-hidden="true"></i>|<i class="fal fa-database" aria-hidden="true"></i> [SQL Server rights](#sql-server-rights)|
|<i class="fal fa-square" aria-hidden="true"></i>|<i class="fal fa-shield-check" aria-hidden="true"></i> [Firewall settings](#firewall-settings)|

<h2 id="how-the-agent-uses-azure"><i class="fal fa-diagram-project" aria-hidden="true"></i> How the agent uses Azure</h2>

The agent has two jobs, and they use different Azure services:

* [Monitoring][Monitoring Logic Apps] (state of Logic Apps and workflows, [Non-Events thresholds][Configuration - Workflow Monitoring], [remote actions][Managing Logic Apps]): the agent calls the [Azure REST API][] through Azure Resource Manager. This needs only an App Registration with the right roles.
* **[Logging][Logging Logic Apps] and failed-run monitoring**: every Logic App sends its runtime events through a **Diagnostic setting** to an **Event Hub**. The agent reads that stream, keeps its read position (the **checkpoint**) in a **Storage Container**, fetches the payloads of matching Actions from the run history through the REST API, and posts [Log Events][Log Event] to the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Log API][], for users to search in [Log Views][].

<div class="mermaid">
graph LR
    subgraph AZ["fa:fa-cloud Azure subscriptions"]
        LA["fa:fa-sitemap Logic Apps<br/>Consumption and Standard"]
        DS["fa:fa-sliders Diagnostic setting<br/>WorkflowRuntime"]
        EH["fa:fa-code-branch Event Hub"]
        ST["fa:fa-boxes Checkpoint<br/>Storage Container"]
        ARM["fa:fa-cloud Azure Resource Manager<br/>REST API"]
        LA --> DS
        DS -->|Diagnostics| EH
        ARM --- LA
    end
    subgraph NI["fa:fa-server Nodinite"]
        AG["fa:fa-monitor-waveform Logic Apps agent"]
        DB["fa:fa-database Agent Database"]
        LAPI["fa:fa-cloud-arrow-down Log API"]
    end
    AG -->|Read stream| EH
    AG -->|Checkpoint| ST
    AG -->|Monitoring, payloads, remote actions| ARM
    AG --- DB
    AG -->|Log Events| LAPI
    style EH fill:#3F827B,color:#fff
    style ST fill:#3F827B,color:#fff
    style ARM fill:#2678BD,color:#fff
    style AG fill:#E47528,color:#fff
</div>

*Diagram: Monitoring uses only the REST API (blue). Logging and failed-run monitoring also need the Event Hub and its checkpoint container (teal). The agent (orange) posts Log Events to the Log API.*

### <i class="fal fa-puzzle-piece" aria-hidden="true"></i> Azure services at a glance

|Azure service|Needed for|Required?|
|---|---|---|
|<i class="fal fa-id-badge" aria-hidden="true"></i> **App Registration** in Microsoft Entra ID|Every call the agent makes to Azure|✅ Always|
|<i class="fal fa-cloud" aria-hidden="true"></i> **Azure Resource Manager** (REST API)|Monitoring, remote actions, and fetching payloads from the run history|✅ Always|
|<i class="fal fa-sliders" aria-hidden="true"></i> **Diagnostic setting** on each Logic App, category `WorkflowRuntime`, destination **Event Hub**|Logging and failed-run monitoring|✅ For Logging and failed runs|
|<i class="fal fa-code-branch" aria-hidden="true"></i> **Event Hub**|Carries the diagnostic stream to the agent|✅ For Logging and failed runs|
|<i class="fal fa-boxes" aria-hidden="true"></i> **Storage Container** (Blob)|Stores the checkpoint; one container per Event Hub|✅ For Logging and failed runs|
|<i class="fal fa-table" aria-hidden="true"></i> **Log Analytics** workspace|Not read by <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>|❌ Not needed|
|<i class="fal fa-chart-line" aria-hidden="true"></i> **Application Insights**|Not read by <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>|❌ Not needed|
|<i class="fal fa-chart-column" aria-hidden="true"></i> **Metrics** (`AllMetrics` in the Diagnostic setting)|Not read by <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>; only adds Azure cost|❌ Leave disabled|

A Diagnostic setting can also send to Log Analytics or a Storage account at the same time; <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> ignores those destinations. [Reduce Azure Logic Apps Run History Retention to Lower TCO][TCO] explains why you can usually remove them: <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> keeps the long-term history, so Azure needs only a short run-history and Event Hub retention window.

<h3 id="supported-logic-app-types"><i class="fal fa-layer-group" aria-hidden="true"></i> Supported Logic App types</h3>

Both hosting models are supported, with the same agent and no separate configuration. They differ in where you add the Diagnostic setting and in which Azure roles apply:

|Logic App type|Azure resource|Where to add the Diagnostic setting|Built-in roles for remote actions|
|---|---|---|---|
|✅ **Consumption**|`Microsoft.Logic/workflows`, one resource per workflow|On each workflow ([Microsoft guide][Diagnostics - Consumption]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>)|Logic App Operator, Logic App Contributor|
|✅ **Standard**|`Microsoft.Web/sites`, one Logic App hosting many workflows|On the Logic App, covering all its workflows ([Microsoft guide][Diagnostics - Standard]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>)|Logic Apps Standard Operator, Logic Apps Standard Contributor|

<h2 id="software-requirements"><i class="fal fa-box-check" aria-hidden="true"></i> Software Requirements</h2>

In <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v7 on Windows Server, the agent is an **[IIS][] web site** with its own port, installed through 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>. It usually runs on the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> application server, together with the [Core Services][].

|Product|<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v7 (IIS web site)|<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v6 (Windows Service, ⚠️ Legacy)|
|---|---|---|
|<i class="fab fa-windows" aria-hidden="true"></i> Windows Server|Windows Server 2025, 2022, or 2019, the same as the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v7 [platform requirement][Nodinite Prerequisites]|Windows Server 2012 to 2025|
|<i class="fal fa-server" aria-hidden="true"></i> IIS|IIS with the [IIS Windows Features][]|Not used|
|<i class="fal fa-file-prescription" aria-hidden="true"></i> .NET|[.NET 10.0 Hosting Bundle](https://aka.ms/dotnet/10.0/dotnet-hosting-win.exe)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> (includes the .NET Runtime and the ASP.NET Core Runtime) for agent **7.3.9** and later <sup><span class="nodinite-new-badge">New 7.3.9</span></sup>|.NET 9.0 for agent versions 6.1.29 to 7.3.8|
|<i class="fal fa-database" aria-hidden="true"></i> DacFX|[DacFX](https://aka.ms/dacfx-msi)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> 16.1 or later, to install and update the [Agent Database][]|Same|
|<i class="fal fa-database" aria-hidden="true"></i> SQL Server|A SQL Server instance for the [Agent Database][]|Same|

<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>The agent follows the Microsoft support policy and gets monthly updates. Patch your .NET environment regularly; see the <a href="https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core">.NET and .NET Core Support Policy</a><sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>.</p></div>
</aside>

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

Microsoft deprecates older Azure API versions now and then. <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> always supports the APIs that Microsoft supports, so [update][Update] <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> and the agent regularly.

><i class="fal fa-file-alt" aria-hidden="true"></i> Make sure to subscribe to our [Release Notes][].

<h2 id="azure-access"><i class="fal fa-cloud" aria-hidden="true"></i> Azure access: App Registration and roles</h2>

The agent always authenticates with an **App Registration** (application and client secret) in Microsoft Entra ID, for every subscription you add. Give it the Azure RBAC roles for the features you use: **Reader** for monitoring, the Operator or Contributor roles for remote actions, a role with `Microsoft.Web/sites/config/list/action` for the [run history retention][Retention] of Standard workflows, and **Azure Event Hubs Data Receiver** and **Storage Blob Data Contributor** for logging.

[Azure Access and Roles →][Prerequisites - Azure access] has the role per feature and scope, and the choice between the App Registration and SAS keys for the Event Hub.

## <i class="fal fa-hard-drive" aria-hidden="true"></i> Enable Logic Apps Logging in Azure

Logging and failed-run monitoring need three things in Azure: a **Diagnostic setting** with the `WorkflowRuntime` category on each Logic App (see [Supported Logic App types](#supported-logic-app-types) for where), a dedicated **Event Hub** in the same region, and **one checkpoint Storage Container per Event Hub**. The [ARM Template][] scripts it.

[Enable Logic Apps Logging in Azure →][Prerequisites - Enable Logging] covers the Event Hub entity, partitions, retention, and why Logic Apps need their own Event Hubs.

<h2 id="what-windows-user-rights-does-the-azure-logic-apps-logging-and-monitoring-agent-require"><i class="fab fa-windows" aria-hidden="true"></i> What Windows User Rights does the Azure Logic Apps Logging and Monitoring Agent require?</h2>

The agent runs under a service identity:

* **<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v7**: the IIS application pool identity of the agent web site, set 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> ([Agents step][]).
* **<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v6 (legacy)**: the account of the Windows Service.

Use a domain account (preferred) or a local named account, and give it the **Log on as a service** right; see [How to set logon as a Windows service right][How to set Logon as a Service right]. The agent needs no Windows rights on other servers: all Azure access goes through the App Registration.

<h2 id="sql-server-rights"><i class="fal fa-database" aria-hidden="true"></i> What SQL Server rights does the Azure Logic Apps Logging and Monitoring Agent require?</h2>

The agent stores run state, statistics, and resubmit retry counts in its own SQL Server [Agent Database][]. Every agent instance needs its own database.

On the SQL Server instance with the Agent Database, map the service identity to the database as:

* <i class="fal fa-users" aria-hidden="true"></i> **db_owner**: required for both installation and updates, and for runtime. The agent updates the database schema on startup when a new version is deployed.

<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>For installing the Agent Database manually, connection strings, and troubleshooting, see the <a href="https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/agent-database/">Agent Database</a> guide.</p></div>
</aside>

<h2 id="firewall-settings"><i class="fal fa-shield-check" aria-hidden="true"></i> What firewall settings does the Azure Logic Apps Logging and Monitoring Agent require?</h2>

The agent needs a firewall rule for every hop: the [Monitoring Service][] to the agent port, the agent to the [Log API][] port (both 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>), SQL Server on 1433 for the [Agent Database][], and outbound HTTPS 443 to Microsoft Entra ID, Azure Resource Manager, the run history, and Storage, plus AMQP 5671 and 5672 (or 443) to the Event Hubs. When the agent runs on the Core Services Server, the hops between the Core Services and the agent need no rule.

[Firewall Settings →][Prerequisites - Firewall] is the one home for this agent's ports: a network diagram and one port table per hop, with DNS, proxy, Azure Relay, and Azure resource firewalls.

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

Find solutions to common problems and the FAQ in the [Troubleshooting][] guide.

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

* <i class="fal fa-cloud" aria-hidden="true"></i> [Azure Access and Roles][Prerequisites - Azure access]  
* <i class="fal fa-hard-drive" aria-hidden="true"></i> [Enable Logic Apps Logging in Azure][Prerequisites - Enable Logging]  
* <i class="fal fa-shield-check" aria-hidden="true"></i> [Firewall Settings][Prerequisites - Firewall]  
* <i class="fal fa-rocket" aria-hidden="true"></i> [Install the Azure Logic Apps Logging and Monitoring Agent][Install]  
* <i class="fal fa-edit" aria-hidden="true"></i> [Configure the agent][Configuration]  

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

* <i class="fal fa-square-plus" aria-hidden="true"></i> [Add or manage a Monitoring Agent Configuration][]  
* <i class="fal fa-code-branch" aria-hidden="true"></i> [Configure Event Hubs][Configuration - Event Hubs]  
* <i class="fal fa-user-secret" aria-hidden="true"></i> [Azure Application Access - Least Privileges][AzureApplicationsAccess - Least Privileges]  
* <i class="fal fa-link" aria-hidden="true"></i> [AMQP Port Configuration - 5671 and 5672][]  
* <i class="fal fa-monitor-waveform" aria-hidden="true"></i> [Monitoring Agents][]  
* <i class="fal fa-gears" aria-hidden="true"></i> [Administration][]  

[About Logic Apps Logging options]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/troubleshooting/about-logic-apps-logging-options/
[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/
[Agents step]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/05-agents/
[AMQP Port Configuration - 5671 and 5672]:https://docs.nodinite.com/install-and-update/troubleshooting/azure/amqp-port-configuration-5671-and-5672/
[ARM Template]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/troubleshooting/arm-template/
[Azure Logic Apps Agent]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/overview/
[Azure REST API]:https://learn.microsoft.com/en-us/rest/api/azure/
[AzureApplicationsAccess - Least Privileges]:https://docs.nodinite.com/install-and-update/troubleshooting/azure/azure-application-access-least-privileges/
[Configuration]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/configuration/
[Configuration - Event Hubs]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/configuration-event-hubs/
[Configuration - Workflow Monitoring]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/configuration-workflow-monitoring/
[Core Services]:https://docs.nodinite.com/core-services/overview/
[Diagnostics - Consumption]:https://learn.microsoft.com/en-us/azure/logic-apps/monitor-workflows-collect-diagnostic-data?tabs=consumption#add-a-diagnostic-setting
[Diagnostics - Standard]:https://learn.microsoft.com/en-us/azure/logic-apps/monitor-workflows-collect-diagnostic-data?tabs=standard#add-a-diagnostic-setting
[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/install-and-update/troubleshooting/iis/overview/
[IIS Windows Features]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/iis-windows-features/
[Install]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/install/
[Log API]:https://docs.nodinite.com/core-services/log-api/overview/
[Log Event]:https://docs.nodinite.com/core-services/log-event/overview/
[Log Views]:https://docs.nodinite.com/administration/log-management/log-views/features/what-is-a-log-view/
[Logging Logic Apps]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/features/logging-logic-apps/
[Managing Logic Apps]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/features/managing-logic-apps/
[Monitoring Agents]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/what-is-a-monitor-agent/
[Monitoring Logic Apps]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/features/monitoring-logic-apps/
[Monitoring Service]:https://docs.nodinite.com/core-services/monitoring-service/overview/
[Nodinite Prerequisites]:https://docs.nodinite.com/install-and-update/getting-started/prerequisites/
[NodinitePortal]:https://portal.nodinite.com
[Prerequisites - Azure access]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/prerequisites/azure-access-and-roles/
[Prerequisites - Enable Logging]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/prerequisites/enable-logic-apps-logging-in-azure/
[Prerequisites - Firewall]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/prerequisites/firewall-settings/
[Release Notes]:https://portal.nodinite.com/marketplace/16
[Retention]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/configuration-workflow-monitoring/#run-history-retention
[TCO]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/troubleshooting/reduce-azure-logic-apps-run-history-retention-to-lower-tco/
[Troubleshooting]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/troubleshooting/overview/
[Update]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/updating/