---
title: Troubleshooting Azure Logic Apps Logging and Monitoring Agent – FAQ and Common Issues
description: Resolve Azure Logic Apps logging and monitoring issues in Nodinite, including agent startup, IIS, Windows Service, Event Hub, diagnostic settings, resources, and monitor view problems.
---

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

# Troubleshooting the Logic Apps Monitoring Agent

Use this troubleshooting FAQ to resolve [Azure Logic Apps agent][LogicAppsAgent] issues: agent startup, Diagnostic Settings, Event Hub, [IIS][], Windows Service, resources, monitor view issues, and event logs questions. If you still need help, contact our [Support][]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>, read more on the [Support page][SupportPage].

## <i class="fal fa-network-wired" aria-hidden="true"></i> Understanding Where Problems Occur

Most problems sit on one hop of the path below. Find the symptom in the table, then check that hop first.

<div class="mermaid">
flowchart LR
    LA["fa:fa-rocket Logic Apps"] -->|"Diagnostic Settings<br/>WorkflowRuntime"| EH["fa:fa-bars-staggered Event Hub"]
    EH --> AG["fa:fa-code-commit Logic Apps agent"]
    ST["fa:fa-box-archive Storage checkpoint<br/>container"] --- AG
    ARM["fa:fa-cloud Azure Resource Manager"] --> AG
    AG -->|"Log Events"| LAPI["fa:fa-hard-drive Log API and<br/>Logging Service"]
    MS["fa:fa-display Monitoring Service"] --> AG
</div>

*Data and control path of the Azure Logic Apps agent: logged events flow from the Diagnostic Settings through the Event Hub to the agent; the [Monitoring Service][] asks the agent for state, and the agent reads Logic App state from Azure Resource Manager.*

| Symptom | Hop to check | Go to |
| --- | --- | --- |
| Agent does not start | Agent host (IIS in v7, Windows Service in v6) | [Cannot start the agent](#cannot-start-the-agent) |
| No Logic Apps in [Monitor Views][] | App Registration and Azure Resource Manager | [Logic Apps not listed as Resources](#logic-apps-not-listed-as-resources) |
| No logged data in [Log Views][] | Diagnostic Settings, Event Hub, Storage, [Log API][] | [There is no logged data](#there-is-no-logged-data) |
| Actions menu is empty | [Monitor View][Monitor Views] settings and [Roles][] | [There are no Actions available](#there-are-no-actions-available) |
| Connection errors | Firewall on any hop | [Connectivity and Firewall Checks](#fa-shield-check-connectivity-and-firewall-checks) |

### <i class="fal fa-book" aria-hidden="true"></i> Pages in This Troubleshooting Section

| Page | Use it when |
| --- | --- |
| [About Logic Apps Logging options][] | You choose between Diagnostics Logging, [Custom Logging][], and Azure-native options |
| [ARM Template][] | You deploy the Diagnostic Settings for many Logic Apps at once |
| [Log Logic Apps at Scale][] | You log hundreds of millions of Action invocations a day, the agent gets HTTP 429, or the run history in the Azure portal is slow |
| [Reduce Azure Logic Apps Run History Retention to Lower TCO][] | You want to lower the Azure cost of logging Logic Apps |
| [Uninstalling][] | You remove the agent |

## How can I find my Azure Subscription details and add it to Nodinite?

Follow the steps outlined in the '[Azure Application Access][AzureApplicationsAccess]' user guide, then add the subscription as described in [Configuration - Subscription][]. For the minimum role set, see [Azure Application Access - Least Privileges][AzureApplicationsAccess - Least Privileges].

## Cannot start the agent

<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>Always ensure you are running the <strong>latest version</strong> of the agent. The <a href="https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/overview/">Logic Apps Logging and Monitoring agent</a> is built with .NET and receives monthly patches with vital updates and improvements. Download the latest version from the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> <a href="https://portal.nodinite.com/">portal</a><sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> and follow <a href="https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/updating/">Updating</a>.</p></div>
</aside>

### Nodinite v7

The [Logic Apps Logging and Monitoring agent][LogicAppsAgent] runs in IIS and may have problems starting due to configuration or dependency issues. Your problem may stem from one or more of the following common configuration errors:

* IIS application pool not started or misconfigured; verify the [IIS Windows Features][]
* Insufficient permissions for the application pool identity
* Missing or incorrect .NET runtime; see [Software Requirements][Prerequisites - Software] for the version your agent needs
* Prerequisites are not met, further detailed in the [Prerequisites][Prerequisites] page
* Configuration errors in the agent settings; review the [Configuration][] pages

### Nodinite v6 (Legacy)

<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>The following troubleshooting steps apply to <strong>legacy v6 environments only</strong>. If you are running <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v7, see the section above.</p></div>
</aside>

The [Logic Apps Logging and Monitoring agent][LogicAppsAgent] in v6 runs as a Windows service and may have problems starting due to security and run-time related dependencies. Your problem may stem from one or more of the following common configuration errors:

* Insufficient rights to run as a Windows Service, solution found in the following article: [How to set Logon as a Service right][How to set Logon as a Service right]
* Shared port error, a possible solution exists in the following article: [Shared Port 8000][Port8000]
* Prerequisites are not met, further detailed in the [Prerequisites][Prerequisites] page

## Logic Apps not listed as Resources

* Access rights missing or incorrectly configured, solution found in the following article: [Azure Application Access][AzureApplicationsAccess]
* The subscription or its [resource groups][Configuration - Subscription - Resource groups] are not added to the agent configuration
* The [Resources][] are not included in any [Monitor View][Monitor Views] that you have access to

## There is no logged data

* Make sure the Logic Apps have a Diagnostic setting that sends `WorkflowRuntime` to the Event Hub, as detailed in [Enable Logic Apps Logging in Azure][Prerequisites - Logic Apps]; the [ARM Template][] deploys it for many Logic Apps at once
* Verify the [Event Hub entry][Configuration - Event Hubs]: the Event Hub name, the namespace fully qualified name, and the checkpoint Blob Container URI (or the connection strings, when the entry uses SAS keys)
* Verify that the App Registration has the [Event Hub and Storage roles][Prerequisites - Azure access]
* Make sure the firewall is open, review [Troubleshoot connectivity issues - Azure Event Hubs](https://learn.microsoft.com/en-us/azure/event-hubs/troubleshooting-guide)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>
* Check that each Event Hub has its own checkpoint container
* Check that the [Logging filters][Configuration - Logging - Filters] keep the runs and Actions you expect, and that the [Logging Service][] processes the [Log Events][Log Event]

## There are no Actions available

* Make sure the [Monitor View][Monitor Views] has Actions option checked, further detailed in the [Add or manage Monitor View][] page
* Make sure your [Roles][] grant access to the [Remote Actions][]; see [User access to logic apps monitoring][] and [Managing Logic Apps][]

## How can I lower the Azure cost of logging Logic Apps?

Shorten the Azure run-history retention and let <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> keep the long-term history, with Logging filters that keep only the Actions and payloads that matter. See [Reduce Azure Logic Apps Run History Retention to Lower TCO][]. The cost of the Event Hub and checkpoint Storage is explained in [Azure Costs for Blob Storage and Event Hub][]. If you also log Azure API Management or Azure Functions to <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>, see [Reduce Azure API Management Logging Costs][] and [Reduce Azure Functions Logging Costs][]. To keep [Run history retention][Configuration - Workflow Monitoring - Retention] within a range you choose, set the retention thresholds on the Workflows tab.

<h2 id="stop-logging-a-workflow">How do I stop logging a noisy workflow?</h2>

Add a [Workflow logging exclusion filter][Configuration - Logging - Exclusion] on the Logging tab, for example `^la-orders/HealthProbe$`. The agent stops logging that workflow's new runs and keeps monitoring it. Anchor the expression with `^` and `$`, or it also matches other names that contain it.

* The [Workflow exclusion filter][Configuration - Workflow Monitoring - Exclusion] on the Workflows tab does something else: it stops **monitoring**, not logging.
* Runs already waiting to be sent are still logged, and removing the filter later doesn't log the runs it excluded.
* If the runs are still logged and the agent's log shows `WorkflowRuns_Insert does not accept the logging exclude parameters yet`, the agent database is still on version 6.0.0.64; [update the agent][Update].

<h2 id="run-history-retention-could-not-be-read">Run history retention could not be read</h2>

A workflow shows ⚠️ Warning with this Log text when a [run history retention threshold][Configuration - Workflow Monitoring - Retention] is set but the agent can't read the workflow's retention. Check, in this order:

* **The permission (Standard).** The App Registration needs `Microsoft.Web/sites/config/list/action` on the Logic App (site); see [Prerequisites - Azure access][]. Without it, the agent logs `Cannot read the app settings of Logic App {site} (HTTP {status}); run history retention is unknown. Standard retention monitoring needs Microsoft.Web/sites/config/list/action`.
* **Right after you set the first threshold.** The agent reads Standard values on its next sync, so workflows can show the Warning until then.
* **The agent database.** It must be at version 6.0.0.66 or later to store the retention; [update the agent][Update]. The agent checks again every 10 minutes and picks up the updated database without a restart.

## <i class="fal fa-shield-check" aria-hidden="true"></i> Connectivity and Firewall Checks

Use this section when the agent cannot reach Azure or <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> services, or when logging appears to stop without an obvious agent error.

The ports and hostnames for every hop, from the [Monitoring Service][] to the agent and from the agent to the [Log API][], SQL Server, and Azure, are in one place: [Prerequisites - Firewall settings][Prerequisites - Firewall]. Compare your firewall rules with those tables first.

### Quick checks

* Use [AMQP Port Configuration - 5671 and 5672][] when Event Hub connectivity fails.
* Review [Safelist the Azure portal URLs on your firewall or proxy server][]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> if Azure portal or management calls are blocked.
* Review [Configure Azure Storage firewalls and virtual networks](https://learn.microsoft.com/en-us/azure/storage/common/storage-network-security)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> if Storage checkpointing fails.
* If events arrive but payloads are missing, check whether the workflows restrict run history access by caller IP address; the Agent Server's outbound IP address must be allowed.
* Remember that Azure communication is outbound from the agent, and stateful firewalls usually allow the response traffic automatically.

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

### How can I get started monitoring my Logic Apps?

This topic is further detailed in the [User access to logic apps monitoring][] page. To give business users access to the logged data, see [User access to logic apps logging][].

### <i class="fal fa-globe" aria-hidden="true"></i> Where do I install the agent?

You can install your <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> environment on existing hardware on-premise, on Azure Virtual machines, or have your sourcing partner host it in the cloud. Hybrid scenarios are also supported. See [Install][].

<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>We recommend you install this agent on the same Server as <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/core-services/overview/">Core Services</a>.</p></div>
</aside>

### Uninstall Logic Apps Monitoring Agent

* Make sure the Agent is stopped before running the MSI package, further detailed in the [uninstallation][Uninstalling] user guide
* You must be a local administrator to remove Windows Services

### How do I get the latest version?

Download from 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>, then follow [Updating][Update].

### How do I know when there's a new version available?

Subscribe to updates using our [Support][]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> portal.

### How do I know where the agent is installed and running

Review the [Nodinite Overview][Nodinite - Overview] and/or the [Monitor Agent Run-time Information][Add or manage a Monitoring Agent Configuration - RunTime] section.

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

* <i class="fal fa-clipboard-check" aria-hidden="true"></i> [Prerequisites][] - Review required Azure access, Event Hub settings, and Windows configuration.  
* <i class="fal fa-rocket" aria-hidden="true"></i> [Install][] - Reinstall or verify the agent installation when troubleshooting startup issues.  
* <i class="fal fa-edit" aria-hidden="true"></i> [Configuration][] - Review the agent configuration for monitor view and resource problems.  
* <i class="fal fa-arrows-rotate" aria-hidden="true"></i> [Update][] - Update to the latest version of the agent.  

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

* <i class="fal fa-cloud" aria-hidden="true"></i> [Azure Logic Apps Logging and Monitoring agent][LogicAppsAgent]  
* <i class="fal fa-desktop" aria-hidden="true"></i> [Monitoring Logic Apps][]  
* <i class="fal fa-hard-drive" aria-hidden="true"></i> [Logging Logic Apps][]  
* <i class="fal fa-wrench" aria-hidden="true"></i> [Managing Logic Apps][]  
* <i class="fal fa-user" aria-hidden="true"></i> [User access to logic apps monitoring][]  
* <i class="fal fa-user" aria-hidden="true"></i> [User access to logic apps logging][]  
* <i class="fal fa-book" aria-hidden="true"></i> [About Logic Apps Logging options][]  
* <i class="fal fa-file-code" aria-hidden="true"></i> [ARM Template][]  
* <i class="fal fa-trash-can" aria-hidden="true"></i> [Uninstalling][]  
* <i class="fal fa-gauge-high" aria-hidden="true"></i> [Log Logic Apps at Scale][]  
* <i class="fal fa-coins" aria-hidden="true"></i> [Reduce Azure Logic Apps Run History Retention to Lower TCO][]  

[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 - RunTime]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/add-or-manage-monitor-agent/#run-time-information
[Add or manage Monitor View]:https://docs.nodinite.com/administration/monitor-management/monitor-views/features/add-or-manage-monitor-view/
[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 Costs for Blob Storage and Event Hub]:https://docs.nodinite.com/logging-and-monitoring/custom-logging/troubleshooting/azure-costs-for-blob-storage-and-event-hub/
[AzureApplicationsAccess]:https://docs.nodinite.com/install-and-update/troubleshooting/azure/azure-application-access/
[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 - Logging - Exclusion]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/configuration-logging/#workflow-logging-exclusion-filter
[Configuration - Logging - Filters]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/configuration-logging/#fa-filter-understanding-logic-apps-logging-filters
[Configuration - Subscription]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/configuration-subscription/
[Configuration - Subscription - Resource groups]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/configuration-subscription/#fa-object-group-resource-groups-tab
[Configuration - Workflow Monitoring - Exclusion]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/configuration-workflow-monitoring/#fa-filter-workflow-exclusion-filter
[Configuration - Workflow Monitoring - Retention]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/configuration-workflow-monitoring/#run-history-retention
[Core Services]:https://docs.nodinite.com/core-services/overview/
[Custom Logging]:https://docs.nodinite.com/logging-and-monitoring/custom-logging/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/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 Logic Apps at Scale]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/troubleshooting/log-logic-apps-at-scale/
[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/
[Logging Service]:https://docs.nodinite.com/core-services/logging-service/overview/
[LogicAppsAgent]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/overview/
[Managing Logic Apps]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/features/managing-logic-apps/
[Monitor Views]:https://docs.nodinite.com/administration/monitor-management/monitor-views/features/what-is-a-monitor-view/
[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 - Overview]:https://docs.nodinite.com/administration/tools/nodinite-overview/
[NodinitePortal]:https://portal.nodinite.com/
[Port8000]:https://docs.nodinite.com/install-and-update/troubleshooting/windows/why-do-nodinite-use-port-8000/
[Prerequisites]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/prerequisites/
[Prerequisites - Azure access]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/prerequisites/azure-access-and-roles/
[Prerequisites - Firewall]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/prerequisites/firewall-settings/
[Prerequisites - Logic Apps]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/prerequisites/enable-logic-apps-logging-in-azure/
[Prerequisites - Software]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/prerequisites/#software-requirements
[Reduce Azure API Management Logging Costs]:https://docs.nodinite.com/logging-and-monitoring/azure-api-management/troubleshooting/reduce-azure-api-management-logging-costs/
[Reduce Azure Functions Logging Costs]:https://docs.nodinite.com/logging-and-monitoring/serilog/troubleshooting/reduce-azure-functions-logging-costs/
[Reduce Azure Logic Apps Run History Retention to Lower TCO]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/troubleshooting/reduce-azure-logic-apps-run-history-retention-to-lower-tco/
[Remote Actions]:https://docs.nodinite.com/getting-started/monitor/remote-actions/
[Resources]:https://docs.nodinite.com/administration/monitor-management/resources/features/what-is-a-resource/
[Roles]:https://docs.nodinite.com/administration/access-management/roles/features/what-is-a-role/
[Safelist the Azure portal URLs on your firewall or proxy server]:https://learn.microsoft.com/en-us/azure/azure-portal/azure-portal-safelist-urls?tabs=public-cloud
[Support]:https://support.nodinite.com
[SupportPage]:https://docs.nodinite.com/getting-started/support/
[Uninstalling]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/troubleshooting/uninstalling/
[Update]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/updating/
[User access to logic apps logging]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/features/user-access-to-logic-apps-logging/
[User access to logic apps monitoring]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/features/user-access-to-logic-apps-monitoring/