Microsoft Entra ID SSO
Configure Microsoft Entra ID single sign-on in Trust Platform Studio
Microsoft Entra ID is an OpenID Connect (OIDC) identity provider. This page shows how to register a single-tenant Entra application, connect it to your organisation's SSO configuration in Studio, and validate the connection with an invited user. For the general procedure and how domain matching works, see Single sign-on (SSO).
Create the Entra application, enter its settings in Studio, copy the callback URL that Studio provides, register that URL in Entra, then activate SSO and complete an initial sign-in. Registering the callback URL before activation avoids a failed first sign-in attempt.
Before you begin
You need:
- Access to the Microsoft Entra admin center in the correct tenant, with permission to create and configure applications.
- An administrator authorised to grant consent on behalf of the organisation.
- Access to the relevant Studio environment with permission to configure SSO: the Editor or Developer organisation role.
- Permission to invite a team member: the Editor organisation role. If SSO is configured with a Developer account, an Editor or an IDnow platform administrator must send the test invitation.
- The email domain used by your intended users, and a test account in that domain.
- An approved way to store and share the client secret, and an owner responsible for renewing it.
Entra roles and delegated privileges must comply with your tenant's policies. Access to the portal alone does not guarantee permission to grant tenant-wide consent. See Register an application.
Keep an Entra administrator session open, and keep an already signed-in Studio session with an Editor or Developer role in another browser. Either role can disable SSO or correct the credentials if the configuration fails. Password sign-in is blocked for the SSO email domain, so a signed-out Editor from that domain can only sign in through SSO. If no one can sign in, contact IDnow support.
Configuration value mapping
| Value | Where to obtain it | Where to use it |
|---|---|---|
| Email domain | Domain used by the organisation's user accounts | Studio → Email domain |
| Application / client ID | Entra → application → Overview → Application (client) ID | Studio → Client ID |
| Tenant ID | Entra → application → Overview → Directory (tenant) ID | Identify the tenant and verify the Discovery URL |
| OIDC discovery URL | Entra → application → Endpoints → OpenID Connect metadata document | Studio → Discovery URL |
| Client secret value | Entra → Certificates & secrets → Client secrets → Value | Studio → Client secret |
| Callback URL | Studio → SSO setup wizard → Callback URL | Entra → application → Authentication → Web redirect URI |
Prepare the client ID, tenant ID, and secret in Entra, then obtain the callback URL from Studio. The Endpoints navigation path is documented in the Microsoft OIDC documentation.
The Client ID identifies the application, the Tenant ID identifies the directory, and the secret's Value authenticates the application. The application's Object ID and the Secret ID are not substitutes for these values.
Create the app registration
You need permission to manage app registrations in Entra.
- Open the Microsoft Entra admin center, then go to Entra ID → App registrations → New registration.
- Make sure the correct tenant is selected.
- Enter a meaningful name, such as Trust Platform Studio — SSO.
- Select Accounts in this organizational directory only / Single tenant.
- Leave Redirect URI empty: Studio provides the exact URL later.
- Select Register.
The new application's Overview page opens. You can register the application without an initial redirect URI. See Register an application.

Record the Client ID and Tenant ID
In the Entra application, open Overview.
- Copy Application (client) ID. You enter this value in Studio's Client ID field.
- Copy Directory (tenant) ID. You use this value to identify the tenant and verify its OIDC metadata.
- Do not use Object ID instead of the client ID.

Create the client secret
In the Entra application, go to Certificates & secrets → Client secrets.
- Select New client secret.
- Enter a description that identifies its purpose, such as Trust Platform Studio SSO.
- Choose an expiration date that complies with your organisation's rules.
- Select Add.
- Immediately copy the Value and store it using your approved secret-management solution.
- Record the expiration date and arrange renewal before it expires.
The value cannot be retrieved after you leave the page. If it has been lost, create a new secret. Choose a lifetime approved by your organisation rather than reusing a default value. See Add credentials.


Enter the identity provider settings in Studio
- Log in to Trust Platform Studio at Loading....
- Go to Settings > Single sign-on (SSO).
- Select Enable SSO.
- Complete the four fields below, then select Next.
| Studio field | Value to enter | Checks |
|---|---|---|
| Email domain | The email domain used by your users, such as example.com | Enter only the domain, without @, a full email address, or https://. |
| Discovery URL | The complete URL of the tenant's OIDC discovery document | Do not use the Entra portal's home URL or Studio's callback URL. |
| Client ID | The Application (client) ID recorded earlier | Do not use the Tenant ID or Object ID. |
| Client secret | The Value of the secret created earlier | Do not use the Secret ID, and avoid introducing spaces when pasting. |
example.com stands for your own email domain.
Find the Discovery URL
To avoid reconstructing the Discovery URL incorrectly:
- In Entra, open the app registration.
- Select Endpoints.
- Copy the OpenID Connect metadata document URL for the relevant tenant.
- Paste the complete URL into Discovery URL.
For the Microsoft public cloud and v2.0 endpoints, the documented format is:
https://login.microsoftonline.com/{TENANT_ID}/v2.0/.well-known/openid-configuration
Replace {TENANT_ID} with the actual identifier, without braces, and use the metadata appropriate for your environment. See Fetch the OpenID configuration document.

Copy the callback URL from Studio
Studio shows the Callback URL on the second screen of the wizard.
- Locate Callback URL.
- Use the copy icon to copy the complete URL.
- Keep this screen open while you configure Entra.
- Do not select the confirmation checkbox or activate SSO yet.
Copy the URL exactly: do not reuse an example domain, shorten the URL, or replace it with the Microsoft discovery URL.
Complete the next step in Entra before you return to Studio. Activating SSO before the callback URL is registered leads to a failed first sign-in.

Register the callback URL in Entra
You need permission to manage the Entra application.
In the Entra application, go to Authentication, or Authentication (Preview) depending on your Entra version.
- Select Add Redirect URI, or Add a platform, depending on your interface version.
- Select the Web platform.
- In Redirect URI, paste the exact callback URL copied from Studio.
- Select Configure, Add, or Save, depending on the screen displayed.
- Verify that a Web entry contains this URL.
The callback URL for the correct Studio environment now appears in the correct application's Web redirect URIs.
The redirect URI must match the one sent by the application. Preserve the complete protocol, domain, and path, and do not select Single-page application (SPA) when reproducing this configuration. Do not enable additional implicit-grant or hybrid-flow options: they are not required. See Redirect URI matching and restrictions.

Activate SSO in Studio
Return to the Studio SSO wizard you left open.
- After verifying that the URL has been registered in Entra, select I have entered the callback URL in my SSO provider's dashboard.
- Select Activate SSO.
- Check the message confirming that SSO is enabled for the organisation.
View SSO configuration lets you review the settings. The activation message does not yet prove that an end-to-end user sign-in works: continue with the testing steps below.

Invite a test user
Use, as the first test account, a user whose Entra administrator is authorised to grant consent on behalf of the organisation. That account can approve the consent prompt during the initial sign-in instead of leaving the test blocked while an administrator is located.
- In Studio, go to Settings > Team.
- Select Invite.
- In Email addresses, enter the test account's work email address and confirm it in the field, pressing Enter if prompted.
- Select the appropriate Studio role under Role. The example uses Viewer; choose a more privileged role only if required.
- Select Send invitations.
- Verify that the invitation was sent to the intended account.

Once the first sign-in has succeeded, repeat the test with a standard user. An administrator account does not establish that regular users can sign in, and a standard account is the realistic case for your team.
Accept the invitation and sign in
The invited user completes these steps. If the account belongs to an Entra administrator authorised to grant tenant-wide consent, that person can approve the consent prompt themselves. Otherwise, have the authorised administrator available during the initial setup.
- Open the Trust Platform invitation email.
- Verify the organisation and recipient, then select Accept Invitation.
- On the Studio screen, select Sign in with SSO.
- Use the Microsoft Entra account intended for the test.
- Complete any authentication checks required by the tenant, if prompted.
The invitation email may still mention setting up a password. That generic wording does not replace the Sign in with SSO flow.


Grant consent
An Entra administrator authorised to grant consent on behalf of the organisation completes these steps.
- If Microsoft displays Permissions requested, verify that the request is for the application created for Trust Platform and the correct tenant.
- Review the permissions shown. Do not approve an unexpected request without checking it.
- If the requested access has been approved and the administrator is authorised, select Consent on behalf of your organization.
- Select Accept.
- Allow sign-in to continue to Studio.
The consent screen may show View your basic profile and Maintain access to data you've given it access to. Microsoft associates the latter wording with offline_access, and it can appear during delegated-permission consent. That wording alone does not establish that an additional entry must be added manually to the configured permissions. See OIDC scopes and offline_access.

Verify permissions in Entra
In the Entra application, go to API permissions.
Typical delegated permissions
A common configuration uses the following four Delegated permissions, each with a Granted for… status:
| Permission | Purpose | Notes |
|---|---|---|
openid | Authenticate the user with OpenID Connect | Requested by Studio at sign-in |
profile | Access the user's basic profile | Requested by Studio at sign-in |
email | Request the user's email address when available | Requested by Studio at sign-in |
User.Read | Sign in and read the user's profile | Not requested by Studio; commonly present in app registrations |
This table reflects a common configuration; it does not establish the minimum required permissions for every Trust Platform deployment. See OIDC scopes.
If permissions are missing or not granted
- Make sure the correct application is open.
- If needed, select Add a permission → Microsoft Graph → Delegated permissions.
- Add any missing OIDC permissions from
openid,profile, andemail, in line with the approved configuration. KeepUser.Readif your configuration already includes it. - Select Add permissions.
- After the requested access has been approved, select Grant admin consent for… and confirm with an authorised account.
- Refresh the page and verify Granted for… for the expected permissions.
Do not select Application permissions or add broader directory permissions for this setup. For the manual permission-addition path, see Delegated Microsoft Graph permissions and admin consent.
Admin consent required = No does not replace checking whether permission has been granted: the tenant's consent policies can still require administrative approval.

Validate the sign-in end to end
- Verify that Microsoft sign-in returns the user to the intended organisation in Studio.
- Verify that the available screens match the assigned Studio role.
- Test with an invited standard user, not only the administrator who granted consent.
- Repeat sign-in in a separate browser session so that an existing Studio session is not mistaken for a successful new SSO flow.
The validation succeeds when an invited user opens Studio through Sign in with SSO, authenticates with their Entra account, and reaches the correct organisation with the intended role, without redirect or consent errors.

Validation checklist
- Application created in the correct Entra tenant.
- That application's client ID entered in Studio.
- Discovery URL checked for the correct tenant and approved OIDC configuration.
- Secret Value entered in Studio, not its Secret ID.
- Complete callback URL copied from the correct Studio environment.
- Callback URL registered as a Web redirect URI in Entra.
- SSO enabled in Studio.
- Delegated permissions and consent verified.
- Invitation accepted by the intended account.
- A new sign-in completed successfully with a standard user.
- Studio organisation and role checked.
- Secret renewal deadline tracked.
Troubleshooting
These checks are diagnostic suggestions; they do not replace reviewing the actual error message.
| Symptom | Checks | See |
|---|---|---|
| Microsoft rejects the callback URL | Compare the complete Studio callback URL with the URI registered in the correct application; check the Web platform and environment. | Register the callback URL in Entra |
| Studio rejects the configuration | Check all four fields, the client ID / secret pairing, the secret's expiration, and any unwanted spaces. | Enter the identity provider settings in Studio |
| Administrator approval is requested | Involve an authorised administrator; check permissions and consent without asking the user to bypass tenant policies. | Grant consent, Verify permissions in Entra |
| The user authenticates with Microsoft but cannot access the intended organisation | Check the invitation, the account actually used, the configured domain, and the assigned Studio role. | Invite a test user |
| An email address is missing from the returned user details | Check the email permission and the account concerned. Microsoft notes that the email claim is not guaranteed for every account. | Microsoft email scope reference |
| SSO stops working after previously working | First check for secret expiration or revocation, configuration changes, and Entra access policies. Coordinate any secret renewal between Entra and Studio. | Create the client secret |
Sharing precautions and limitations
- Never copy a live secret into this documentation, an unapproved email, or a widely accessible ticket.
- This procedure covers OIDC SSO and the invitation flow. It does not document SAML, SCIM, group synchronisation, automatic role assignment, Conditional Access rules, or certificate-based application authentication.
- This guide does not change your Entra tenant or Studio environment.