Skip to main content

Directory Integration Settings

This document provides guidance on 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, enhancing both security and usability. This enhances both security and convenience.

  • You can log in to BioStar 2 using your Entra ID account via Single Sign-On (SSO) provided by Entra ID.

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

  • Users and groups configured in Entra ID or Active Directory can be synchronized 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 through additional options on the Advance license and above. For more information on licensing policies, see License Policy.

Directory Integration Settings

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

  2. Click Settings on the Launcher page.

  3. Click Directory Integration in the left sidebar of the screen.

  4. Select Microsoft Entra ID in Directory Service.

  5. Set each item as instructed below.

Directory Server

Enter the server information for Entra ID and click Connect in Directory Server.

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

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

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

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

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

  • Tenant ID can be found in the Overview of the registered application in Entra ID.

  • You can check the information for Primary Domain in the Overview of 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

Each user field of BioStar X is set by default to map to items that match the user information of Entra ID. To select a field value other than the default, click the field in Entra ID Field and select the desired field value.

Caution

The User ID field cannot be mapped when integrating with Entra ID. User ID is automatically generated and applied by BioStar X.

BioStar X Login with Entra ID

Change the BioStar X Login with Entra ID to Enabled to enable login to BioStar X using Entra ID SSO.

Copy the redirection URI from the Redirection URI field() and paste it into the SSO redirection settings in the Entra ID portal. When a user successfully logs in with Entra ID, they will be 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 linked directory service, add users who don't exist in BioStar X and update users whose information has changed, without deleting any.

    • Add/Update/Delete: Synchronize BioStar X user information to match the linked directory service. Unlike Add/Update Only mode, users deleted in the directory service are also removed.

  • 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.

  • When using 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.

Save Settings

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

View settings results

After completing the integration settings with Entra ID or Active Directory, click Apply at the bottom of the screen. Refer to the following to check the synchronized settings.

  • You can check the synchronized user list in the User menu.

  • After completing the login settings with Entra ID or Active Directory, you can see Login with Microsoft Entra ID when logging in to BioStar X.

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 there are users that you do not want to be deleted, you can 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. Click on the user you want to exclude from the integration in the All Users list.

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

  5. Click the Apply button.

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

Disable Directory Integration

To disable the Directory Service feature, follow the steps:

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

  2. Click SettingsDirectory Integration.

  3. Select Not Use in Directory Service.

  4. When the Warning message appears, click Continue.

  5. Click Apply at the bottom of the screen.

Caution

When the Directory Service is set to Not Use, all integration settings with Entra ID or Active Directory in BioStar X will be removed. The integrated user and group information will not be deleted, but will no longer be synchronized. Please make sure to check before disabling the integration.

Was this page helpful?