---
title: Azure Access and RBAC Roles for the Nodinite Logic Apps Agent
description: The App Registration and Azure RBAC roles the Nodinite Azure Logic Apps agent needs for monitoring, remote actions, run history retention, and logging through Event Hubs, per feature and scope.
---

# <i class="fal fa-cloud" aria-hidden="true"></i> Azure Access and Roles for the Logic Apps Agent

Every call the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Azure Logic Apps Logging and Monitoring Agent][Azure Logic Apps Agent] makes to Azure uses one **App Registration** in Microsoft Entra ID. The roles you give that App Registration decide what the agent can do: read the state of your Logic Apps, enable and resubmit them, read their run history retention, and read the diagnostics stream for logging. Give it only the roles for the features you use. This page is part of the [Prerequisites][]; the network side is in [Firewall Settings][Prerequisites - Firewall].

## <i class="fal fa-id-badge" aria-hidden="true"></i> The App Registration

The agent always authenticates with an **App Registration** (application and client secret) in Microsoft Entra ID, for every subscription you add. Follow [Azure Application Access][AzureApplicationsAccess] to create it and to find the Tenant ID, Subscription ID, Client ID, and Client Secret that you enter on the [Authentication tab][Configuration - Subscription - Authentication]. The full least-privilege reference, including a custom role, is [Azure Application Access - Least Privileges][AzureApplicationsAccess - Least Privileges].

## <i class="fal fa-user-shield" aria-hidden="true"></i> Azure RBAC roles per feature

Assign Azure RBAC roles to the App Registration for the features you use:

|Feature|Scope|Built-in role|Notes|
|---|---|---|---|
|<i class="fal fa-eye" aria-hidden="true"></i> [Monitoring][Monitoring Logic Apps] and discovery|Subscription, or each monitored Resource Group|[Reader](https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/general#reader)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>|Inherits to all resources in the scope. **Monitoring Reader** is not needed|
|<i class="fal fa-power-off" aria-hidden="true"></i> **Enable or disable** Consumption workflows|Workflows, Resource Group, or Subscription|[Logic App Operator](https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/integration#logic-app-operator)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>|Can't resubmit runs|
|<i class="fal fa-repeat" aria-hidden="true"></i> **Resubmit** Consumption runs|Workflows, Resource Group, or Subscription|[Logic App Contributor](https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/integration#logic-app-contributor)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>|Includes enable and disable|
|<i class="fal fa-repeat" aria-hidden="true"></i> **Enable, disable, and resubmit** Standard workflows|Standard Logic App, Resource Group, or Subscription|[Logic Apps Standard Operator](https://learn.microsoft.com/en-us/azure/logic-apps/set-up-security-permissions#secure-access-to-logic-app-operations-with-azure-rbac)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>|Microsoft's Logic App Operator and Logic App Contributor roles apply to Consumption only|
|<i class="fal fa-clock-rotate-left" aria-hidden="true"></i> [Run history retention][Retention], Standard|Logic App, Resource Group, or Subscription|A role with `Microsoft.Web/sites/config/list/action`|**Reader** doesn't include it|
|<i class="fal fa-code-branch" aria-hidden="true"></i> [Logging][Logging Logic Apps] and failed runs: read the Event Hub|Event Hub or its namespace|[Azure Event Hubs Data Receiver](https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/analytics#azure-event-hubs-data-receiver)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> <sup><span class="nodinite-new-badge">New 6.1.29</span></sup>|When the Event Hub entry uses the App Registration (**Use Client Secret Credential**)|
|<i class="fal fa-boxes" aria-hidden="true"></i> **Logging** and failed runs: write the checkpoint|Checkpoint Storage Container, or its Storage account|[Storage Blob Data Contributor](https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/storage#storage-blob-data-contributor)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> <sup><span class="nodinite-new-badge">New 6.1.29</span></sup>|When the Event Hub entry uses the App Registration|

The remote actions that need the Operator and Contributor roles are described in [Managing Logic Apps][].

<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>Each Event Hub entry uses either the App Registration with the two roles above, or Event Hub and Storage connection strings (SAS keys from a Shared access policy), which need no role but fail when local (SAS) authentication is disabled on the namespace. The App Registration is required either way, for the Azure REST API. See <a href="https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/configuration-event-hubs/">Configure Event Hubs</a>.</p></div>
</aside>

When the Event Hub lives in another subscription than the workflows, assign the Event Hub roles on that subscription.

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

* <i class="fal fa-square-plus" aria-hidden="true"></i> [Back to Prerequisites][Prerequisites]  
* <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 agent][Install]  

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

* <i class="fal fa-user-secret" aria-hidden="true"></i> [Azure Application Access - Least Privileges][AzureApplicationsAccess - Least Privileges]  
* <i class="fal fa-credit-card" aria-hidden="true"></i> [Authentication tab][Configuration - Subscription - Authentication]  
* <i class="fal fa-code-branch" aria-hidden="true"></i> [Configure Event Hubs][Configuration - Event Hubs]  
* <i class="fal fa-cloud-sun" aria-hidden="true"></i> [Managing Logic Apps][]  
* <i class="fal fa-hard-drive" aria-hidden="true"></i> [Azure Logic Apps Logging and Monitoring Agent][Azure Logic Apps Agent]  

[Azure Logic Apps Agent]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/overview/
[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 - Event Hubs]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/configuration-event-hubs/
[Configuration - Subscription - Authentication]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/configuration-subscription/#fa-user-secret-authentication-tab
[Install]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/install/
[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 Logic Apps]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/features/monitoring-logic-apps/
[Prerequisites]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/prerequisites/
[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/
[Retention]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/configuration-workflow-monitoring/#run-history-retention