---
title: Prerequisites for the Nodinite Azure Monitoring Agent – Rights, Software, and Network
description: "Prerequisites for the Nodinite Azure Monitoring Agent: how the agent uses Azure, software, App Registration and Azure RBAC roles, Windows rights, a firewall table for every network hop, and corporate forward proxy settings."
---

<a class="nodinite-release-notes" href="https://portal.nodinite.com/marketplace/10" data-url="https://portal.nodinite.com/marketplace/10"><i class="fal fa-fw fa-file-alt" aria-hidden="true"></i> Release Notes</a>

# <i class="fal fa-square-plus" aria-hidden="true"></i> Prerequisites for the Nodinite Azure Monitoring agent

<aside aria-label="Info" class="nodinite-note nodinite-note--info">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-square-info"></i> Info</p>
<div class="nodinite-note__content"><p>This page is the one home for the <strong>prerequisites</strong> of the <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/logging-and-monitoring/azure/overview/">Azure Monitoring Agent</a>: software, Azure access, Windows rights, firewall ports, and proxy settings. The <a href="https://docs.nodinite.com/logging-and-monitoring/azure/getting-started/install/">Install</a>, <a href="https://docs.nodinite.com/logging-and-monitoring/azure/getting-started/configuration/">Configuration</a>, and <a href="https://docs.nodinite.com/logging-and-monitoring/azure/troubleshooting/overview/">Troubleshooting</a> pages link here instead of repeating these facts.</p></div>
</aside>

Get started with the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Azure [Monitoring Agent][Monitoring Agents] by making sure your environment meets these prerequisites. Meet them, and you get a secure, reliable monitoring solution for your Azure EAI services, from [Subscriptions][Monitoring Subscription] and [Resource Groups][Monitoring Resource Group] down to [Azure Functions][Azure Agent - Monitoring Function], [Web Jobs][Monitoring Web Jobs], and [Azure Storage][Monitoring Azure Storage].

* ✅ Ensure secure and least-privilege access to Azure resources  
* ✅ Meet all software and network requirements for seamless operation  
* ✅ Empower teams to monitor and manage Azure without direct portal access  
* ✅ Stay up to date with supported versions and best practices  

|Verified|Topic|
|:---:|---|
|<i class="fal fa-square" aria-hidden="true"></i>|<i class="fal fa-diagram-project" aria-hidden="true"></i> [How the agent uses Azure](#how-the-agent-uses-azure)|
|<i class="fal fa-square" aria-hidden="true"></i>|<i class="fal fa-box-check" aria-hidden="true"></i> [Software Requirements](#software-requirements)|
|<i class="fal fa-square" aria-hidden="true"></i>|<i class="fal fa-cloud" aria-hidden="true"></i> [Azure User rights and Services](#fa-cloud-what-azure-user-rights-and-services-does-the-azure-agent-require)|
|<i class="fal fa-square" aria-hidden="true"></i>|<i class="fab fa-windows" aria-hidden="true"></i> [Windows User Rights](#what-windows-user-rights-does-the-azure-agent-require)|
|<i class="fal fa-square" aria-hidden="true"></i>|<i class="fal fa-shield-check" aria-hidden="true"></i> [Firewall settings](#fa-shield-check-what-firewall-settings-are-required-for-the-azure-agent)|
|<i class="fal fa-square" aria-hidden="true"></i>|<i class="fal fa-network-wired" aria-hidden="true"></i> [Corporate Forward Proxy](#fa-network-wired-corporate-forward-proxy-configuration)|

<h2 id="how-the-agent-uses-azure"><i class="fal fa-diagram-project" aria-hidden="true"></i> How the agent uses Azure</h2>

The [Monitoring Service][] polls the agent for the state of every [Resource][Resources] it discovers, and sends [Remote Configuration][] changes and [Remote Actions][] to it. The agent then talks to Azure on your behalf:

<div class="mermaid">
graph LR
    subgraph "Nodinite Instance"
        roNI(fa:fa-monitor-waveform Azure agent)
    end
    subgraph "Azure Cloud / Subscriptions"
        roAzureAPI(fa:fa-cloud Microsoft Azure API)---roLA(fa:fa-business-time Web Jobs)
        roNI -->|"X-API-KEY / Kusto queries"| roAI("Application Insights")
        roAI --> roFx(fa:fa-function Functions Monitoring)
        roNI -->|"REST"| roAzureAPI
        roNI ---|"Connection String"| roAS(fab:fa-bitbucket Azure Storage)
    end
</div>

*Diagram: <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Azure Monitoring Agent architecture and required connections. The agent calls the Azure REST API for discovery, monitoring, and Remote Actions, runs Kusto queries against Application Insights for Functions Monitoring, and reads Azure Storage.*

### <i class="fal fa-puzzle-piece" aria-hidden="true"></i> Azure services at a glance

|Azure service|Needed for|Required?|
|---|---|---|
|<i class="fal fa-id-badge" aria-hidden="true"></i> **App Registration** in Microsoft Entra ID|Every call the agent makes to Azure|✅ Always|
|<i class="fal fa-cloud" aria-hidden="true"></i> **Azure Resource Manager** ([Azure REST API][])|Discovery, monitoring, and Remote Actions for all resource types|✅ Always|
|<i class="fal fa-lightbulb-on" aria-hidden="true"></i> **Application Insights**|[Azure Functions][Azure Agent - Monitoring Function] monitoring (Kusto queries) and Kusto queries you configure|⚠️ Only for those features|
|<i class="fal fa-users" aria-hidden="true"></i> **Microsoft Graph**|[App Registration][Monitoring App Registration] monitoring|⚠️ Only for that feature|
|<i class="fal fa-boxes" aria-hidden="true"></i> **Azure Storage** data plane|[Azure Storage][Monitoring Azure Storage] monitoring and actions|⚠️ Only for that feature|
|<i class="fal fa-border-outer" aria-hidden="true"></i> **Event Hubs** data plane|Posting messages to an Event Hub ([Post][Azure Agent - Managing Event Hub - Post])|⚠️ Only for that action|

### <i class="fal fa-code-compare" aria-hidden="true"></i> Authentication options

|Option|Used for|Notes|
|---|---|---|
|✅ **App Registration** (Application/Client and secret)|The [Azure REST API][] and all management-plane calls|Always required. Assign only the Azure RBAC roles for the features you enable|
|⚠️ **SAS keys / connection strings**|Some data-plane integrations, for example Azure Storage in specific scenarios|Depends on the feature and version; RBAC-based access is also available for selected features|

<h2 id="software-requirements"><i class="fal fa-box-check" aria-hidden="true"></i> Software Requirements</h2>

The [Azure Agent][] usually runs on the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> application server, together with the [Core Services][]. On [Windows Server][], <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v7 hosts the agent as its own [IIS][] web site, installed through 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> ([Agents step][]). <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v6 installed it as a Windows Service. Virtual machines are supported.

|Product|<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v7 (IIS web site)|<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v6 (Windows Service, ⚠️ Legacy)|
|---|---|---|
|<i class="fab fa-windows" aria-hidden="true"></i> Windows Server|The <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v7 [platform requirement][Nodinite Prerequisites]|Windows 2025<br/>Windows 2022<br/>Windows 2019<br/>Windows 2016<br/>Windows 2012 R2<br/>Windows 2012|
|<i class="fal fa-server" aria-hidden="true"></i> IIS|IIS with the [IIS Windows Features][]|Not used|
|<i class="fal fa-file-prescription" aria-hidden="true"></i> .NET|See the [Release Notes][] for the agent version|.NET Framework 4.8 or later <sup><span class="nodinite-new-badge">New 6.0</span></sup>|

Earlier versions of this agent made use of .NET Framework 4.7.2.

### <i class="fal fa-arrows-alt" aria-hidden="true"></i> Supported Versions

Cloud technologies evolve quickly, and Microsoft deprecates older API versions regularly. <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> always supports the APIs that Microsoft supports, so [update][Update] <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> and the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Azure Agent][] periodically to stay current.

><i class="fal fa-file-alt" aria-hidden="true"></i> Make sure to subscribe to our [Release Notes][].

## <i class="fal fa-cloud" aria-hidden="true"></i> What Azure User rights and Services does the Azure agent require?

>For the **Least Privileges**, review the [Azure Access page, least privileges section][AzureApplicationsAccess - Least Privileges]. Carefully read and **follow** the instructions in the [Azure Applications Access][AzureApplicationsAccess] user guide for specific use, and insights about the least privileges required.

The agent provides features to **Read**, **Write**, **Manage**, and **Post** data to many Azure-related services.

The agent always uses an **App Registration** (Application/Client) in Microsoft Entra ID to authenticate with the [Azure REST API][] and manage Azure services and resources. You enter its Tenant ID, Subscription ID, Client ID, and Client Secret per Subscription in the [Configuration][Configuration - Subscription]. Depending on the feature and version, some data-plane integrations can also use **SAS keys/connection strings** (for example, Azure Storage access in specific scenarios).

Only assign the rights required for the services the customer actually enables. If the customer opts out of a monitoring category, don't add the related Azure RBAC role or delegated permission; keep the App Registration limited to the enabled features only.

1. To ease administration, assign the ApplicationId/ClientId the [Contributor](https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles#contributor)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> role.
2. To send messages to the Azure Event Hub, add the [Azure Event Hubs Data Sender](https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/analytics#azure-event-hubs-data-sender)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> role to the ApplicationId/ClientId ([Post][Azure Agent - Managing Event Hub - Post]).  
![Azure Event Hubs Data Sender role assignment in the Azure Portal][1]  
*Example: Assigning the Azure Event Hubs Data Sender role in the Azure Portal.*  
3. To monitor [Azure Storage][Monitoring Azure Storage], configure access according to your selected approach in the agent. Some scenarios use [Connection Strings](https://learn.microsoft.com/en-us/azure/storage/common/storage-configure-connection-string)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>, while RBAC-based access is also available for selected features. See [RBAC reading for Azure Storage](https://learn.microsoft.com/en-us/azure/storage/blobs/assign-azure-role-data-access)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>.
4. To monitor [Azure Key Vault][Monitoring Key Vault], assign the App Registration (Application/Client) the [Key Vault Reader](https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/security#key-vault-reader)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> role.
5. To monitor [Azure Functions][Azure Agent - Monitoring Function], enable Azure Monitoring. You must tie an Application Insights instance to the Azure Function Web Site hosting the Functions you want to monitor. Include access rights as described in the next item.
6. Application Insights Monitoring (Kusto query execution and Functions Monitoring) requires the App Registration to have **Delegated permissions** to read data. Filter on **Application Insights API** and check the **Data.Read** checkbox.
7. Some features, like [Web Jobs][Monitoring Web Jobs] **History**, require you to set `SCM Basic Auth Publishing Credentials` to `On`.
8. The [APIM Monitoring][APIMgmt Overview] requires membership in the `API Management Service Contributor` role.

<h2 id="what-windows-user-rights-does-the-azure-agent-require"><i class="fab fa-windows" aria-hidden="true"></i> What Windows User Rights does the Azure agent require?</h2>

The agent runs under a service identity, usually on the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> application server:

* **<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v7**: the IIS application pool identity of the agent web site, set in 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> ([Agents step][]).
* **<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v6 (legacy)**: the account of the Windows Service.

Use a domain account (preferred) or a local named account, and grant it access and run-time rights. Follow the '[How to set logon as a Windows service right][How to set Logon as a Service right]' user guide for detailed instructions. All Azure access goes through the App Registration.

## <i class="fal fa-shield-check" aria-hidden="true"></i> What Firewall settings are required for the Azure agent?

Where you install the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Azure Agent][] in relation to the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Monitoring Service][] and the Azure endpoints it calls determines your firewall configuration. The diagram shows every host involved, with the agent on its own server; each arrow starts at the side that opens the connection.

<div class="mermaid">
graph LR
    subgraph "Nodinite Core Services Server"
        roMonitoringService(fa:fa-watch-fitness Monitoring Service)
    end
    subgraph "Nodinite Agent Server"
        roNI(fa:fa-monitor-waveform Azure agent)
    end
    subgraph "Corporate Forward Proxy (optional)"
        roProxy(fa:fa-network-wired Proxy)
    end
    subgraph "Target: Microsoft Azure"
        roEntra(fa:fa-key Microsoft Entra ID)
        roARM(fa:fa-cloud Azure Resource Manager)
        roGraph(fa:fa-users Microsoft Graph)
        roData(fa:fa-database Storage, Application Insights, Log Analytics,<br/>Key Vault, SCM sites)
        roEH(fa:fa-border-outer Event Hubs namespace)
    end
    subgraph "DNS Server"
        roDNS(fa:fa-signs-post DNS)
    end
    subgraph "Azure Service Bus Relay (optional)"
        roRelay(fa:fa-cloud Relay namespace)
    end
    roMonitoringService -->|"Agent site port (v7) / 8000 (v6)"| roNI
    roNI -->|"443"| roEntra
    roNI -->|"443"| roARM
    roNI -->|"443"| roGraph
    roNI -->|"443"| roData
    roNI -.->|"5671, 5672, 443"| roEH
    roNI -.->|"Proxy port"| roProxy
    roProxy -.->|"443"| roARM
    roNI -->|"53"| roDNS
    roMonitoringService -->|"53"| roDNS
    roMonitoringService -.->|"443"| roRelay
    roNI -.->|"443"| roRelay
</div>

*Network diagram: the Monitoring Service calls the agent; the agent gets a token from Microsoft Entra ID and calls the Azure APIs over HTTPS, directly or through a corporate forward proxy. Dashed arrows are optional hops.*

<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>When the agent runs on the Core Services Server (the typical installation), you need no firewall rule between the <a href="https://docs.nodinite.com/core-services/monitoring-service/overview/">Monitoring Service</a> and the agent. The <a href="https://docs.nodinite.com/getting-started/overview/">Web Client</a> and <a href="https://docs.nodinite.com/core-services/web-api/overview/">Web API</a> reach the agent only through the Monitoring Service.</p></div>
</aside>

### Between the Monitoring Service and the Azure agent

The [Monitoring Service][] opens every connection; the agent never calls it. On Windows Server, <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v7 hosts the agent as its own IIS web site, on a port you set per environment in 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> ([Servers step][], [Agents step][]).

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|
|---|---|---|---|---|---|---|
|Inbound|Core Services Server|Agent Server|TCP (HTTPS/HTTP)|Agent site port|Poll the agent, send configuration, run Remote Actions|v7. No fixed default; use the port set in the Portal. Only when the agent is on a **remote** server. Use HTTPS; see [hardening][Hardening]|
|Inbound|Core Services Server|Agent Server|TCP|[8000][Port8000]|Same, for Windows Service agents|⚠️ v6 and earlier only (legacy MSI installer on remote servers)|

#### Option: Service Bus Relaying (cloud or hybrid)

Use [Service Bus Relayed connections][Service Bus Relaying] when <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> and the agent are on different networks. Both sides connect **outbound** to the Azure Relay namespace, so neither server needs an inbound rule. <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> uses the same principle as the on-premises data gateway; see '[Adjust communication settings for the on-premises data gateway](https://learn.microsoft.com/en-us/data-integration/gateway/service-gateway-communication)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>' and the ['Azure Relay FAQs'][MicrosoftServiceBusRelayingLink]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>.

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|
|---|---|---|---|---|---|---|
|Outbound|Agent Server|Azure Relay (`*.servicebus.windows.net`)|TCP|443|HTTPS (WebSockets): the agent's relay listener|All versions. Allow the relay host by DNS name, not by IP address: the relay gateway addresses change|
|Outbound|Core Services Server|Azure Relay (`*.servicebus.windows.net`)|TCP|443|The Monitoring Service and the [Web API][] call the agent through the relay|HTTPS only, direct (no proxy)|

<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>For guidance on configuring, testing, and troubleshooting AMQP ports 5671 and 5672, see <a href="https://docs.nodinite.com/install-and-update/troubleshooting/azure/amqp-port-configuration-5671-and-5672/">AMQP Port Configuration - 5671 and 5672</a>.</p></div>
</aside>

### Between the Azure agent and Microsoft Azure

The agent signs in with the App Registration (Service Principal) and works through the Azure SDKs, which call the [Azure REST API][] under the hood (plus a few direct REST API calls where an SDK lacks a feature, and Microsoft Graph), and the data-plane endpoints of the resources you monitor. All traffic is outbound; Azure needs no inbound rule. Allow these hostnames (public Azure cloud), as listed in [Azure Monitor endpoint access and firewall configuration](https://learn.microsoft.com/en-us/azure/azure-monitor/fundamentals/azure-monitor-network-access)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>:

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|
|---|---|---|---|---|---|---|
|Outbound|Agent Server|Target (Microsoft Entra ID, `login.microsoftonline.com`)|TCP (HTTPS)|443|Get access tokens for the App Registration|Always required|
|Outbound|Agent Server|Target (Azure Resource Manager, `management.azure.com`)|TCP (HTTPS)|443|Discover and monitor resources, run Remote Actions|Always required|
|Outbound|Agent Server|Target (Microsoft Graph, `graph.microsoft.com`)|TCP (HTTPS)|443|Read App Registration secrets, certificates, and permission grants|Only for [App Registration][Monitoring App Registration] monitoring|
|Outbound|Agent Server|Target (Azure Storage, `*.blob.core.windows.net`, `*.file.core.windows.net`, `*.queue.core.windows.net`, `*.table.core.windows.net`)|TCP (HTTPS)|443|Read blobs, file shares, queues, and tables|Only for [Storage][Monitoring Azure Storage] accounts monitored by [connection string](https://learn.microsoft.com/en-us/azure/storage/common/storage-configure-connection-string)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> or data-plane RBAC|
|Outbound|Agent Server|Target (Application Insights / Log Analytics, `api.applicationinsights.io`, `api.loganalytics.io`)|TCP (HTTPS)|443|Run Kusto (KQL) queries|Only for [Azure Functions][Azure Agent - Monitoring Function] monitoring, which requires Application Insights on the Function App, and for Kusto queries you configure against Application Insights or Log Analytics data you already have. No other feature uses Application Insights or Log Analytics|
|Outbound|Agent Server|Target (Event Hubs namespace, `<namespace>.servicebus.windows.net`)|TCP (AMQP over TLS)|5671, 5672|Send messages to an Event Hub|Only for the [Post][Azure Agent - Managing Event Hub - Post] action. See [AMQP Port Configuration - 5671 and 5672][]|
|Outbound|Agent Server|Target (Event Hubs namespace, `<namespace>.servicebus.windows.net`)|TCP (HTTPS)|443|Event Hubs management operations, and AMQP over WebSockets|When only 443 is open, AMQP over WebSockets is the alternative; see the [Event Hubs firewall FAQ](https://learn.microsoft.com/en-us/azure/event-hubs/event-hubs-faq#what-ports-do-i-need-to-open-on-the-firewall-)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>|
|Outbound|Agent Server|Target (Key Vault, `<vault>.vault.azure.net`)|TCP (HTTPS)|443|Read certificate metadata|Only for [Key Vault][Monitoring Key Vault] monitoring|
|Outbound|Agent Server|Target (App Service SCM site, `<app>.scm.azurewebsites.net`)|TCP (HTTPS)|443|Read Web Job **History**|Only for [Web Jobs][Monitoring Web Jobs] History, which requires `SCM Basic Auth Publishing Credentials` set to `On`|
|Outbound|Agent Server|Target (other resource data-plane endpoints)|TCP (HTTPS)|443|Read resource data|Only for resources monitored by connection string, for example Cosmos DB (`*.documents.azure.com`)|
|Inbound|Target (Microsoft Azure)|Agent Server|TCP|443|Response traffic|Automatically allowed by stateful firewall inspection|

<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>Azure resource-level network rules can still block the agent, even when your own firewall allows the traffic:</p><ul>
<li><strong>Resource firewalls</strong> (Storage account firewall, Event Hubs IP filters, Function App access restrictions): add the Agent Server's outbound IP address or virtual network to the allow list.</li>
<li><strong>Private Link / Private Endpoint</strong>: the Agent Server needs a network path to the private endpoint (same VNet, VNet peering, VPN, or ExpressRoute).</li>
<li><strong>NSGs, Azure Firewall, or virtual appliances</strong>: allow outbound TCP 443 from the Agent Server to the hostnames above.</li>
<li><strong>Non-HTTPS protocols or custom ports</strong> (rare): verify the target service protocol and ports before you deploy.</li>
</ul><p>Review the resource's <strong>Networking</strong> settings in the Azure portal, or ask your cloud network administrators.</p></div>
</aside>

### Between the Azure agent and the corporate forward proxy

Required only when all outbound HTTPS traffic must pass a corporate forward proxy; see [Corporate Forward Proxy Configuration](#fa-network-wired-corporate-forward-proxy-configuration). The proxy then opens the HTTPS connections to the Azure hostnames above.

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|
|---|---|---|---|---|---|---|
|Outbound|Agent Server|Corporate Forward Proxy|TCP (HTTP/HTTPS)|Proxy port|Route Azure API calls through the proxy|Port defined by your proxy (the value in `proxyaddress`)|
|Outbound|Corporate Forward Proxy|Target (Microsoft Azure)|TCP (HTTPS)|443|Forward the calls to Azure|Allow the hostnames listed above on the proxy|

### Between the servers and DNS

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|
|---|---|---|---|---|---|---|
|Outbound|Agent Server|DNS Server|TCP/UDP|53|Name resolution|Resolve the Azure hostnames, the proxy, the Core Services Server, and (with relaying) `*.servicebus.windows.net`. A local `hosts` file can replace DNS for internal names, but not for Azure hostnames|
|Outbound|Core Services Server|DNS Server|TCP/UDP|53|Name resolution|Resolve the Agent Server|

<aside aria-label="Important" class="nodinite-note nodinite-note--important">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-message-exclamation"></i> Important</p>
<div class="nodinite-note__content"><p><strong>Stateful Firewalls</strong>: Most Windows Firewall implementations are stateful, so response traffic for established outbound connections is allowed automatically. The inbound response rules above are for reference and troubleshooting.</p></div>
</aside>

## <i class="fal fa-network-wired" aria-hidden="true"></i> Corporate Forward Proxy Configuration

In many enterprise environments, all outbound HTTP/HTTPS traffic from servers must route through a **corporate forward proxy** (such as a Zscaler, Squid, or Blue Coat appliance). The Azure Monitoring Agent makes outbound calls to Azure REST APIs, Azure Storage, and Application Insights on port **443**, so this applies directly.

<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><strong>Why Windows Services don't pick up proxy settings automatically</strong>: The agent runs as a <strong>Windows Service</strong> under a dedicated service account, not as an interactive user. Windows Services do <strong>not</strong> inherit the browser proxy settings from WinINET (Internet Explorer / system proxy settings). Without explicit proxy configuration, the .NET runtime inside the service process has no proxy configured and all outbound requests to Azure endpoints silently fail or time out, even though a browser on the same machine works fine.</p></div>
</aside>

### <i class="fab fa-windows" aria-hidden="true"></i> .NET Framework 4.8 – exe.config approach

Add a `<system.net>` section to the agent's `exe.config` file. This instructs the .NET Framework runtime to route all `WebRequest` and `HttpClient` traffic through the proxy.

```xml
<system.net>
  <defaultProxy>
    <proxy
      usesystemdefault="True"
      proxyaddress="http://proxy.corp.example.com:3128"
      bypassonlocal="True"
    />
    <bypasslist>
      <!-- Bypass the proxy for all internal corporate domains -->
      <add address=".*\.internal\.example\.com$" />
      <!-- Bypass for a specific public domain, but not certain subdomains -->
      <add address="^(?!.*\.(api|service)\.example\.com$).*\.example\.com$" />
    </bypasslist>
  </defaultProxy>
</system.net>
```

| Setting | Purpose |
|---|---|
| <i class="fal fa-toggle-on" aria-hidden="true"></i> `usesystemdefault="True"` | Fall back to the system proxy if the explicit address is unreachable |
| <i class="fal fa-globe" aria-hidden="true"></i> `proxyaddress` | Explicit proxy host and port |
| <i class="fal fa-toggle-on" aria-hidden="true"></i> `bypassonlocal="True"` | Skip the proxy for addresses on the local subnet / single-label hostnames |
| <i class="fal fa-filter" aria-hidden="true"></i> `bypasslist` | Regex patterns for addresses that should bypass the proxy (e.g. internal DNS domains, specific public domains) |

<aside aria-label="Important" class="nodinite-note nodinite-note--important">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-message-exclamation"></i> Important</p>
<div class="nodinite-note__content"><p>The <code>bypasslist</code> entries are .NET regular expressions, <strong>not</strong> simple wildcards. Test your patterns carefully — an overly broad bypass may expose traffic to the wrong route, and an overly narrow one may route internal traffic through the proxy unnecessarily.</p></div>
</aside>

## <i class="fal fa-function" aria-hidden="true"></i> What Azure Services does the Functions Monitoring require?

You must enable **Application Insights** for Azure Functions to use them with <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Functions Monitoring][Azure Agent - Monitoring Function].

The agent uses custom **Kusto** queries to get logs and evaluate the state and metrics of executions.

Microsoft covers this topic in the [How to configure monitoring for Azure Functions](https://learn.microsoft.com/en-us/azure/azure-functions/configure-monitoring?tabs=v2)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> user guide.

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

Additional solutions to common problems and the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Azure Monitoring Agent][Azure Agent] FAQ appear in the [Troubleshooting][] user guide.

### How do I enable Logging using Azure API Management Services?

Review the [APIMGMT - Logging][] user guide to enable <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Logging with Azure API Management Service APIs.

### How do I enable Logging using Azure Functions?

Review the [Serilog][] user guide to enable <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Logging with Azure Functions.

### How do I monitor and log Azure Logic Apps?

Use the separate [Azure Logic Apps Logging and Monitoring Agent][Azure Logic Apps Agent]; it has its own [prerequisites][Azure Logic Apps Prerequisites]. For Azure Service Bus, use the [Message Queueing Agent][Azure Service Bus]; for Azure SQL, use the [Database Monitoring Agent][Azure SQL Database].

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

* <i class="fal fa-rocket" aria-hidden="true"></i> [Install the Azure agent][Install]  
* <i class="fal fa-edit" aria-hidden="true"></i> [Configure the Azure agent][Configuration]  

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

* <i class="fal fa-cloud" aria-hidden="true"></i> [Azure Monitoring Agent][Azure Agent]  
* <i class="fal fa-list" aria-hidden="true"></i> [Azure Monitoring features][Azure Logging and Monitoring Overview]  
* <i class="fal fa-user-secret" aria-hidden="true"></i> [Azure Application Access - Least Privileges][AzureApplicationsAccess - Least Privileges]  
* <i class="fal fa-link" aria-hidden="true"></i> [AMQP Port Configuration - 5671 and 5672][]  
* <i class="fal fa-square-plus" aria-hidden="true"></i> [Add or manage a Monitoring Agent Configuration][]  
* <i class="fal fa-monitor-waveform" aria-hidden="true"></i> [Monitoring Agents][]  
* <i class="fal fa-question" aria-hidden="true"></i> [Troubleshooting][]  
* <i class="fal fa-gears" aria-hidden="true"></i> [Administration][]  
* <i class="fal fa-rocket" aria-hidden="true"></i> [Azure Role Deployment Automation][Azure Role Automation]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/Azure/Troubleshooting/AzureEventHubsDataSenderRoleAssignment.png

[Add or manage a Monitoring Agent Configuration]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/add-or-manage-monitor-agent/
[Administration]:https://docs.nodinite.com/administration/overview/
[Agents step]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/05-agents/
[AMQP Port Configuration - 5671 and 5672]:https://docs.nodinite.com/install-and-update/troubleshooting/azure/amqp-port-configuration-5671-and-5672/
[APIMGMT - Logging]:https://docs.nodinite.com/logging-and-monitoring/azure-api-management/overview/
[APIMgmt Overview]:https://docs.nodinite.com/logging-and-monitoring/azure/features/api-management/overview/
[Azure Agent]:https://docs.nodinite.com/logging-and-monitoring/azure/overview/
[Azure Agent - Managing Event Hub - Post]:https://docs.nodinite.com/logging-and-monitoring/azure/features/event-hub/managing-event-hub/#fa-right-from-bracket-post
[Azure Agent - Monitoring Function]:https://docs.nodinite.com/logging-and-monitoring/azure/features/function/monitoring-function/#fa-function-function
[Azure Logging and Monitoring Overview]:https://docs.nodinite.com/logging-and-monitoring/azure/features/overview/
[Azure Logic Apps Agent]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/overview/
[Azure Logic Apps Prerequisites]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/prerequisites/
[Azure REST API]:https://learn.microsoft.com/en-us/rest/api/azure/
[Azure Role Automation]:https://docs.nodinite.com/install-and-update/troubleshooting/azure/azure-role-deployment-automation/
[Azure Service Bus]:https://docs.nodinite.com/logging-and-monitoring/message-queueing/features/azure-service-bus-queues/monitoring-azure-service-bus-queue/
[Azure SQL Database]:https://docs.nodinite.com/logging-and-monitoring/database/features/azure-sql-database/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]:https://docs.nodinite.com/logging-and-monitoring/azure/getting-started/configuration/
[Configuration - Subscription]:https://docs.nodinite.com/logging-and-monitoring/azure/getting-started/configuration/#configuring-the-azure-subscription
[Core Services]:https://docs.nodinite.com/core-services/overview/
[Hardening]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/how-to-perform-hardening-on-your-nodinite-installation/
[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/getting-started/install/
[MicrosoftServiceBusRelayingLink]:https://learn.microsoft.com/en-us/azure/azure-relay/relay-faq/
[Monitoring Agents]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/what-is-a-monitor-agent/
[Monitoring App Registration]:https://docs.nodinite.com/logging-and-monitoring/azure/features/app-registration/monitoring-app-registration/
[Monitoring Azure Storage]:https://docs.nodinite.com/logging-and-monitoring/azure/features/storage/monitoring-azure-storage/
[Monitoring Key Vault]:https://docs.nodinite.com/logging-and-monitoring/azure/features/key-vault/monitoring-key-vault/
[Monitoring Resource Group]:https://docs.nodinite.com/logging-and-monitoring/azure/features/resource-group/monitoring-resource-group/
[Monitoring Service]:https://docs.nodinite.com/core-services/monitoring-service/overview/
[Monitoring Subscription]:https://docs.nodinite.com/logging-and-monitoring/azure/features/subscription/monitoring-subscription/
[Monitoring Web Jobs]:https://docs.nodinite.com/logging-and-monitoring/azure/features/web-job/monitoring-web-job/
[Nodinite Prerequisites]:https://docs.nodinite.com/install-and-update/getting-started/prerequisites/
[NodinitePortal]:https://portal.nodinite.com
[Port8000]:https://docs.nodinite.com/install-and-update/troubleshooting/windows/why-do-nodinite-use-port-8000/
[Release Notes]:https://portal.nodinite.com/marketplace/10
[Remote Actions]:https://docs.nodinite.com/getting-started/monitor/remote-actions/
[Remote Configuration]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/how-do-i-configure-a-monitor-agent/
[Resources]:https://docs.nodinite.com/administration/monitor-management/resources/features/what-is-a-resource/
[Serilog]:https://docs.nodinite.com/logging-and-monitoring/serilog/overview/
[Servers step]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/04-servers/#core-platform-services
[Service Bus Relaying]:https://docs.nodinite.com/install-and-update/troubleshooting/configure-service-bus-relaying-for-monitor-agents/
[Troubleshooting]:https://docs.nodinite.com/logging-and-monitoring/azure/troubleshooting/overview/
[Update]:https://docs.nodinite.com/logging-and-monitoring/azure/updating/
[Web API]:https://docs.nodinite.com/core-services/web-api/overview/
[Web Client]:https://docs.nodinite.com/getting-started/overview/
[Windows Server]:https://docs.nodinite.com/logging-and-monitoring/windows-server/features/windows-server/