Azure AD (Entra ID) Setup
Complete walkthrough for connecting NeMo Helix to Azure AD (Entra ID), from app registration to first successful login.
Prerequisites: Access to Azure Portal with permission to create app registrations. Familiarity with OIDC Setup.
App Registration
- In Azure Portal, go to Azure Active Directory > App registrations > New registration.
- Name the application, for example “NeMo Helix”.
- Set Supported account types to your tenant configuration.
- No redirect URI is needed for device flow, but setting one is good practice if Studio or another browser client uses the same app.
- Note the Application (client) ID and Directory (tenant) ID.
Enable Device Flow
- Go to Authentication in the app registration.
- Under Advanced settings, set Allow public client flows to Yes.
- Save.
Expose API Scopes
This section is needed when OIDC login tokens should carry NeMo Helix API scopes. If you skip API scopes, NeMo Helix still enforces role bindings.
- Go to Expose an API.
- Set the Application ID URI, usually
api://<client-id>. - Add scopes:
platform:read- read access to NeMo Helix platform resourcesplatform:write- write access to NeMo Helix platform resources
- Go to API permissions > Add a permission > My APIs > select your app > add the scopes.
- Click Grant admin consent for the scopes, if your tenant requires it.
Use short scope names in NeMo Helix configuration. Azure may require the fully qualified request form, such as api://<client-id>/platform:read; set scope_prefix so the CLI can send that form while users and docs keep referring to platform:read.
Configure Group Claims
This section is needed when Azure group or entitlement values should match NeMo Helix workspace members or role bindings.
- Go to Token configuration > Add groups claim.
- Select Security groups or the group types your organization uses.
- For the bearer token NeMo Helix validates, select the group value format you plan to bind in NeMo Helix.
Azure OAuth scopes in scope or scp are not group principals and they do not grant workspace access. Use NeMo Helix role bindings for workspace authorization. If Azure returns NeMo Helix API scopes such as platform:read in scp, NeMo Helix uses those scopes to narrow API access for that token.
Configuration Notes
NeMo Helix uses Azure AD as an OIDC identity provider. The Azure token must be a signed JWT that NeMo Helix can validate, and its claims must contain the identity values you want to authorize:
issuer: the tenant issuer for the token version your application uses.client_id: the Azure application client ID used by CLI and Studio login.audience: the expected tokenaudclaim, if you want audience validation. For Azure AD v2.0 access tokens, this is often the application client ID GUID; verify the token’s actualaudclaim.email_claim: oftenupnfor Azure AD access tokens.subject_claim: oftenoidfor Azure AD access tokens.groups_claim:groupswhen Azure emits group IDs in the token.
NeMo Helix Configuration
Verification
Common Errors
Related
- OIDC Setup — Generic OIDC configuration.
- OIDC Setup — Claim mapping — JWT claims vs config defaults.
- Auth Configuration — Full config reference.