Skip to main content

Set Up Directory Integration

Learn how to synchronize and manage users by integrating Microsoft Entra ID (hereafter Entra ID) or Active Directory with BioStar X.

Integrating with Entra ID or Active Directory provides the following convenient features. This improves security and convenience.

  • You can log in to BioStar X using your Entra ID account through the Single Sign-On (SSO) feature provided by Entra ID.

  • You can log in to BioStar X using Lightweight Directory Access Protocol (LDAP) authentication provided by Active Directory.

  • You can synchronize users and groups configured in Entra ID or Active Directory with BioStar X.

  • You can map user information such as job title, department, and group used in Entra ID or Active Directory to the custom fields of BioStar X.

Info

The Entra ID or Active Directory settings feature is available as an add-on option with an Essential license or higher. For more information about licensing policies, see License Policy.

Set up directory integration​

Entra ID

  1. Log in to BioStar X with an administrator account.

  2. On the Launcher page, click Settings.

  3. Click System → Directory Integration in the left sidebar.

  4. In Directory Service, select Microsoft Entra ID.

  5. Set each field as instructed below.

Info

To integrate with Entra ID, go to System → Server and set User ID Type to Alphanumeric.

Directory Server​

In the Directory Server section, enter the server information for Entra ID and click Connect.

  • Client ID: Enter the Client ID of the application registered in Entra ID.

  • Client Secret: Enter the client secret added under Client secrets in Certificates & secrets for the application registered in Entra ID.

  • Primary Domain: Enter the primary domain name that you entered when you created your organization in Entra ID.

Info
  • For more information about registering an application in Entra ID, see the following link.

  • For more information about configuring Certificates & secrets in Entra ID, see the following link.

  • Find the Tenant ID in Overview for the application registered in Entra ID.

  • Find the Primary Domain information in Overview in Entra ID.

User Group Filter​

After completing the settings in Directory Server and clicking Connect, user group information from Entra ID will be retrieved in User Group Filter. Deselect the user groups that will not sync with BioStar X.

  • Update: Click to refresh the user group information.

  • Click the icon to search for the desired user group.

User Field Configuration​

You can set the field for Entra ID to map to the user fields of BioStar X. Select the field for Entra ID to use as the user field for BioStar X in the User Field Configuration section.

Info

By default, each user field in BioStar X maps to a matching user information field in Entra ID. To select a field value other than the default, click an entry in the Entra ID Field column and select a different field value.

Caution

The User ID field cannot be mapped when integrating with Entra ID. BioStar X automatically generates and applies User ID.

BioStar X Login with Entra ID​

To enable login to BioStar X using Entra ID SSO, set BioStar X Login with Entra ID to Enabled.

Copy the redirection URI in Redirection URI (), and paste it into the SSO redirection settings in the Entra ID portal. When a user successfully logs in with Entra ID, they are redirected to this address.

Info

Synchronization​

This feature allows you to synchronize user information changed in Entra ID.

  • Sync Mode: Select the desired synchronization mode.

    • Add/Update Only: When synchronizing users from the integrated directory service, add users who are not in BioStar X and update users whose information has changed. However, the following users will not be deleted.

      • Users registered only in BioStar X

      • Users deleted from Entra ID

    • Add/Update/Delete: Synchronize BioStar X user information to match the integrated directory service exactly. Synchronizes users, including those registered only in BioStar X and those deleted from Entra ID, to keep the data identical on both sides.

  • Auto Sync: Set the automatic synchronization interval. Synchronization runs automatically at the interval set in Sync Interval. Enter the interval in minutes. The minimum value is 30 minutes, and the maximum value is 10,080 minutes (7 days).

  • Last Sync: You can check the date and time of the most recent synchronization.

Caution
  • When using Add/Update Only mode, if a group with the same name exists, it is retained rather than deleted.
  • Add/Update/Delete mode:

    • If a group with the same name already exists: the group is not created, and the existing group's information is retained. However, all users in that group are removed and then re-added to reflect the directory service's latest information. However, users in that group who share the same name are retained.

    • Users created in BioStar X: Users created directly in BioStar X are not linked to the directory service. When synchronizing, update these users so their information is linked to the directory service.

    • Limitations: After synchronization, if a group with the same name already exists, that group's information and members may not synchronize properly.

  • If you upgrade to BioStar X v1.0.2 with directory integration enabled, the synchronization mode defaults to Add/Update/Delete.

Info
  • Each time you click Sync Now, user information is synchronized with the directory service using the selected synchronization mode.

  • When you select Add/Update/Delete mode, a warning message will appear. To continue, click Continue. To cancel, click Cancel.

  • To exclude specific users from synchronization when integrating, see #excludeintegration.

  • If a synchronized user identifier or user name contains characters that BioStar X does not allow, register it with only those characters removed. However, a period (.) in a user ID and a period (.) or apostrophe (') in a username remain unchanged. For more information about disallowed characters, see User ID and name entry rules.

Save settings​

After completing all settings for Directory Integration, click Apply at the bottom of the screen to save. To check the settings results, see #checksettings.

Check settings results​

After you complete the integration settings for Entra ID or Active Directory, click Apply at the bottom of the screen. Check the synchronized settings as follows.

  • In the User menu, check the synchronized user list.

  • After you complete the login settings with Entra ID or Active Directory, Login with Microsoft Entra ID appears when you log in to BioStar X.

Handle unsupported characters​

If a user ID or user name in Entra ID or Active Directory includes unsupported characters, the system synchronizes the user after removing only the unsupported characters.

For example, if a directory service user ID is john/doe and the user name is John<Doe>, BioStar X registers them as johndoe and JohnDoe.

Info
  • Periods (.) and apostrophes (') in user names are not treated as unsupported characters, so the system registers the directory service values as is.

    Example: O'Brien, John.Doe → registered with the directory service values as is

  • Periods (.) in user IDs are excluded from unsupported characters and are registered as is, but apostrophes (') are removed because user IDs cannot include them.

    Directory service user ID examples:

    • O'Brien → registered as OBrien
    • john.doe → registered as john.doe
  • For more information about user ID and name input rules, see Enter Basic User Information.

Exclude from directory integration​

When integrating with Entra ID or Active Directory via the Directory Integration feature, users who do not exist in the directory service may be deleted from BioStar X. If any users should not be deleted, exclude them from the integration using the following method.

  1. Log in to BioStar X with an administrator account.

  2. Go to the User menu.

  3. In the All Users list, click the user to exclude from integration.

  4. When the selected user's details screen appears, turn on the Exclude from Directory Integration option in the Advanced section.

  5. Click Apply.

The selected users will be excluded from integration when using the Directory Integration feature.

Info

The system automatically excludes these users from directory integration.

  • When a user name starts with &@~

  • When the user ID or user name is blank

  • When the user ID (up to 32 characters) or user name (up to 48 characters) exceeds the length limit

  • When the user ID matches a system-reserved value, such as admin

  • When the user ID is a single period (.) or two periods (..)

Disable directory integration​

To disable the Directory Service feature, follow these steps.

  1. Log in to BioStar X with an administrator account.

  2. Click System → Directory Integration.

  3. In Directory Service, select Not Use.

  4. When the Warning message appears, click Continue.

  5. Click Apply at the bottom of the screen.

Caution

When Directory Service is set to Not Use, all settings for integration with Entra ID or Active Directory in BioStar X are disabled. Integrated user and group information is not deleted, but it is no longer synchronized. Make sure you check before disabling integration.

Was this page helpful?