Skip to Content
SSOMicrosoft Entra ID

Microsoft Entra ID

Connect indox to Microsoft Entra ID (formerly Azure AD) with SAML 2.0, then optionally provision people through SCIM. Read Single sign-on first: it covers the indox side and the requirements referred to below.

You need: an Entra role that can manage enterprise applications (for example Cloud Application Administrator), and an indox business admin (the owner, for SCIM). In indox, open Settings → Single sign-on, verify your domain and note the values under Values for your identity provider. The examples use the sign-in name example.

1. Create the enterprise application

  1. In the Microsoft Entra admin center, go to Entra ID → Enterprise apps → New application → Create your own application.
  2. Name it indox, choose Integrate any other application you don’t find in the gallery (Non-gallery) and press Create.
  3. Under Users and groups, assign the people or groups who may use indox.

2. Configure SAML

  1. Open Single sign-on and choose SAML.

  2. Edit Basic SAML Configuration:

    Entra fieldValue
    Identifier (Entity ID)the Entity ID, e.g. https://indox.org/accounts/saml/example/metadata/
    Reply URL (Assertion Consumer Service URL)the ACS URL, e.g. https://indox.org/accounts/saml/example/acs/
    Sign on URLthe Sign-in link for your team’s bookmark, e.g. https://indox.org/en-US/sso/example
    Logout URL (optional)the Single logout URL, e.g. https://indox.org/accounts/saml/example/sls/

    The Sign on URL makes the My Apps tile start sign-in at indox. Without it, the tile signs in at Entra and indox refuses it (sso.idp_initiated_rejected).

  3. Edit Attributes & Claims:

    • Open Unique User Identifier (Name ID), set Name identifier format to Email address and the source attribute to user.mail. Use user.userprincipalname only if your UPNs are the same as people’s email addresses.
    • Keep the default email, given name and surname claims.
    • Optional, for role mapping: Add a group claim, choose Groups assigned to the application and, for cloud-only groups, the source attribute Cloud-only group display names. Otherwise Entra sends group object IDs, which you then enter in indox’s Role mapping. Entra leaves the group claim out when a user is in more than 150 groups, which is why assigned groups are the safer choice.
  4. Under SAML Certificates, edit the signing certificate: set Signing Option to Sign SAML response and assertion and Signing Algorithm to SHA-256. indox refuses a response where either part is unsigned.

  5. Copy the App Federation Metadata Url from SAML Certificates.

3. Connect indox

  1. In indox, under Identity provider, choose SAML 2.0, paste the URL into Metadata URL and press Save settings.
  2. Map groups to roles under Role mapping if you added the group claim (display names or object IDs, whichever Entra sends).
  3. Press Run test sign-in and sign in as an assigned user.

Use indox’s Run test sign-in, not the Test button in Entra: the Entra button signs in at Entra, which indox refuses.

OpenID Connect instead of SAML

  1. Go to Entra ID → App registrations → New registration. Under Redirect URI, choose Web and enter the Redirect URI (OpenID Connect), e.g. https://indox.org/accounts/oidc/example/login/callback/.

  2. Under Certificates & secrets, create a client secret and copy its value.

  3. Under Token configuration, add the optional ID token claim email, and a groups claim if you want role mapping. People without a mailbox address get no email claim and cannot sign in.

  4. In indox choose OpenID Connect and enter:

    indox fieldValue
    Issuer URLhttps://login.microsoftonline.com/<tenant-id>/v2.0, with your tenant ID, not common
    Client IDthe Application (client) ID
    Client secretthe secret value from step 2

To limit who can sign in, open the matching enterprise application, set Assignment required to Yes and assign people.

SCIM provisioning (optional)

  1. In indox, set Provisioning to SCIM (managed by your IdP), save, and have the owner press Issue new token. Copy the token: it is shown once.
  2. In Entra, open the indox enterprise application, go to Provisioning and set Provisioning Mode to Automatic.
  3. Under Admin Credentials, enter Tenant URL https://indox.org/scim/v2/ and the indox token as Secret Token, then press Test Connection and Save.
  4. Under Mappings, check that userName receives an email address on your verified domain. Entra maps userPrincipalName by default; change it to mail if the two differ.
  5. Under Settings, choose Sync only assigned users and groups, then set Provisioning Status to On.

Entra syncs about every 40 minutes after the first cycle. Removing someone’s assignment sets them inactive, which suspends them in your indox business.