Prerequisites for the Nodinite Web API
Section titled “Prerequisites for the Nodinite Web API”The Nodinite Web API is the REST API behind the Web Client, your reports, and your scripts. It runs as its own IIS web site and application pool; every call it makes to SQL Server, the other Core Services, and the Monitoring Agents runs as that pool's identity, while each caller is checked against Nodinite Roles. This page tells the person who maintains the installation what that identity needs.
You configure the Web API in the Nodinite Portal and install it with the generated package; the procedure is in Install Nodinite v7, and the general list in Prerequisites for Installing Nodinite.
Diagram: callers reach the Web API with their own identity; the Web API reaches the Configuration Database, the Log Databases (through Linked Servers), the Logging Service, the Monitoring Service, and the Monitoring Agents as its application pool identity.
Accounts and Rights at a Glance
Section titled “ Accounts and Rights at a Glance”The Web API runs as its IIS application pool identity, set in the Portal (Service Account Defaults, or per service in Core platform services).
| Right | On what | Why | Without it |
|---|---|---|---|
Logon as a Service |
The Core Services Server (Windows rights) | IIS grants it to the pool identity when the pool starts; a Group Policy that defines the right must list the identity (details) | The Web API doesn't start |
| Membership in IIS_IUSRS | The Core Services Server | It gives the pool identity Log on as a batch job and Impersonate a client after authentication, without local administrator rights | The Web API doesn't start |
| Read | %windows%\system32\inetsrv\config |
It reads redirection.config |
Cannot read configuration file due to insufficient permissions (fix) |
db_datareader, db_datawriter, and EXECUTE |
The Configuration Database (Nodinite databases) | It reads and writes all configuration for the Web Client and API clients | Every call fails |
db_datareader and db_datawriter, plus VIEW DATABASE STATE for the database report |
Every Log Database | Log searches, Log Event details, statistics, and Show Database Report | Log searches fail; the report fails or comes back partly empty |
VIEW SERVER STATE and VIEW ANY DEFINITION, plus VIEW DEFINITION ON AVAILABILITY GROUP on Always On |
The instance, on every node (Master) | Its reports read server DMVs; Nodinite Overview reads the database sizes; on Always On it resolves the listener | Reports and sizes are missing; on Always On every call that addresses a Log Database fails |
| Membership in LogServiceUsers | The System Parameter, unless the identity is sysadmin |
The Logging Service grants access on each new Log Database to that list | Log searches fail on the newest Log Database after a split |
| Inbound on the Web API port | The Core Services Server, from users' browsers through the Web Client, and from scripts (firewall) | Callers reach the REST API | No Web Client, no scripts |
| Outbound to each agent port, or Service Bus Relay | The Monitoring Agents (firewall) | Remote Actions, Remote Configuration, metrics, and agent status | Those features fail for that agent |
SQL Server Sysadmin Requirements has the full rights matrix. IIS Authentication settings covers the caller side: Windows Authentication or OAuth 2.0.
When the Core Services Run as Different Accounts
Section titled “When the Core Services Run as Different Accounts”When the Web API has its own account, give it its own login on every instance and Always On node with the Configuration Database or Log Databases, the rights above, and an entry in LogServiceUsers.
Run the Web API and the Monitoring Service as the same account (Recommended Configuration): the Monitoring Service decrypts the Alarm Plugin credentials that the Web API encrypts, with the certificate in the account's CurrentUser store, so with two accounts alarms that use credentials fail (details). The Core Services Overview compares the rights of all services.
Check the Web API After a Change
Section titled “Check the Web API After a Change”After you change its account or rights, open the Web API's Scalar page and send GET /api/Users/whoami. A 200 OK with your user and its Roles shows that the Web API runs, authenticates you, and reads the Configuration Database.

A quick check of the Web API after an update or an account change.
IIS Windows Features
Section titled “ IIS Windows Features”The Nodinite Web API is an IIS-hosted web site built on .NET 10 and ASP.NET Core. The server needs a Windows Server version that .NET 10 supports and the .NET 10 Hosting Bundle; see Prerequisites for Installing Nodinite.
Key requirements
Section titled “Key requirements”- Windows Authentication - Required when the environment uses Windows Authentication (the auth mode is set in the Portal, Auth step)
- ASP.NET Core Module V2 - Required for .NET 10; install the IIS features before the .NET 10 Hosting Bundle
IIS Windows Features - Complete feature list, installation scripts, and troubleshooting
Microsoft Distributed Transaction Coordinator (DTC)
Section titled “ Microsoft Distributed Transaction Coordinator (DTC)”The Web API needs the Windows service Microsoft Distributed Transaction Coordinator (DTC) on the Core Services Server for one feature: a resend to a transactional MSMQ queue from the Web Client runs in a distributed transaction. Between SQL Servers, DTC matters when a Log Database is on another instance; see Configuration Database DTC. Configure it as described in MSDTC.
What Windows rights does the Web API require?
Section titled “ What Windows rights does the Web API require?”The Nodinite Web API runs as an IIS web site with a dedicated App Pool. Its service identity is set in the Nodinite Portal: the defaults in the Auth step, Service Account Defaults (a gMSA is supported, see gMSA accounts), or a separate account per service in the Servers step, Core platform services. The generated CLI package creates the App Pool with that identity.
Service Account Requirements
Section titled “Service Account Requirements”- The service account needs the Log on as a service right; IIS grants it when the application pool starts (IIS application pool identities)
- Make the service account a member of the IIS_IUSRS group; it doesn't need to be a local administrator, nor the Allow log on locally right
- The service account must have Read rights on
%windows%\system32\inetsrv\configfolder (for redirection.config access) - Load User Profile
Trueon the application pool, and write access to its ownappsettings.json
How It Works
Section titled “How It Works”The pool identity needs the SQL rights below. Each caller is still authenticated on its own (Windows Authentication or OAuth 2.0), Nodinite Roles decide what the caller can do, and Log Audits record the caller's identity; see IIS Authentication settings.
What SQL Rights does the Web API require?
Section titled “ What SQL Rights does the Web API require?”Master
Section titled “Master”Grant VIEW SERVER STATE (the reports read sys.dm_os_sys_info and sys.dm_exec_query_stats) and VIEW ANY DEFINITION (Nodinite Overview reads the database sizes from master.sys.master_files).
GRANT VIEW SERVER STATE TO [Domain\user]GRANT VIEW ANY DEFINITION TO [Domain\user]Replace [Domain\user] with the Windows account being used for the Web API (its service identity).
If applicable, repeat the grant on all nodes part of an AOAG environment.
Apply the settings below if you are using SQL Server Always on.
Grant GRANT VIEW DEFINITION ON AVAILABILITY GROUP rights.
GRANT VIEW DEFINITION ON AVAILABILITY GROUP ::AOAGGROUPNAME TO [Domain\user];Replace [Domain\user] with the Windows account being used for the Web API (its service identity).
If applicable, repeat the grant on all nodes part of an AOAG environment.
Nodinite databases
Section titled “Nodinite databases”The Nodinite Web API accesses the Configuration Database and the Log Databases with its service identity (set in the Portal) and requires the following SQL roles and grants:
| Database | Permission | Description | Microsoft Docs Link |
|---|---|---|---|
| Configuration Database | db_datareader | Grants read access to all tables and views | db_datareader |
| Configuration Database | db_datawriter | Grants write access to all tables and views | db_datawriter |
| Log Databases | db_datareader | Grants read access to all tables and views | db_datareader |
| Log Databases | db_datawriter | Grants write access to all tables and views | db_datawriter |
| Log Databases | VIEW DATABASE STATE | Show Database Report reads sys.dm_db_index_physical_stats |
GRANT database permissions |
The Web API runs no DDL and never shrinks or reindexes: no db_ddladmin, db_owner, or sysadmin. The report's backup part reads msdb.dbo.backupset.
Grant Execute rights on all existing and future stored procedures for the account used by the Web API:
GRANT EXECUTE TO [Domain\user]Replace [Domain\user] with the Windows account being used for the Web API.
What Firewall settings are required for the Web API
Section titled “ What Firewall settings are required for the Web API”The Web API is the hub of the Nodinite Core Services: the Web Client, reporting tools, and scripts call it; it calls the Logging Service and the Monitoring Service; and it is the Core Service that reads and writes most data in SQL Server. In OAuth 2.0 mode, callers get tokens from your OpenID Connect provider (such as Microsoft Entra ID or Keycloak) and the Web API validates them. The diagram shows each host, with the port on the arrow, drawn from the side that opens the connection.
Diagram: reporting tools, scripts, and the Web Client call the Web API on its Portal port; the Web API calls the Logging Service, the Monitoring Service, each Monitoring Agent (directly, or through Azure Service Bus Relay for off-site agents), SQL Server, and the domain controller. v7 Monitoring Agents also call the Web API, to register themselves. Dotted arrows apply only in OAuth 2.0 mode.
Between the callers and the Web API
Section titled “Between the callers and the Web API”The users' browsers never call the Web API directly; they call the Web Client, which calls the Web API on the same server. See the Web Client prerequisites for the browser hop.
| Direction | Source | Destination | Protocol | Port(s) | Purpose | Notes |
|---|---|---|---|---|---|---|
| Inbound | Reporting tools and scripts | Core Services Server (Web API) | TCP (HTTPS) | Web API port | REST calls for reports, metrics, and automation | Set in the Portal; open only to the networks that run reports or scripts |
| Inbound | Core Services Server (Web Client) | Core Services Server (Web API) | TCP (HTTPS) | Web API port | Every Web Client page | Same server; no rule needed unless a host firewall restricts local traffic |
| Outbound | Reporting tools and scripts | Microsoft Entra ID (login.microsoftonline.com) |
TCP (HTTPS) | 443 | Get a bearer token for the Web API audience | OAuth 2.0 mode only; see Manage the Web API |
| Inbound | Agent Server (v7 Monitoring Agents) | Core Services Server (Web API) | TCP (HTTPS) | Web API port | Agent self-registration, agent configuration, and secret-management certificates | Set in the Portal; needed when the agent runs on another server |
Between the Web API and the other Core Services
Section titled “Between the Web API and the other Core Services”The Web API finds the Logging Service and the Monitoring Service through the ProductArtifactsPath System Parameter, which the installer sets. All Core Services run on the one server selected in the Portal (Servers step), so open these ports only if a host firewall restricts local traffic.
| Direction | Source | Destination | Protocol | Port(s) | Purpose | Notes |
|---|---|---|---|---|---|---|
| Outbound | Core Services Server (Web API) | Core Services Server (Logging Service) | TCP (HTTPS) | Logging Service port | Logging Service status and operations | Set in the Portal |
| Outbound | Core Services Server (Web API) | Core Services Server (Monitoring Service) | TCP (HTTPS) | Monitoring Service port | Monitoring Service status and operations | Set in the Portal |
| Inbound | Core Services Server (Logging Service, Monitoring Service) | Core Services Server (Web API) | TCP (HTTPS) | Web API port | The services call the Web API for their features | Set in the Portal |
Between the Web API and the Monitoring Agents
Section titled “Between the Web API and the Monitoring Agents”The Web API calls each Monitoring Agent itself, never through the Monitoring Service, at the address on the agent's Connection tab, or through Azure Service Bus Relay for an off-site agent. It does so for everything a user waits for:
- The agent's alive status in lists and badges, its information (version, environment), and the agents section of the Status page
- Listing and running Remote Actions, and download actions
- Metrics, graphs, and response-time graphs
- Remote Configuration (read, version, save, restore), manual configuration backups, and diagnostics downloads
- Custom Monitor View columns
- Probing a URL before an agent is added (Administrators only)
- Generating BizTalk Articles, which pulls orchestration designs through a Remote Action
Most of these need Authenticate Connection on the agent's Security tab, and the Web API checks that the agent is alive before it acts. The Monitoring Service uses the same agent port, so the rule in the Monitoring Service prerequisites covers both; neither uses an outbound proxy.
| Direction | Source | Destination | Protocol | Port(s) | Purpose | Notes |
|---|---|---|---|---|---|---|
| Inbound | Core Services Server (Web API) | Agent Server | TCP (HTTP or HTTPS) | Agent port | Everything in the list above | Port set in the Portal; 8000 by default for agents installed with an MSI |
| Outbound | Core Services Server (Web API) | Azure Service Bus Relay (*.servicebus.windows.net) |
TCP (HTTPS) | 443 | The same calls to off-site agents; see Service Bus Relaying | Only for relayed agents; direct, without a proxy |
Between the Web API and SQL Server
Section titled “Between the Web API and SQL Server”The SQL Server, MSDTC, and domain controller ports are shared by all Nodinite components; their full details live in SQL Server Firewall Configuration.
| Direction | Source | Destination | Protocol | Port(s) | Purpose | Notes |
|---|---|---|---|---|---|---|
| Outbound | Core Services Server (Web API) | SQL Server (Configuration Database) | TCP | 1433 | Read and write configuration and log data | Default instance port; the stored procedures reach a Log Database on the same instance by name and one on another instance through a Linked Server.Named instances and changed ports: Core Services to SQL Server |
| Outbound | Core Services Server (Web API) | SQL Server | UDP | 1434 | SQL Server Browser | Only for a named instance without a port in the connection string; see SQL Server Browser Service |
| Both | Core Services Server (Web API) | SQL Server | TCP | 135 + dynamic RPC range | MSDTC distributed transactions | Only for a resend to a transactional MSMQ queue; see Core Services to SQL Server |
Between the Web API and the domain controller and Microsoft Entra ID
Section titled “Between the Web API and the domain controller and Microsoft Entra ID”| Direction | Source | Destination | Protocol | Port(s) | Purpose | Notes |
|---|---|---|---|---|---|---|
| Outbound | Core Services Server (Web API) | Domain Controller (DNS server) | TCP/UDP | 53 | DNS name resolution | Hosts-file entries are a fallback |
| Outbound | Core Services Server (Web API) | Domain Controller | TCP/UDP | 88, 389 | Kerberos for Windows Authentication of callers and SQL Server; LDAP group lookups for Roles. In Windows mode the Web API calls agents as the signed-in user, but agents accept anonymous calls with the X-ApiKey header, so no delegation to agents is needed |
See Domain Controller ports |
| Outbound | Core Services Server (Web API) | Microsoft Entra ID (login.microsoftonline.com) |
TCP (HTTPS) | 443 | Read the OpenID configuration and token signing keys | OAuth 2.0 mode only; through the proxy set in Step 3: Infrastructure if you use one |
What to get right
Section titled “What to get right”- No fixed default port: the Web API port is whatever you set in the Portal; scripts and reports must use the full base URL, including the port.
- Versions: Nodinite v7 replaced the fixed ports of earlier versions with Portal ports; see Why do Nodinite use port 8000 when you clean up old rules.
- DNS (53): callers must resolve the Web API host name that matches its TLS certificate, and Windows Authentication needs that name, not an IP address, for Kerberos.
Frequently asked questions
Section titled “ Frequently asked questions”Additional solutions to common problems and the Nodinite Web API FAQ exist in the Troubleshooting user guide. For anything else, see the Support page.
Can I secure the Web API?
Section titled “Can I secure the Web API?”Yes. The Web API uses TLS (HTTPS). You enter the host name (FQDN) and the certificate subject in the Portal, in the Servers step, Core host Configuration, and the CLI package binds the certificate to the Web API site. In OAuth 2.0 mode, the Web API also requires a bearer token issued for the Web API audience set in the Auth step, Web API; see Manage the Web API.
Next Steps
Section titled “ Next Steps” Install Web API
IIS Windows Features
MSDTC
Manage the Web API
Related Topics
Section titled “ Related Topics” Core Services Package
Web API
Configuration Database
Hardening
IIS Authentication settings
Log Audits
Log Databases
Logging Service
Monitoring Service
Roles
System Parameters
SQL Server Firewall
Troubleshooting
Uninstall Web API
Update Web API