This guide walks you through setting up OpenID Connect (OIDC) single sign-on between TrueFoundry and Microsoft Entra ID (formerly Azure Active Directory). Once finished, members of your Entra tenant can sign in to TrueFoundry through a Login with Entra ID button. For SAML 2.0 instead of OIDC, see SAML with Microsoft Entra ID.Documentation Index
Fetch the complete documentation index at: https://www.truefoundry.com/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- A TrueFoundry tenant with Admin access to Settings → Security & Access → SSO.
- A Microsoft Entra tenant with permission to create App registrations.
Step 1 — Register an application in Entra
Open App registrations
Sign in to the Microsoft Entra admin center as an administrator.In the left navigation, expand Identity → Applications, select App registrations, then click New registration.

Configure the registration
Fill in:
-
Name — a lowercase alphanumeric label, for example
truefoundry-oidc. - Supported account types — choose Single tenant only.
-
Redirect URI — set the platform to Web and the URL to:

Step 2 — Create a client secret
Open Certificates & secrets
From your app registration, click Certificates & secrets in the left sidebar, then click New client secret under Client secrets.

Generate the secret
Add a description (for example 
TrueFoundry SSO), choose an expiry that matches your security policy, and click Add.
Step 3 — Configure token claims (recommended)
By default, Entra issues an ID token that doesn’t include the user’s email address. Adding theemail claim lets TrueFoundry match the user to a TrueFoundry account.
Open Token configuration
From your app registration, click Token configuration in the left sidebar, then click Add optional claim.

Step 4 — Add the redirect URI again on the Authentication page (if needed)
If you skipped setting Redirect URI during registration:Open Authentication
From the app registration, click Authentication in the left sidebar, then Add a platform → Web.
Step 5 — Configure TrueFoundry
Open SSO settings
Go to Settings → Security & Access → SSO.Click the + icon labeled Add New SSO Config.

Fill in the SSO form
- Enabled: turn this on.
-
Name: a lowercase alphanumeric label — for example,
entraoidc. - SSO Provider: select Azure AD.
- Authentication Configuration: choose OIDC.
- Client ID: the Application (client) ID from Entra.
- Client Secret: the client secret Value from Entra.
- Discover endpoints: leave enabled.
-
Issuer URL:
Replace
<tenant-id>with the Directory (tenant) ID you copied in Step 1. -
Scopes (optional): leave blank to use the default
openid email. Addprofileif you want first and last name in the token.
Step 6 — Assign users in Entra
For single-tenant configurations with Assignment required enabled, Entra only allows assigned users to sign in.Open the enterprise application
Back in the Entra admin center, navigate to Enterprise applications and select the app registration you created.



Step 7 — Test single sign-on
- Open a private/incognito window and visit your TrueFoundry login page.
- Click Login with Entra ID.
- Authenticate with an assigned user.
Optional next steps
- Sync users and groups automatically — see SCIM with Microsoft Entra ID.
- Use SAML instead — see SAML with Microsoft Entra ID.
Troubleshooting
'AADSTS700016: Application with identifier was not found in the directory'
'AADSTS700016: Application with identifier was not found in the directory'
The Issuer URL in TrueFoundry points to the wrong tenant. Double-check the Directory (tenant) ID and re-construct the issuer as
https://login.microsoftonline.com/<tenant-id>/v2.0.'AADSTS7000215: Invalid client secret provided'
'AADSTS7000215: Invalid client secret provided'
Either the secret expired or only the Secret ID was copied. Generate a new client secret in Certificates & secrets, copy the Value field immediately, and update TrueFoundry.
Sign-in works but the user's email is empty
Sign-in works but the user's email is empty
Make sure you added the
email optional claim in Token configuration and enabled the email, profile Microsoft Graph permission when prompted. Then add profile email to Scopes on the TrueFoundry SSO form.'AADSTS50105: The signed in user is not assigned to a role for the application'
'AADSTS50105: The signed in user is not assigned to a role for the application'
Either disable Assignment required on the Enterprise application’s Properties page, or assign the user/group under Users and groups.





