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

# :fa-cloud: Azure Access and Roles for the Logic Apps Agent

Every call the :Nodinite: [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].

## :fa-id-badge: 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].

## :fa-user-shield: Azure RBAC roles per feature

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

|Feature|Scope|Built-in role|Notes|
|---|---|---|---|
|:fa-eye: [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>:fa-arrow-up-right-from-square:</sup>|Inherits to all resources in the scope. **Monitoring Reader** is not needed|
|:fa-power-off: **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>:fa-arrow-up-right-from-square:</sup>|Can't resubmit runs|
|:fa-repeat: **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>:fa-arrow-up-right-from-square:</sup>|Includes enable and disable|
|:fa-repeat: **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>:fa-arrow-up-right-from-square:</sup>|Microsoft's Logic App Operator and Logic App Contributor roles apply to Consumption only|
|:fa-clock-rotate-left: [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|
|:fa-code-branch: [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>:fa-arrow-up-right-from-square:</sup> :new6.1.29:|When the Event Hub entry uses the App Registration (**Use Client Secret Credential**)|
|:fa-boxes: **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>:fa-arrow-up-right-from-square:</sup> :new6.1.29:|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][].

>[!NOTE]
>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 [Configure Event Hubs][Configuration - Event Hubs].

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

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

* :fa-square-plus: [Back to Prerequisites][Prerequisites]  
* :fa-hard-drive: [Enable Logic Apps Logging in Azure][Prerequisites - Enable Logging]  
* :fa-shield-check: [Firewall Settings][Prerequisites - Firewall]  
* :fa-rocket: [Install the agent][Install]  

## :fa-link-horizontal: Related Topics

* :fa-user-secret: [Azure Application Access - Least Privileges][AzureApplicationsAccess - Least Privileges]  
* :fa-credit-card: [Authentication tab][Configuration - Subscription - Authentication]  
* :fa-code-branch: [Configure Event Hubs][Configuration - Event Hubs]  
* :fa-cloud-sun: [Managing Logic Apps][]  
* :fa-hard-drive: [Azure Logic Apps Logging and Monitoring Agent][Azure Logic Apps Agent]  

[Azure Logic Apps Agent]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Overview.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 - Event Hubs]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Getting%20started/3B.%20Configuration%20-%20Event%20Hubs.md
[Configuration - Subscription - Authentication]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Getting%20started/3A.%20Configuration%20-%20Subscription.md#fa-user-secret-authentication-tab
[Install]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Getting%20started/2.%20Install.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 Logic Apps]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Features/Monitoring%20Logic%20Apps.md
[Prerequisites]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Getting%20started/1.%20Prerequisites.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
[Retention]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Getting%20started/3D.%20Configuration%20-%20Workflow%20Monitoring.md#run-history-retention