Downloads

Set Up Entra ID SSO

This article describes how to integrate Microsoft Entra ID (formerly Azure Active Directory) with Ataccama ONE using SAML 2.0 or OpenID Connect (OIDC).

How sign-in works

When Entra ID SSO is configured, Entra ID acts as the identity provider (IDP) for ONE. On sign-in, you are redirected to Entra ID for authentication (using your corporate credentials), and Entra ID returns your identity to ONE: a signed SAML assertion with SAML, or a signed ID token with OIDC.

On first sign-in, your user account is created automatically from the user attributes Entra ID sends (username, email, first name, last name); on subsequent sign-ins, your profile attributes are refreshed from Entra ID.

Configure a separate identity provider for each Ataccama environment (for example, DEV, TEST, PROD).

Each environment has its own realm and redirect URI, so the configuration cannot be shared across environments.

Choose a protocol

Both protocols are supported and offer the same sign-in experience and group-based role mapping. They differ in what you configure and maintain:

SAML 2.0 OIDC

Registered in Entra ID

Enterprise application with the service provider entity ID and the redirect URI.

App registration with the redirect URI.

Credentials to maintain

None in the Cloud Portal. The Entra ID signing certificate is read from the metadata URL.

A client secret. Client secrets expire, so you must create a new one in Entra ID and update it in the Cloud Portal before it expires.

User attributes

Mapped explicitly in the Cloud Portal.

Read from the ID token. You add the profile claims to the ID token in Entra ID.

If your organization already has a standard for connecting applications to Entra ID, use that protocol.

Prerequisites

Before you start, make sure you have the following:

  • Environment admin access to the Ataccama Cloud Portal.

  • For group-based role mapping in ONE: Entra ID security groups with the appropriate users assigned.

  • For SAML: Access to the Entra admin center with permissions to manage enterprise applications.

  • For OIDC: Access to the Entra admin center with permissions to create app registrations (for example, the Application Developer role).

  • For sending group display names instead of object IDs (see SAML or OIDC): One of the following Entra ID roles: Application Administrator, Cloud Application Administrator, or Global Administrator.

Set up SAML SSO

SAML setup overview

Complete the following steps in order. Some values are generated in one step and reused in another, so keep both the Entra admin center and the Cloud Portal open throughout.

  1. Get the service provider values from Cloud Portal: Copy the values to use as the Entra ID Identifier and Reply URL.

  2. Configure Entra ID: Create the enterprise application, set up SAML SSO, define the attribute and group claims, and assign users.

  3. Complete the SAML configuration in Cloud Portal: Enter the SAML metadata, map user attributes, and, optionally, map groups to roles.

Get the service provider values from Cloud Portal

Entra ID needs two values that identify ONE as the service provider. Both are autogenerated for your environment realm, read-only, and can be copied directly from the Cloud Portal.

The redirect URI ends with the Alias of the identity provider you are creating (by default, saml), and it updates as you edit the Alias field. Settle on the alias before you send the redirect URI to your Entra administrators: if you change it later, sign-in fails until the reply URL in Entra ID is updated.

  1. In the Ataccama Cloud Portal, go to <your environment> > Access.

  2. Under Identity provider (SSO), select Add.

  3. In the Add Identity Provider dialog, set Identity provider type to SAML.

  4. Copy the Service provider entity ID. This is the value ONE sends as the SAML issuer, and it is what you register in Entra ID as the Identifier (Entity ID).

    Example: https://<YOUR_DOMAIN>.ataccama.one/auth/realms/<TENANT_NAME>.

  5. Copy the Redirect URI. This is the endpoint that receives the SAML assertion, and you register it in Entra ID as the Reply URL (ACS URL).

    Example: https://<YOUR_DOMAIN>.ataccama.one/auth/realms/<TENANT_NAME>/broker/saml/endpoint.

    Service provider entity ID and redirect URI in the Add Identity Provider dialog

If your Entra administrators need the values before you have the Entra ID metadata, copy them, close the dialog without saving, and reopen it once you have the metadata. Otherwise, keep the dialog open. You return to it in Complete the SAML configuration in Cloud Portal.

Configure Entra ID

Follow the Microsoft documentation to complete these steps:

  1. Create an enterprise application. When prompted to choose an application, select Create your own application > Integrate any other application you don’t find in the gallery (Non-gallery).

  2. Enable SAML single sign-on on your application. When configuring Basic SAML Configuration, set the following:

    • Identifier (Entity ID): The Service provider entity ID from Cloud Portal.

    • Reply URL (ACS URL): The Redirect URI from Cloud Portal.

    • Sign-on URL: Leave blank.

    • Relay State: Leave blank.

    The Identifier (Entity ID) and the Reply URL (ACS URL) are two different values. If you use the redirect URI for both, the issuer that ONE sends matches no enterprise application in your directory, and every sign-in fails with AADSTS700016.
  3. Configure attribute claims in the SAML token. Make sure the following claims are present, and add any that are missing:

  4. Configure group claims if you want to use group-based role mapping in ONE. Under Select group types to include, select Groups assigned to the application, and leave the default claim name. Entra ID emits the claim as schemas.microsoft.com/ws/2008/06/identity/claims/groups.

    By default, Entra emits each group as its object ID (GUID), which is not human-readable and makes group mapping difficult. To send group display names instead, edit the application registration manifest and add "cloud_displayname" to additionalProperties of the groups claim, under the saml2Token entry of optionalClaims:

    "optionalClaims": {
      "idToken": [],
      "accessToken": [],
      "saml2Token": [
        {
          "name": "groups",
          "source": null,
          "essential": false,
          "additionalProperties": ["cloud_displayname"]
        }
      ]
    }

    The cloud_displayname property applies only to cloud-only Entra groups. Groups synchronized from on-premises Active Directory use a different mechanism (source attributes such as sAMAccountName).

    Note that group display names are not guaranteed to be unique or stable: two groups can share a name, and renaming a group in Entra changes the value sent to ONE. Because group mapping matches on the value in the claim, a renamed group can break existing role mappings until the group name in the Cloud Portal is updated to match.

    The group claim must be set to Groups assigned to the application. If it is configured for Security groups or All groups, the cloud_displayname property is ignored and the assertion continues to contain group object IDs (GUIDs).

  5. Assign users and groups to your enterprise application that should have access to ONE.

    If you configured the group claim as Groups assigned to the application (step 4), only the groups you assign here are sent to ONE. Assigning groups also keeps the claim within size limits: an unassigned broad claim can exceed the limit for users in many groups, in which case Entra omits the groups and sends a Graph link instead.

    If Properties > Assignment required is set to Yes on the enterprise application, only users who are direct or transitive members of an assigned group can sign in to ONE.

After you configure Entra ID, copy the App Federation Metadata URL (recommended for autocompleting SAML settings) and complete the Cloud Portal configuration. Alternatively, you can use the Microsoft Entra Identifier and Login URL values, which have to be entered manually.

Complete the SAML configuration in Cloud Portal

Return to the Add Identity Provider dialog in the Cloud Portal and fill in the following.

General information for SAML

  • Alias: A short unique identifier. Leave the default (saml) or enter your own (for example, entra-saml).

    If you change the alias after registering the reply URL in Entra ID, update the Reply URL (ACS URL) there to match.

  • Display Name: The label shown on the sign-in page (for example, Entra).

  • Display Order: Optional. Sets the order of this provider when multiple identity providers are configured.

SAML settings

  • Use discovery endpoint: Select this and paste the App Federation Metadata URL to automatically fill in the following fields.

  • Identity Provider Entity ID: The Microsoft Entra Identifier (for example, https://sts.windows.net/<TENANT_ID>/). This is Entra’s own identifier, not the Service provider entity ID shown at the top of the dialog.

  • Single Sign-On Service URL: The Login URL from Entra ID.

  • Single Logout Service URL: Optional.

  • Name ID Policy Format: Email.

  • Want Assertions Signed: Enabled (recommended).

  • Validate Signature: Enabled (recommended).

You can leave all other SAML settings as default.

User attribute settings

Select Pre-fill for Microsoft Entra to populate all four attribute fields with the default Entra ID claim URIs (and the Mapping attribute name in Group mapping (optional)). The pre-filled values are:

  • Username Attribute: http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name

  • Email Attribute: http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress

  • First Name Attribute: http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname

  • Last Name Attribute: http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname

These values must exactly match the claim names sent in the SAML assertion. If you changed the claim names in Entra ID, edit the attribute values after pre-filling.

User attribute settings

To map groups to roles, continue with Group mapping (optional). Otherwise, Save and deploy.

Set up OIDC SSO

OIDC setup overview

Complete the following steps in order. Some values are generated in one step and reused in another, so keep both the Entra admin center and the Cloud Portal open throughout.

  1. Get the redirect URI from Cloud Portal: Copy the value to use as the redirect URI of the Entra ID app registration.

  2. Register the application in Entra ID: Create the app registration and a client secret, configure the token claims, and assign users.

  3. Complete the OIDC configuration in Cloud Portal: Enter the discovery endpoint and client credentials, and, optionally, map groups to roles.

Get the redirect URI from Cloud Portal

Entra ID needs the redirect URI to which it sends users back after authentication. The redirect URI is autogenerated for your environment realm, read-only, and can be copied directly from the Cloud Portal.

The redirect URI ends with the Alias of the identity provider you are creating (by default, oidc), and it updates as you edit the Alias field. Settle on the alias before you send the redirect URI to your Entra administrators: if you change it later, sign-in fails until the redirect URI in Entra ID is updated.

  1. In the Ataccama Cloud Portal, go to <your environment> > Access.

  2. Under Identity provider (SSO), select Add.

  3. In the Add Identity Provider dialog, set Identity provider type to OIDC.

  4. Copy the Redirect URI.

    Example: https://<YOUR_DOMAIN>.ataccama.one/auth/realms/<TENANT_NAME>/broker/oidc/endpoint.

If your Entra administrators need the redirect URI before you have the client credentials, copy it and close the dialog without saving. Otherwise, keep the dialog open.

Register the application in Entra ID

Follow the Microsoft documentation to complete these steps:

  1. Register an application. Set the following:

    • Supported account types: Accounts in this organizational directory only (Single tenant).

    • Redirect URI: Platform Web, with the Redirect URI from Cloud Portal as the value.

    On the application Overview page, note the Application (client) ID and the Directory (tenant) ID.

  2. Add a client secret under Certificates & secrets. Copy the secret Value immediately: it is shown only once. Don’t use the Secret ID.

    Note the expiration date of the secret. Before it expires, create a new secret and update it in the Cloud Portal (see Rotate the OIDC client secret).

  3. Configure optional claims so that the ID token contains the user’s profile:

    1. Under Token configuration, select Add optional claim.

    2. Select the ID token type and add the following claims:

      • email

      • given_name

      • family_name

    3. When prompted, select Turn on the Microsoft Graph email, profile permission.

    ONE uses the email address as the username.

  4. If you want to use group-based role mapping in ONE, select Add groups claim under Token configuration. Select Groups assigned to the application, and leave the ID token setting at its default (Group ID). Entra ID emits the claim as groups.

    By default, Entra emits each group as its object ID (GUID). To send group display names instead, edit the application Manifest and add "cloud_displayname" to additionalProperties of the groups claim, under the idToken entry of optionalClaims:

    "optionalClaims": {
      "idToken": [
        {
          "name": "groups",
          "source": null,
          "essential": false,
          "additionalProperties": ["cloud_displayname"]
        }
      ],
      "accessToken": [],
      "saml2Token": []
    }

    The same limitations apply as for SAML: display names are not guaranteed to be unique or stable, cloud_displayname works only for cloud-only groups, and it is ignored unless the claim is set to Groups assigned to the application.

  5. Assign users and groups that should have access to ONE. The app registration automatically creates an enterprise application with the same name; assign users and groups there.

    If you configured the groups claim as Groups assigned to the application (step 4), only the groups you assign here are sent to ONE.

    If Properties > Assignment required is set to Yes on the enterprise application, only users who are direct or transitive members of an assigned group can sign in to ONE.

After you configure Entra ID, complete the Cloud Portal configuration.

Complete the OIDC configuration in Cloud Portal

Return to the Add Identity Provider dialog in the Cloud Portal and fill in the following.

Add Identity Provider dialog with the OIDC settings

Alias and display settings

  • Alias: A short unique identifier, up to 32 characters. Leave the default (oidc) or enter your own (for example, entra-oidc).

    If you change the alias after registering the redirect URI in Entra ID, update the Redirect URI of the app registration to match.

  • Display Name: The label shown on the sign-in page (for example, Entra).

OpenID Connect settings

  • Use discovery endpoint: Selected by default. In Discovery Endpoint, enter https://login.microsoftonline.com/<TENANT_ID>/v2.0/.well-known/openid-configuration, where <TENANT_ID> is the Directory (tenant) ID of the app registration. You can also copy the URL from Overview > Endpoints > OpenID Connect metadata document. The Cloud Portal reads the provider metadata and fills in the Authorization URL, Token URL, Logout URL, User info URL, Issuer, and JWKS URL.

    Expand Show metadata and clear User info URL.

    When User info URL is set, ONE reads the user profile from the Entra ID user info endpoint instead of from the ID token. Because ONE requests only the openid scope, that endpoint returns no email or name, and the optional claims you added in Entra ID are not used.

    If you change the Discovery Endpoint later, User info URL is filled in again, so clear it again before you save.

    If you clear Use discovery endpoint, enter the following manually and leave User info URL empty:

    • Authorization URL and Token URL: Under Overview > Endpoints of the app registration (OAuth 2.0 authorization endpoint (v2) and OAuth 2.0 token endpoint (v2)).

    • JWKS URL: https://login.microsoftonline.com/<TENANT_ID>/discovery/v2.0/keys. ONE validates the signature of every ID token against these keys.

  • Client ID: The Application (client) ID from Entra ID.

  • Client Secret: The client secret Value from Entra ID.

There is no user attribute mapping for OIDC. The email, first name, and last name are read from the email, given_name, and family_name claims in the ID token.

To map groups to roles, continue with Group mapping (optional). Otherwise, Save and deploy.

Group mapping (optional)

To import Entra ID groups for role assignment in ONE, do the following in the Group mapping section of the Add Identity Provider dialog:

  1. Select Enable group mapping.

  2. In Mapping attribute name, enter the name of the claim that carries the groups:

    • SAML: http://schemas.microsoft.com/ws/2008/06/identity/claims/groups (pre-filled if you used Pre-fill for Microsoft Entra).

    • OIDC: groups.

  3. Under Mappings, choose how to enter the groups:

    • One by one: Fill in one or both of the following:

      • Groups imported as roles: Enter one Entra ID group per line. Each group becomes a role in ONE with the same name.

      • Groups mapped to other roles: Select Add mapping, enter the IdP group, and select one or more Ataccama roles.

    • Bulk (CSV): Upload a CSV file or paste the mappings.

      Write one group and one role on each line. To give a group more roles, add a line for each role. Leave the role empty to import the group under its own name.

      group,role
      ONE-Admins,ataccama-admin-idp
      ONE-Admins,antaiagent-user
      ONE-Stewards,

Enter group names exactly as Entra ID sends them in the claim. If groups appear in ONE as GUIDs rather than names, see Groups appear as GUIDs instead of names.

Group mapping is limited to 1,000 group-role pairs. One by one is available only for up to 50 groups mapped to other roles. With more, use Bulk (CSV).

You can also set up or change group mapping later: after the identity provider is saved, select Add user groups or Edit user groups on the identity provider in the Cloud Portal.

Since organizations often follow their own group naming conventions, you can map a group to a different, human-readable role name that is more meaningful within ONE. You can also map a group to reserved ONE roles, such as ataccama-admin-idp (full platform admin) or antaiagent-user (AI Agent access). For the full list of reserved roles, see Reserved identity provider roles.

Mapping Entra ID groups to reserved roles is the recommended way to assign them in production. Assigning them manually in ONE is intended for initial implementation and non-production environments only. See How identity provider roles are assigned.

Group mapping section of the Add Identity Provider dialog with the One by one and Bulk (CSV) options

Save and deploy

In the Add Identity Provider dialog, select Save and deploy to apply the configuration to your environment.

The change can take up to 10 minutes to apply. While it is in progress, the identity provider is shown as Setting up. Once it is applied, the configured identity provider appears on the ONE sign-in page.

Rotate the OIDC client secret

Entra ID client secrets expire. To avoid sign-in failures, rotate the secret before the expiration date:

  1. In Entra ID, add a new client secret to the app registration and copy its Value.

  2. In the Cloud Portal, open the identity provider for editing, enter the new value in Client Secret, and select Save and deploy.

    When you edit an identity provider, you can leave Client Secret empty to keep the stored secret.

  3. After the change is applied, delete the old secret in Entra ID.

Troubleshooting

SAML sign-in fails after configuration

  • If Entra ID reports AADSTS700016 (application not found in the directory), the Identifier (Entity ID) in Entra ID does not match the Service provider entity ID from the Cloud Portal. Verify that it is set to the service provider entity ID (the realm URL) and not to the redirect URI.

  • Verify that the Reply URL (ACS URL) in Entra ID exactly matches the Redirect URI from the Cloud Portal, including the alias at the end.

  • Verify that the Identity Provider Entity ID and Single Sign-On Service URL in the Cloud Portal match the values from Entra ID.

OIDC sign-in fails after configuration

  • If Entra ID reports AADSTS50011 (redirect URI mismatch), verify that the Redirect URI of the app registration exactly matches the Redirect URI from the Cloud Portal, including the alias at the end, and that it is registered under the Web platform.

  • If Entra ID reports AADSTS7000215 (invalid client secret) or AADSTS7000222 (expired client secret), create a new client secret and update it in the Cloud Portal (see Rotate the OIDC client secret). Make sure you copied the secret Value, not the Secret ID.

  • Verify that the Client ID in the Cloud Portal matches the Application (client) ID of the app registration.

  • If the Discovery Endpoint field is marked as invalid, verify that the URL contains the correct Directory (tenant) ID and ends with /v2.0/.well-known/openid-configuration.

A default-roles-<tenant-name> role appears for every user

This is expected. ONE automatically assigns a default-roles-<tenant-name> role to every user account, whether or not the user belongs to any group mapped in Group mapping (optional).

The role carries no permissions and has no effect on access — it doesn’t mean the user has an unintended group mapping. See Default role for details.

If you need to restrict who can sign in to ONE, control this using Properties > Assignment required on the enterprise application (see step 5 of Configure Entra ID or Register the application in Entra ID). Group mapping only affects what a signed-in user can do, not whether they can sign in.

User profile attributes are missing or incorrect

  • SAML: Confirm that all four attribute claims are configured in Entra ID, and inspect the SAML assertion that Entra ID is sending (see Debug the SAML assertion).

  • OIDC: Confirm that User info URL under Show metadata in the Cloud Portal is empty, and that the email, given_name, and family_name optional claims are added to the ID token under Token configuration (see Debug the OIDC ID token). If the username is a random string instead of the email address, the ID token contains no email claim.

Group memberships are not reflected

  • Verify that the group claim is enabled in Entra ID and that the user’s groups are assigned to the enterprise application.

  • Confirm that the group names in the Cloud Portal Group mapping exactly match the group names in your directory.

  • Confirm that the Mapping attribute name matches the claim name for your protocol (see Group mapping (optional)).

  • If a user belongs to a large number of groups, confirm the limit has not been exceeded. Entra caps group claims at 150 groups for SAML assertions and 200 groups for ID tokens; beyond this, the groups claim is omitted and replaced with a link to the Microsoft Graph endpoint.

Groups appear as GUIDs instead of names

By default, Entra ID sends each group as its object ID (GUID). To send display names, edit the application manifest as described in Configure Entra ID (SAML, step 4) or Register the application in Entra ID (OIDC, step 4). If groups still appear as GUIDs, check the following:

  • Confirm the user has signed out and signed in again after the manifest change; existing sessions keep the previous assertion or token.

  • Verify the group claim is set to Groups assigned to the application. With Security groups or All groups, the cloud_displayname property is ignored.

  • Reopen the application manifest and verify that additionalProperties still contains "cloud_displayname" under saml2Token (SAML) or idToken (OIDC). Some operations in the App Registration can reset the manifest.

Debug the SAML assertion

To inspect what Entra ID is actually sending:

  1. Open an incognito browser window and go to Developer Tools > Network tab with Preserve log enabled.

  2. Attempt to sign in using the SSO option.

  3. Find the POST request that contains SAMLResponse.

  4. Copy the value and decode it with a SAML decoder, for example, SAMLTool.

  5. Verify that all expected attributes (name, emailaddress, givenname, surname, groups) are present in <AttributeStatement>.

Debug the OIDC ID token

With OIDC, ONE exchanges the authorization code for the ID token directly with Entra ID, so the token doesn’t pass through your browser. To check what Entra ID issues:

  1. In the Entra admin center, go to Enterprise applications > <your application> > Sign-in logs and open a sign-in attempt to see whether it succeeded and, if not, the error code.

  2. Verify the claims configuration under Token configuration of the app registration: the optional claims and the groups claim must be configured for the ID token type.

Was this page useful?