Skip to main content

Configuring Single Sign-On with Microsoft Entra ID (SAML2)

To configure single sign-on with Microsoft Entra ID (SAML2), you need to complete steps in both Azure and in the JAMS Web Client.

Complete the steps in all sections below to complete the setup.

1. Azure Configuration

1.1 Registering the Application in the Azure Portal

  1. Go to the Azure Portal.

  2. From the menu in the upper left corner, select Microsoft Entra ID.

  3. Expand the Manage menu.

  4. Click Enterprise applications.

  5. Click New application.

  6. Click Create your own application.

  7. Configure the following items:

    • In the Name field, enter JAMS Web Identity SAML (or your preferred name).
    • Select Integrate any other application you don't find in the gallery (Non gallery).
  8. Click Create.

1.2 Configuring SAML2

  1. Go to your enterprise application.
  2. Expand the Manage menu.
  3. Select Single sign-on.
  4. Select SAML. The Set up Single Sign-On with SAML screen is displayed with 5 sections.
  5. Go to the Basic SAML Configuration section and click Edit.
  6. In the Identifier (Entity ID) area, click Add identifier and enter your Entity ID address for the JAMS Web Client.
    Example: https://public-IPAddress:443/.
  7. In the Reply URL (Assertion Consumer URL) area, click Add reply URL and enter the Assertion Consumer Service URL. You can set the scheme for this URL. The scheme must only contain letters, numbers, an underscore, or a hyphen. Also, it must always start with a letter. In the example below, AzureSAML is used. You will need this scheme value when you configure the Identity Provider in the JAMS Web Client.
    Example: https://public-IPAddress:443/Saml2/AzureSAML/Acs.
  8. Click Save.

1.3 Configuring Attributes and Claims

  1. On the same screen, go to the Attributes & Claims section and click Edit.
  2. Click Add new claim.
  3. Enter onprem_sid as the name.
  4. Select attribute for the Source.
  5. Select user.onpremisesecurityidentifier for the Source Attribute.
  6. Click Save.
  7. Click Add new claim.
  8. Enter oid as the name.
  9. Enter http://schemas.xmlsoap.org/ws/2005/05/identity for the Namespace.
  10. Select user.objectid for the Source Attribute.
  11. Click Save.
  12. Click Add a group claim.
  13. Select Security groups.
  14. Select On Premises Group Security Identifier for the Source Attribute.
  15. Click Save.
  16. Configure the following claims:

1.4 Note the Federation Metadata

You will need to copy and save some information from Azure because it is needed for the configuration in the JAMS Web Client.

  1. Go to the SAML Certificates section.
  2. Copy the App Federation Metadata Url.
    Example: https://login.microsoftonline.com/12341234-5678-9012-3456-7890ab123456/federationmetadata/2007-06/federationmetadata.xml?appid=12341234-a567-b890-c1234-d4567890c421
  3. On same screen, go to the Set up <App Name> section.
  4. Copy the Microsoft Entra Identifier value.
    Example: https://sts.windows.net/12341234-1234-1234-5678-90123456789a/

1.5 Assigning Users and Groups

  1. Click Users and groups from the menu.
  2. Click Add user/group.
  3. (Recommended) Search for and select a group that contains the users.
  4. Click Select.
  5. Click Assign.
note

Group claim limits with large Microsoft Entra group memberships

If a user belongs to more than 150 groups (SAML2) or 200 groups (OIDC), Microsoft Entra omits the groups claim from the token entirely. JAMS then treats that user as having no group memberships, and they will lose all group-based ACL access. To avoid this, configure the Entra app registration to emit only Groups assigned to the application rather than all of the user's groups. This keeps the emitted group count under Entra's limit.

2. JAMS Web Client Configuration

2.1 Adding the Microsoft Entra ID Identity Provider in the JAMS Web Client

After you have configured Azure, you can add the Identity Provider in JAMS.

  1. Click Access from the main menu.
  2. Click Identity Providers.
  3. Click Add.
  4. In the Provider field, select Microsoft Entra ID via SAML 2.0.
  5. In the Scheme field, enter the unique name for this Identity Provider that you set for the Reply URL (Assertion Consumer URL), such as AzureSAML.
  6. In the Display Name field, enter the text that you want displayed as the button text on the JAMS Web Client Log in screen. For example, you can enter Sign in with SAML2.
  7. Click Save and Continue to Edit.
  8. In the Idp Entity Id field, enter the Microsoft Entra Identifier value you copied in the previous section.
    Example: https://sts.windows.net/12341234-1234-1234-5678-90123456789a/
  9. In the Metadata URL field, enter App Federation Metadata Url you copied in the previous section.
    Example: https://login.microsoftonline.com/12341234-5678-9012-3456-7890ab123456/federationmetadata/2007-06/federationmetadata.xml?appid=12341234-a567-b890-c1234-d4567890c421
  10. Click Save.
  11. To use this new Identity Provider, click ENABLE in the top right corner of the Summary table.
    A message is displayed prompting you to restart the Identity Service for this change to take effect. Complete the remaining steps to restart this service. When an Identity Provider is enabled, the JAMS Web Client makes the input fields read-only and activates the Identity Provider. To edit it again, the Identity Provider must be disabled.
  12. Log out of the JAMS Web Client.
  13. Open the Windows Services manager.
  14. Right-click the JAMS Identity service and select Restart.
  15. Go to the JAMS Web Client Log in screen. A button for this Identity Provider is now displayed under the or continue with label.