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.
Understanding the App Registrations
Section titled “ Understanding the App Registrations”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.
What You Will Create
Section titled “ What You Will Create”| 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.
Prerequisites
Section titled “Prerequisites”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. Create the API Application – webApi
Section titled “1. Create the API Application – webApi”1.1 Register the Application
Section titled “1.1 Register the Application”- Azure Portal: Microsoft Entra ID > App registrations > + New registration.
- Name:
webApi - Supported account types: Accounts in this organizational directory only (Single tenant).
- Redirect URI: (leave blank)
- Click Register.
- In Overview, copy Application (client) ID and Directory (tenant) ID.

The Azure Portal displays the registered webApi application overview.
1.2 Set Application ID URI & Add Scope
Section titled “1.2 Set Application ID URI & Add Scope”The Application ID URI uniquely identifies your API in your organization. Client applications use this URI to request tokens for your API.
- Left menu: Expose an API.
- If prompted, click Set for Application ID URI (accept the default
api://<webApi-client-id>). Copy this value—you'll need it later. - 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.
- Scope name:

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)”- 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
- Display name:
- Click Apply / Create.

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.
- 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
- Display name:
- Click Apply / Create.
- Repeat to create additional user roles:
- Nodinite.User: Display name and Value
Nodinite.User, Allowed member types Users/Groups, DescriptionStandard user access to Nodinite monitoring and logging features, State Enabled. - Nodinite.ReadOnly (optional): Display name and Value
Nodinite.ReadOnly, Allowed member types Users/Groups, DescriptionRead-only access to Nodinite dashboards and reports, State Enabled.
- Nodinite.User: Display name and Value

You create app roles for user authorization with different permission levels.
1.5 Assign Users and Groups to App Roles
Section titled “1.5 Assign Users and Groups to App Roles”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.
Option 1: Assign via Enterprise Applications (Recommended)
Section titled “Option 1: Assign via Enterprise Applications (Recommended)”-
In Azure Portal, navigate to Microsoft Entra ID > Enterprise applications.
-
Search for and select webApi (you may need to change the filter to "All applications").
-
Left menu: Users and groups > + Add user/group.

You initiate the process to add user/group assignments to app roles. -
Click None Selected under Users and groups.
-
Select an Entra ID group (e.g., "Nodinite Admins") that contains your own account, or select your own user account directly.

You search for and select users or groups to assign to the application. -
Click Select.
-
Click None Selected under Select a role.
-
Select the
Nodinite.Adminapp role.
You select the specific app role to assign to the selected users or groups. -
Click Select > Assign.
-
Repeat for additional groups/users with different roles (e.g., assign "Nodinite Users" group to
Nodinite.Userrole).

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)”- Navigate to Microsoft Entra ID > App registrations > select webApi.
- Go to Overview and click the link under Managed application in local directory (this opens the Enterprise Application).
- Follow steps 3-10 from Option 1 above.
1.6 Set Access Token Version to 2
Section titled “1.6 Set Access Token Version to 2”Nodinite validates version 2 access tokens, which carry the plain client ID as audience (aud) and the claims Nodinite reads.
- Left menu: Manifest.
- Locate
"requestedAccessTokenVersion": 2. If missing or different, set it to2. - Click Save.

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

The Azure Portal displays the registered webClient application overview.
2.2 Configure Authentication
Section titled “2.2 Configure Authentication”The Authorization Code + PKCE flow provides superior security compared to legacy implicit grant flows.
- Left menu: Authentication.
- Confirm the redirect URI is listed.
- Leave Implicit grant checkboxes unchecked (modern auth uses Authorization Code + PKCE for enhanced security).
- Ensure Allow public client flows is No (unless specifically required for mobile/desktop scenarios).
- Click Save if you made any changes.

You configure authentication settings for the webClient application.
2.3 Add API Permissions (Delegated)
Section titled “2.3 Add API Permissions (Delegated)”- Left menu: API permissions > + Add a permission.
- Choose My APIs > select webApi.
- Choose Delegated permissions and tick
nodinite_webapi_all. - Click Add permissions.
- 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.

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)”- Left menu: Certificates & secrets > + New client secret.
- Add a description and expiry per policy.
- Click Add.
- Copy the Value immediately (you cannot view it again); store securely.

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”3.1 Register
Section titled “3.1 Register”- App registrations > + New registration.
- Name:
NodiniteInstallationClient - Supported account types: Single tenant.
- Redirect URI: leave blank.
- Register.
- Copy Application (client) ID.

The Azure Portal displays the registered NodiniteInstallationClient application overview.
3.2 Add Application Permission
Section titled “3.2 Add Application Permission”Application permissions enable service-to-service authentication without user interaction, for automated deployments and background tasks.
- Left menu: API permissions > + Add a permission.
- My APIs > select webApi.
- Choose Application permissions (not Delegated).
- Tick
AppRole_WebApi_all. - Click Add permissions.
- 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.

You configure API permissions for the NodiniteInstallationClient application.
3.3 Create Client Secret
Section titled “3.3 Create Client Secret”- Left menu: Certificates & secrets > + New client secret.
- Add description + expiry.
- Click Add and copy the Value immediately; store securely.

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.
What You've Accomplished
Section titled “ What You've Accomplished”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.
Quick Reference: What Goes Where
Section titled “ Quick Reference: What Goes Where”Use the OpenID Field Mapping Quick Reference to complete each installation field.
Next Steps
Section titled “ Next Steps”- Install Nodinite v7 – OpenID Connect and OAuth 2.0 – enter the captured values in the Portal
- OpenID Field Mapping Quick Reference
- Step 2: Auth
- Protect the Log API with OAuth 2.0 and Entra ID (optional)
- MCP Endpoint External Access (optional)
Related Topics
Section titled “ Related Topics”- Install Nodinite v7
- Updating Nodinite v7
- Migrate Authentication Method
- OAuth Security and Compliance Reference
- Call the Web API with OAuth 2.0 Client Credentials
- What is a Claim?
- What is a Policy?
- Troubleshooting OAuth 2.0 Validation Failures
- Fix: Token Claims Validation Failed for InstallationClient (Error 10.4)