Configuring Microsoft Entra ID Example

This topic gives an example of the configuration that is performed on the IdP side, using Microsoft Entra ID (formerly Azure AD) with SAML 2.0. Create a separate enterprise application for each STEP environment, for example development, quality assurance, and production. Change the application name and the group names to match your organization.

Note: The screenshots below may not reflect the latest visuals from Entra ID due to Microsoft updates to the user interface. You must have an Entra ID role that allows you to create and configure enterprise applications.

  1. Create the Enterprise Application:

    • In the Microsoft Entra admin center, go to Entra ID > 'Enterprise applications', and select 'New application'.

    • Select 'Create your own application'.

    • Enter a name that identifies the STEP environment. For example, STEP DEV SSO for development, and select 'Integrate any other application you don't find in the gallery (Non-gallery)'.

    • Click 'Create'.

  2. Enable SAML and share the federation metadata URL:

    • Open the application, select 'Single sign-on' and click SAML.

    • In the SAML Certificates section, copy the 'App Federation Metadata Url' and add it to the Stibo Systems Support Portal ticket. Stibo Systems uses this URL as the IdP metadata.

      Alternatively, use the 'App Federation Metadata Url' option to copy and download the XML file and attach it to the Stibo Systems Support Portal ticket.

  3. When Stibo Systems has supplied the SAML 2.0 service provider metadata:

    • Download the SAML 2.0 service provider metadata from the metadata URL.

    • In 'Set up Single Sign-On with SAML' click 'Upload metadata file'. The Basic SAML Configuration fields are filled in from the file. Refer to the table below for details.

      Field Value

      Identifier (Entity ID)

      Taken from the uploaded service provider metadata. Do not type a URL from this guide.

      Reply URL (Assertion Consumer Service URL)

      Taken from the uploaded service provider metadata (Assertion Consumer Service URL).

      Sign on URL

      Optionally, set 'Sign on URL' to the URL of your STEP system (https://[STEP system URL]). The application then works as a tile in the My Apps portal, and selecting the tile starts a service provider-initiated login on STEP.

      Relay State

      Not used.

      Logout URL

      Required. Set this to the same value as the Reply URL. If the upload leaves this field empty, copy the Reply URL value.

  4. Configure the claims:

    • In 'Attributes & Claims' select Edit.

    • Click 'Add new claim' to add each required claim.

      Refer to the table below for details.

      Note: Leave the namespace blank for all claims, so that the claim names are sent exactly as STEP expects.

      Claim name Source Comment

      Unique User Identifier (Name ID)

      user.onpremisessamaccountname is a typical source when users are synchronized from on-premises Active Directory. Other attributes, for example user.mailnickname, can be used if they are unique and do not exceed 40 characters.

      Set the name identifier format to 'Unspecified' and set Source to 'Attribute'. Although the user principal name is often longer than 40 characters, that length is not allowed. If no suitable attribute exists, configure an alternate authentication in STEP.

      displayname

      user.displayname

      Namespace must be blank.

      email

      user.mail

      Namespace must be blank.

      groups

      Group claim

      Refer to the group claim settings below.

      Logout URL

      Required. Set this to the same value as the Reply URL.

      If the upload leaves this field empty, copy the Reply URL value.

    • Add the email claim as follows:

      • Set Name to email.

      • Leave Namespace blank.

      • Set Source to Attribute.

      • Set Source attribute to user.mail.

      • Click the 'Save' button.

    • Add the displayname claim:

      • Set Name to displayname.

      • Leave Namespace blank.

      • Set Source to Attribute.

      • Set Source attribute to user.displayname.

      • Click the 'Save' button.

    • Edit the required Unique User Identifier (Name ID) claim.

      • Click the ellipsis button on the claim to display the ‘Manage claim’ page.

      • Set Name identifier format to Unspecified.

      • Set Source to Attribute.

      • Set Source attribute to a unique identifier of no more than 40 characters. The following example uses user.onpremisessamaccountname.

      • Click the 'Save' button.

  5. Configure the group claim:

    • Select 'Add a group claim'.

    • Set Which groups associated with the user should be returned in the claim? to 'Groups assigned to the application'.

      Only the groups that are assigned to the STEP application are sent, which keeps the response small and avoids sending groups that are irrelevant in STEP.

    • For Source attribute:

      • For groups synchronized from on-premises Active Directory, select sAMAccountName.

      • For groups created in Entra ID, select Cloud-only group display names. The value that is sent must match the STEP group ID.

    • For Customize the name of the group claim:

      • Enable this option.

      • Set the Name field to 'groups'.

      • Leave the Namespace field blank.

      • Click the 'Save' button.

        Note: By default, Entra ID sends the object ID of a group, which is a GUID. STEP matches the values against the group IDs in STEP, so the group claim must be configured to send group names, and those names must be identical to the STEP group IDs. STEP does not map a different IdP group identifier onto a STEP group ID.

      When all attributes and claims are defined, item 2 in the 'Set up Single Sign-On with SAML' displays as follows:

  6. Create STEP-specific groups and assign them to the application:

    • Create application-specific security groups in Entra ID (or in Active Directory, if groups are synchronized).

    • Create the same groups in STEP, with the same IDs.

    • Assign users to the groups according to the privileges they should have in STEP.

      The following names are examples for a development environment. Use names that match your organization and environment:

      • grp_step_dev_superuser

      • grp_step_dev_readonly

      • grp_step_dev_datasteward

    • In the application, select Properties and set 'Assignment required?' to Yes.

      This means that only users and groups that are assigned to the application can authenticate.

    • From the navigation panel, select 'Users and groups'.

    • Select 'Add user/group'.

    • Assign the STEP-specific groups.

  7. Test:

    When Stibo Systems confirms that the IdP metadata has been imported and that the service provider metadata has been applied:

    • Open the STEP URL

    • Select the IdP link on the login page

    • Sign in with a user that is a member of one of the assigned groups.

    • In the workbench, verify that the user is created in STEP and is a member of the expected groups. When that test is successful, submit a request to Stibo Systems Support Portal to enable automatic redirection and, if required, group revocation.

    Note: Multi-factor authentication and conditional access policies are configured in Entra ID and apply to STEP as soon as the users sign in through the IdP. No configuration is required in STEP.