---
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."
---

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

# :fa-square-plus: Prerequisites for the Nodinite Azure Logic Apps Logging and Monitoring Agent

>[!INFO]
>This page is the one home for the **prerequisites** of the :Nodinite: [Azure Logic Apps Logging and Monitoring Agent][Azure Logic Apps Agent], for **Logic Apps Monitoring** and **Logic Apps Logging**: supported Logic App types, software, Azure access, Windows and SQL Server rights, and firewall ports. The [Install][], [Configuration][], and [Troubleshooting][] pages link here instead of repeating these facts.

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

## :fa-diagram-project: How the agent uses Azure {#how-the-agent-uses-azure}

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 :Nodinite: [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.*

### :fa-puzzle-piece: Azure services at a glance

|Azure service|Needed for|Required?|
|---|---|---|
|:fa-id-badge: **App Registration** in Microsoft Entra ID|Every call the agent makes to Azure|✅ Always|
|:fa-cloud: **Azure Resource Manager** (REST API)|Monitoring, remote actions, and fetching payloads from the run history|✅ Always|
|:fa-sliders: **Diagnostic setting** on each Logic App, category `WorkflowRuntime`, destination **Event Hub**|Logging and failed-run monitoring|✅ For Logging and failed runs|
|:fa-code-branch: **Event Hub**|Carries the diagnostic stream to the agent|✅ For Logging and failed runs|
|:fa-boxes: **Storage Container** (Blob)|Stores the checkpoint; one container per Event Hub|✅ For Logging and failed runs|
|:fa-table: **Log Analytics** workspace|Not read by :Nodinite:|❌ Not needed|
|:fa-chart-line: **Application Insights**|Not read by :Nodinite:|❌ Not needed|
|:fa-chart-column: **Metrics** (`AllMetrics` in the Diagnostic setting)|Not read by :Nodinite:; only adds Azure cost|❌ Leave disabled|

A Diagnostic setting can also send to Log Analytics or a Storage account at the same time; :Nodinite: ignores those destinations. [Reduce Azure Logic Apps Run History Retention to Lower TCO][TCO] explains why you can usually remove them: :Nodinite: keeps the long-term history, so Azure needs only a short run-history and Event Hub retention window.

### :fa-layer-group: Supported Logic App types {#supported-logic-app-types}

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>:fa-arrow-up-right-from-square:</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>:fa-arrow-up-right-from-square:</sup>)|Logic Apps Standard Operator, Logic Apps Standard Contributor|

## :fa-box-check: Software Requirements {#software-requirements}

In :Nodinite: v7 on Windows Server, the agent is an **[IIS][] web site** with its own port, installed through the :Nodinite: [Portal][NodinitePortal]<sup>:fa-arrow-up-right-from-square:</sup>. It usually runs on the :Nodinite: application server, together with the [Core Services][].

|Product|:Nodinite: v7 (IIS web site)|:Nodinite: v6 (Windows Service, ⚠️ Legacy)|
|---|---|---|
|:fab fa-windows: Windows Server|Windows Server 2025, 2022, or 2019, the same as the :Nodinite: v7 [platform requirement][Nodinite Prerequisites]|Windows Server 2012 to 2025|
|:fa-server: IIS|IIS with the [IIS Windows Features][]|Not used|
|:fa-file-prescription: .NET|[.NET 10.0 Hosting Bundle](https://aka.ms/dotnet/10.0/dotnet-hosting-win.exe)<sup>:fa-arrow-up-right-from-square:</sup> (includes the .NET Runtime and the ASP.NET Core Runtime) for agent **7.3.9** and later :new7.3.9:|.NET 9.0 for agent versions 6.1.29 to 7.3.8|
|:fa-database: DacFX|[DacFX](https://aka.ms/dacfx-msi)<sup>:fa-arrow-up-right-from-square:</sup> 16.1 or later, to install and update the [Agent Database][]|Same|
|:fa-database: SQL Server|A SQL Server instance for the [Agent Database][]|Same|

>[!IMPORTANT]
>The agent follows the Microsoft support policy and gets monthly updates. Patch your .NET environment regularly; see the [.NET and .NET Core Support Policy](https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core)<sup>:fa-arrow-up-right-from-square:</sup>.

### :fa-arrows-alt: Supported Versions

Microsoft deprecates older Azure API versions now and then. :Nodinite: always supports the APIs that Microsoft supports, so [update][Update] :Nodinite: and the agent regularly.

>:fa-file-alt: Make sure to subscribe to our [Release Notes][].

## :fa-cloud: Azure access: App Registration and roles {#azure-access}

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.

## :fa-hard-drive: 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.

## :fab fa-windows: What Windows User Rights does the Azure Logic Apps Logging and Monitoring Agent require? {#what-windows-user-rights-does-the-azure-logic-apps-logging-and-monitoring-agent-require}

The agent runs under a service identity:

* **:Nodinite: v7**: the IIS application pool identity of the agent web site, set in the :Nodinite: [Portal][NodinitePortal]<sup>:fa-arrow-up-right-from-square:</sup> ([Agents step][]).
* **:Nodinite: 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.

## :fa-database: What SQL Server rights does the Azure Logic Apps Logging and Monitoring Agent require? {#sql-server-rights}

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:

* :fa-users: **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.

>[!TIP]
>For installing the Agent Database manually, connection strings, and troubleshooting, see the [Agent Database][] guide.

## :fa-shield-check: What firewall settings does the Azure Logic Apps Logging and Monitoring Agent require? {#firewall-settings}

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 :Nodinite: [Portal][NodinitePortal]<sup>:fa-arrow-up-right-from-square:</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.

## :fa-question: Frequently asked questions

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

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

* :fa-cloud: [Azure Access and Roles][Prerequisites - Azure access]  
* :fa-hard-drive: [Enable Logic Apps Logging in Azure][Prerequisites - Enable Logging]  
* :fa-shield-check: [Firewall Settings][Prerequisites - Firewall]  
* :fa-rocket: [Install the Azure Logic Apps Logging and Monitoring Agent][Install]  
* :fa-edit: [Configure the agent][Configuration]  

## :fa-link-horizontal: Related Topics

* :fa-square-plus: [Add or manage a Monitoring Agent Configuration][]  
* :fa-code-branch: [Configure Event Hubs][Configuration - Event Hubs]  
* :fa-user-secret: [Azure Application Access - Least Privileges][AzureApplicationsAccess - Least Privileges]  
* :fa-link: [AMQP Port Configuration - 5671 and 5672][]  
* :fa-monitor-waveform: [Monitoring Agents][]  
* :fa-gears: [Administration][]  

[About Logic Apps Logging options]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Troubleshooting/About%20Logic%20Apps%20Logging%20options.md
[Add or manage a Monitoring Agent Configuration]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Features/Add%20or%20manage%20Monitor%20Agent.md
[Administration]:{ndr}/Administration/Overview.md
[Agent Database]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Agent%20Database.md
[Agents step]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/05%20-%20Agents.md
[AMQP Port Configuration - 5671 and 5672]:{ndr}/Install%20and%20Update/Troubleshooting/Azure/AMQP%20Port%20Configuration%20-%205671%20and%205672.md
[ARM Template]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Troubleshooting/ARM%20Template.md
[Azure Logic Apps Agent]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Overview.md
[Azure REST API]:https://learn.microsoft.com/en-us/rest/api/azure/
[AzureApplicationsAccess - Least Privileges]:{ndr}/Install%20and%20Update/Troubleshooting/Azure/Azure%20Application%20Access%20-%20Least%20Privileges.md
[Configuration]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Getting%20started/3.%20Configuration.md
[Configuration - Event Hubs]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Getting%20started/3B.%20Configuration%20-%20Event%20Hubs.md
[Configuration - Workflow Monitoring]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Getting%20started/3D.%20Configuration%20-%20Workflow%20Monitoring.md
[Core Services]:{ndr}/Core%20Services/Overview.md
[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]:{ndr}/Install%20and%20Update/Troubleshooting/Windows/Logon%20as%20a%20Service%20right.md
[IIS]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/Overview.md
[IIS Windows Features]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/IIS%20Windows%20Features.md
[Install]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Getting%20started/2.%20Install.md
[Log API]:{ndr}/Core%20Services/Log%20API/Overview.md
[Log Event]:{ndr}/Core%20Services/Log%20Event/Overview.md
[Log Views]:{ndr}/Administration/1.%20Log%20Management/1.%20Log%20Views/Features/What%20is%20a%20Log%20View.md
[Logging Logic Apps]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Features/Logging%20Logic%20Apps.md
[Managing Logic Apps]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Features/Managing%20Logic%20Apps.md
[Monitoring Agents]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Features/What%20is%20a%20Monitor%20Agent.md
[Monitoring Logic Apps]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Features/Monitoring%20Logic%20Apps.md
[Monitoring Service]:{ndr}/Core%20Services/Monitoring%20Service/Overview.md
[Nodinite Prerequisites]:{ndr}/Install%20and%20Update/Getting%20started/2.%20Prerequisites.md
[NodinitePortal]:https://portal.nodinite.com
[Prerequisites - Azure access]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Getting%20started/Prerequisites/Azure%20Access%20and%20Roles.md
[Prerequisites - Enable Logging]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Getting%20started/Prerequisites/Enable%20Logic%20Apps%20Logging%20in%20Azure.md
[Prerequisites - Firewall]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Getting%20started/Prerequisites/Firewall%20Settings.md
[Release Notes]:https://portal.nodinite.com/marketplace/16
[Retention]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Getting%20started/3D.%20Configuration%20-%20Workflow%20Monitoring.md#run-history-retention
[TCO]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Troubleshooting/Reduce%20Azure%20Logic%20Apps%20Run%20History%20Retention%20to%20Lower%20TCO.md
[Troubleshooting]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Troubleshooting/Overview.md
[Update]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Updating.md