Skip to content
Documentation
Updated 13 minutes to read
Markdown

Register Nodinite Applications in Azure AD (Entra ID) with OpenID

Section titled “Register Nodinite Applications in Azure AD (Entra ID) with OpenID”

Empower your organization with secure, modern authentication and authorization using Microsoft Entra ID (Azure AD) and Nodinite. This guide registers the webApi, webClient, and NodiniteInstallationClient applications that a Nodinite v7 Environment in OAuth2 mode needs, before you fill in the Portal Step 2: Auth.

  • ✅ Register the Azure AD applications for Nodinite integration
  • ✅ Enable secure OpenID Connect sign-in to the Web Client
  • ✅ Grant delegated and application permissions with admin consent
  • ✅ Authorize users with App Roles that map to Nodinite Claims
  • ✅ Capture all essential IDs and secrets for the installation

Each value you capture here goes into a field described in Install Nodinite v7 – OpenID Connect (OIDC) and OAuth 2.0; the OpenID Field Mapping Quick Reference lists them all on one page. For the supported flows and standards alignment (Authorization Code + PKCE, no implicit grant, no ROPC, exact redirect URI matching), see the OAuth Security and Compliance Reference.

flowchart LR People["fa:fa-users Users and groups"] -->|"assigned to Nodinite.Admin, Nodinite.User"| WebApi WebClient["fa:fa-desktop webClient
web app, client secret"] -->|"delegated: nodinite_webapi_all"| WebApi["fa:fa-plug webApi
scope, app roles, token v2"] Install["fa:fa-terminal NodiniteInstallationClient
daemon, client secret"] -->|"application: AppRole_WebApi_all"| WebApi WebClient -.->|"delegated: mcp scopes"| Mcp["fa:fa-robot MCP API
optional"] Senders["fa:fa-paper-plane Logging client registrations"] -.->|"api://logApi/.default"| LogApi["fa:fa-file-lines logApi
optional"] style WebApi fill:#9E59BB style WebClient fill:#9E59BB style Install fill:#9E59BB style Mcp fill:#3F827B style LogApi fill:#3F827B style People fill:#2678BD

The three purple app registrations are required: the webApi protects the Nodinite Web API, the webClient signs users in to the Web Client, and the NodiniteInstallationClient lets the installer CLI work unattended. The teal registrations are optional: logApi when you protect the Log API, and the MCP API when you use the MCP Endpoint with OAuth. Blue marks the users and groups you assign to app roles.

App registration Role Permission model Required
webApi The protected API Exposes the delegated scope nodinite_webapi_all and the app roles AppRole_WebApi_all (applications) and Nodinite.Admin, Nodinite.User (users) ✅ Yes
webClient Interactive sign-in, Authorization Code + PKCE Delegated permission nodinite_webapi_all, admin consent granted ✅ Yes
NodiniteInstallationClient Unattended installs, updates, and maintenance Application permission AppRole_WebApi_all, admin consent granted ✅ Yes
logApi Token validation in the Log API Own registration, Application ID URI api://<logapi-client-id>; see Protect the Log API with OAuth 2.0 and Entra ID ⚠️ Optional
MCP API Token validation in the MCP Server Delegated mcp:* scopes; see section 1.7 ⚠️ Optional

App Roles keep tokens small, even for users in hundreds of groups, and work on every Entra ID tier without premium licensing.

Before you begin, ensure you have:

  • A Microsoft Entra ID tenant, where Nodinite users already have accounts.
  • Entra ID administrator access: permissions to register applications and to grant tenant-wide admin consent.
  • The Web Client URL: the host name from Step 4: Servers → Core host Configuration and the Web Client port from Core platform services, for the redirect URI.
  • A secure location to store credentials, such as a password manager.
  1. Azure Portal: Microsoft Entra ID > App registrations > + New registration.
  2. Name: webApi
  3. Supported account types: Accounts in this organizational directory only (Single tenant).
  4. Redirect URI: (leave blank)
  5. Click Register.
  6. In Overview, copy Application (client) ID and Directory (tenant) ID.

webApi Overview
The Azure Portal displays the registered webApi application overview.

The Application ID URI uniquely identifies your API in your organization. Client applications use this URI to request tokens for your API.

  1. Left menu: Expose an API.
  2. If prompted, click Set for Application ID URI (accept the default api://<webApi-client-id>). Copy this value—you'll need it later.
  3. Under Scopes defined by this API, click + Add a scope.
    • Scope name: nodinite_webapi_all
    • Who can consent: Admins only
    • Admin consent display name: Full access to Nodinite WebAPI
    • Admin consent description: Full access to Nodinite WebAPI
    • State: Enabled
    • Click Add scope.

Expose an API – Scope Added
You add a scope to the webApi application for delegated permissions.

1.3 Add App Roles (User and Application Permissions)

Section titled “1.3 Add App Roles (User and Application Permissions)”

App Roles are the recommended approach for application authorization in Entra ID. They provide scalable, token-efficient role-based access control (RBAC) without the token size limitations of group claims.

1.3.1 Create App Role for Installation Client (Application Permission)

Section titled “1.3.1 Create App Role for Installation Client (Application Permission)”
  1. Left menu: App roles > + Create app role:
    • Display name: AppRole_WebApi_all
    • Allowed member types: Applications (this is for service-to-service authentication)
    • Value: AppRole_WebApi_all
    • Description: Application permission for Nodinite installation and background services
    • State: Enabled
  2. Click Apply / Create.

App Roles – Application Permission
You create an app role for application-to-application (service) authentication.

1.3.2 Create App Roles for Users (Delegated Permissions)

Section titled “1.3.2 Create App Roles for Users (Delegated Permissions)”

Create roles for different user permission levels in Nodinite. Add as many roles as needed for your organization's access control requirements.

  1. Left menu: App roles > + Create app role:
    • Display name: Nodinite.Admin
    • Allowed member types: Users/Groups (this is for user authentication)
    • Value: Nodinite.Admin
    • Description: Full administrative access to all Nodinite features
    • State: Enabled
  2. Click Apply / Create.
  3. Repeat to create additional user roles:
    • Nodinite.User: Display name and Value Nodinite.User, Allowed member types Users/Groups, Description Standard user access to Nodinite monitoring and logging features, State Enabled.
    • Nodinite.ReadOnly (optional): Display name and Value Nodinite.ReadOnly, Allowed member types Users/Groups, Description Read-only access to Nodinite dashboards and reports, State Enabled.

App Roles – User Roles
You create app roles for user authorization with different permission levels.

After creating app roles, assign users or Entra ID groups to them. This determines which users can access Nodinite and which claims their tokens carry.

Section titled “Option 1: Assign via Enterprise Applications (Recommended)”
  1. In Azure Portal, navigate to Microsoft Entra ID > Enterprise applications.

  2. Search for and select webApi (you may need to change the filter to "All applications").

  3. Left menu: Users and groups > + Add user/group.

    Enterprise App – Add Assignment
    You initiate the process to add user/group assignments to app roles.

  4. Click None Selected under Users and groups.

  5. Select an Entra ID group (e.g., "Nodinite Admins") that contains your own account, or select your own user account directly.

    Enterprise App – Select Users
    You search for and select users or groups to assign to the application.

  6. Click Select.

  7. Click None Selected under Select a role.

  8. Select the Nodinite.Admin app role.

    Enterprise App – Select Role
    You select the specific app role to assign to the selected users or groups.

  9. Click Select > Assign.

  10. Repeat for additional groups/users with different roles (e.g., assign "Nodinite Users" group to Nodinite.User role).

Enterprise App – Users and Groups View
The Users and groups view shows all role assignments for the webApi application.

Option 2: Assign via App Registration (Alternative)

Section titled “Option 2: Assign via App Registration (Alternative)”
  1. Navigate to Microsoft Entra ID > App registrations > select webApi.
  2. Go to Overview and click the link under Managed application in local directory (this opens the Enterprise Application).
  3. Follow steps 3-10 from Option 1 above.

Nodinite validates version 2 access tokens, which carry the plain client ID as audience (aud) and the claims Nodinite reads.

  1. Left menu: Manifest.
  2. Locate "requestedAccessTokenVersion": 2. If missing or different, set it to 2.
  3. Click Save.

Manifest – requestedAccessTokenVersion 2
You configure the manifest with requestedAccessTokenVersion set to 2.

1.7 MCP Server values used by the installer

Section titled “1.7 MCP Server values used by the installer”

The Portal Step 2: Auth has an MCP Server block, with the Portal defaults api://mcp (MCP Server Audiences) and api://mcp/.default (Web Client MCP Server Scope). With Entra ID, these values come from a separate MCP API app registration with delegated mcp:* scopes; create it as described in MCP Endpoint External Access when you plan to use the MCP Endpoint or the AI Assistant. Then enter:

  • MCP Server Audiences: the MCP API Application (client) ID and api://<mcp-api-app-id>
  • Web Client MCP Server Scope: api://<mcp-api-app-id>/.default

Also grant the webClient admin-consented delegated permissions for the MCP API, or the AI Assistant shows no tools. See MCP Server settings.

2. Create the Interactive Client – webClient

Section titled “2. Create the Interactive Client – webClient”
  1. App registrations > + New registration.
  2. Name: webClient
  3. Supported account types: Single tenant.
  4. Redirect URI (Platform Web): the HTTPS URL of your Nodinite Web Client, followed by /signin-oidc, for example https://nodinite.contoso.com:<port>/signin-oidc. Use the host name and Web Client port set in the Portal Step 4: Servers; OAuth2 requires HTTPS.
  5. Click Register.
  6. Copy the Application (client) ID. You will need this value when configuring Nodinite.

Web Client Overview
The Azure Portal displays the registered webClient application overview.

The Authorization Code + PKCE flow provides superior security compared to legacy implicit grant flows.

  1. Left menu: Authentication.
  2. Confirm the redirect URI is listed.
  3. Leave Implicit grant checkboxes unchecked (modern auth uses Authorization Code + PKCE for enhanced security).
  4. Ensure Allow public client flows is No (unless specifically required for mobile/desktop scenarios).
  5. Click Save if you made any changes.

Web Client Authentication
You configure authentication settings for the webClient application.

  1. Left menu: API permissions > + Add a permission.
  2. Choose My APIs > select webApi.
  3. Choose Delegated permissions and tick nodinite_webapi_all.
  4. Click Add permissions.
  5. Click Grant admin consent for [Your Tenant Name] and confirm. The status should change to Granted. This authorizes the webClient to access the webApi on behalf of your users.

Web Client API Permissions
You configure API permissions for delegated access to webApi.

2.4 Create Client Secret (Confidential Web App)

Section titled “2.4 Create Client Secret (Confidential Web App)”
  1. Left menu: Certificates & secrets > + New client secret.
  2. Add a description and expiry per policy.
  3. Click Add.
  4. Copy the Value immediately (you cannot view it again); store securely.

web Client Client Secret
You create a client secret for the webClient application.

3. Create the Installation / Daemon Client – NodiniteInstallationClient

Section titled “3. Create the Installation / Daemon Client – NodiniteInstallationClient”
  1. App registrations > + New registration.
  2. Name: NodiniteInstallationClient
  3. Supported account types: Single tenant.
  4. Redirect URI: leave blank.
  5. Register.
  6. Copy Application (client) ID.

Installation Client Overview
The Azure Portal displays the registered NodiniteInstallationClient application overview.

Application permissions enable service-to-service authentication without user interaction, for automated deployments and background tasks.

  1. Left menu: API permissions > + Add a permission.
  2. My APIs > select webApi.
  3. Choose Application permissions (not Delegated).
  4. Tick AppRole_WebApi_all.
  5. Click Add permissions.
  6. Click Grant admin consent and confirm. The status should change to Granted. This authorizes the installation client to act independently without requiring a signed-in user.

Installation Client – API Permissions (Application)
You configure API permissions for the NodiniteInstallationClient application.

  1. Left menu: Certificates & secrets > + New client secret.
  2. Add description + expiry.
  3. Click Add and copy the Value immediately; store securely.

Installation Client – Client Secret
You create a client secret for the NodiniteInstallationClient application.

  • ✅ NodiniteInstallationClient configuration is complete. The installer can now run unattended installations, updates, and maintenance tasks, also from CI/CD pipelines.

You have registered the Entra ID applications that form the security foundation of your Nodinite Environment:

  • Centralized identity – users sign in with their Entra ID accounts, including MFA and Conditional Access policies.
  • Granular access control – delegated and application permissions give users and services only what they need.
  • Scalable authorization – App Roles keep tokens small regardless of group membership and need no premium license.
  • Automation – a dedicated installation client for unattended installs and updates.

Use the OpenID Field Mapping Quick Reference to complete each installation field.

...

Version:
Release date: N/A
Loading...

Explore Nodinite for 30 days – completely free

  • Find out why this is the leading O&M software
  • Prove your business case
  • Test the self-service for the business side

Loading...

See how Nodinite resolves your technical issues, in a LIVE Demo!

Once you submit this request:

  • We will give you a short call to understand the issues you want to tackle.
  • Understand solutions you have tried and why were you not happy with them.
  • Book a convenient slot for a LIVE demo!

Loading...