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

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

# 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>:fa-arrow-up-right-from-square:</sup>, read more on the [Support page][SupportPage].

## :fa-network-wired: 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) |

### :fa-book: 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

>[!TIP]
>Always ensure you are running the **latest version** of the agent. The [Logic Apps Logging and Monitoring agent][LogicAppsAgent] is built with .NET and receives monthly patches with vital updates and improvements. Download the latest version from the :Nodinite: [portal][NodinitePortal]<sup>:fa-arrow-up-right-from-square:</sup> and follow [Updating][Update].

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

>[!NOTE]
>The following troubleshooting steps apply to **legacy v6 environments only**. If you are running :Nodinite: v7, see the section above.

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>:fa-arrow-up-right-from-square:</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 :Nodinite: 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 :Nodinite:, 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.

## How do I stop logging a noisy workflow? {#stop-logging-a-workflow}

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

## Run history retention could not be read {#run-history-retention-could-not-be-read}

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.

## :fa-shield-check: Connectivity and Firewall Checks

Use this section when the agent cannot reach Azure or :Nodinite: 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>:fa-arrow-up-right-from-square:</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>:fa-arrow-up-right-from-square:</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.

## :fa-question: 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][].

### :fa-globe: Where do I install the agent?

You can install your :Nodinite: 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][].

>[!TIP]
>We recommend you install this agent on the same Server as :Nodinite: [Core Services][].

### 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 :Nodinite: [portal][NodinitePortal]<sup>:fa-arrow-up-right-from-square:</sup>, then follow [Updating][Update].

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

Subscribe to updates using our [Support][]<sup>:fa-arrow-up-right-from-square:</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.

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

* :fa-clipboard-check: [Prerequisites][] - Review required Azure access, Event Hub settings, and Windows configuration.  
* :fa-rocket: [Install][] - Reinstall or verify the agent installation when troubleshooting startup issues.  
* :fa-edit: [Configuration][] - Review the agent configuration for monitor view and resource problems.  
* :fa-arrows-rotate: [Update][] - Update to the latest version of the agent.  

## :fa-link-horizontal: Related Topics

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

[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 - RunTime]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Features/Add%20or%20manage%20Monitor%20Agent.md#run-time-information
[Add or manage Monitor View]:{ndr}/Administration/2.%20Monitor%20Management/1.%20Monitor%20Views/Features/Add%20or%20manage%20Monitor%20View.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 Costs for Blob Storage and Event Hub]:{ndr}/Logging%20and%20Monitoring/Custom%20Logging/Troubleshooting/Azure%20Costs%20for%20Blob%20Storage%20and%20Event%20Hub.md
[AzureApplicationsAccess]:{ndr}/Install%20and%20Update/Troubleshooting/Azure/Azure%20Application%20Access.md
[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 - Logging - Exclusion]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Getting%20started/3C.%20Configuration%20-%20Logging.md#workflow-logging-exclusion-filter
[Configuration - Logging - Filters]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Getting%20started/3C.%20Configuration%20-%20Logging.md#fa-filter-understanding-logic-apps-logging-filters
[Configuration - Subscription]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Getting%20started/3A.%20Configuration%20-%20Subscription.md
[Configuration - Subscription - Resource groups]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Getting%20started/3A.%20Configuration%20-%20Subscription.md#fa-object-group-resource-groups-tab
[Configuration - Workflow Monitoring - Exclusion]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Getting%20started/3D.%20Configuration%20-%20Workflow%20Monitoring.md#fa-filter-workflow-exclusion-filter
[Configuration - Workflow Monitoring - Retention]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Getting%20started/3D.%20Configuration%20-%20Workflow%20Monitoring.md#run-history-retention
[Core Services]:{ndr}/Core%20Services/Overview.md
[Custom Logging]:{ndr}/Logging%20and%20Monitoring/Custom%20Logging/Overview.md
[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 Logic Apps at Scale]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Troubleshooting/Log%20Logic%20Apps%20at%20Scale.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
[Logging Service]:{ndr}/Core%20Services/Logging%20Service/Overview.md
[LogicAppsAgent]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Overview.md
[Managing Logic Apps]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Features/Managing%20Logic%20Apps.md
[Monitor Views]:{ndr}/Administration/2.%20Monitor%20Management/1.%20Monitor%20Views/Features/What%20is%20a%20Monitor%20View.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 - Overview]:{ndr}/Administration/6.%20Tools/1.%20Nodinite%20Overview.md
[NodinitePortal]:https://portal.nodinite.com/
[Port8000]:{ndr}/Install%20and%20Update/Troubleshooting/Windows/Why%20do%20Nodinite%20use%20port%208000.md
[Prerequisites]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Getting%20started/1.%20Prerequisites.md
[Prerequisites - Azure access]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Getting%20started/Prerequisites/Azure%20Access%20and%20Roles.md
[Prerequisites - Firewall]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Getting%20started/Prerequisites/Firewall%20Settings.md
[Prerequisites - Logic Apps]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Getting%20started/Prerequisites/Enable%20Logic%20Apps%20Logging%20in%20Azure.md
[Prerequisites - Software]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Getting%20started/1.%20Prerequisites.md#software-requirements
[Reduce Azure API Management Logging Costs]:{ndr}/Logging%20and%20Monitoring/Azure%20API%20Management/Troubleshooting/Reduce%20Azure%20API%20Management%20Logging%20Costs.md
[Reduce Azure Functions Logging Costs]:{ndr}/Logging%20and%20Monitoring/Serilog/Troubleshooting/Reduce%20Azure%20Functions%20Logging%20Costs.md
[Reduce Azure Logic Apps Run History Retention to Lower TCO]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Troubleshooting/Reduce%20Azure%20Logic%20Apps%20Run%20History%20Retention%20to%20Lower%20TCO.md
[Remote Actions]:{ndr}/Getting%20Started/3.%20Monitor/Remote%20Actions.md
[Resources]:{ndr}/Administration/2.%20Monitor%20Management/3.%20Resources/Features/What%20is%20a%20Resource.md
[Roles]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/What%20is%20a%20Role.md
[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]:{ndr}/Getting%20Started/Support.md
[Uninstalling]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Troubleshooting/Uninstalling.md
[Update]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Updating.md
[User access to logic apps logging]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Features/User%20access%20to%20logic%20apps%20logging.md
[User access to logic apps monitoring]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Features/User%20access%20to%20logic%20apps%20monitoring.md