
__ms_entra__ (formerly Azure Active Directory)
can integrate __ms_entra__ (formerly known as Azure Active Directory or Azure AD) for identity and access management. Find detailed steps for creating an __ms_entra__ application, configuring SAML-based single sign-on, and setting up group synchronization between the two platforms. For cloud customers, the integration process requires working with Support to complete the configuration while following specific requirements for security controls and permissions.
__ms_entra__ is Microsoft's enterprise cloud-based identity and access management (IAM) solution. It can be used to access your repositories. Microsoft365 also uses this interface, for more information see Tag Fields Created by Parser microsoft365.
Prerequisites to configure __ms_entra__
Prior to configuring __ms_entra__ for authentication with make sure to have the following:
Integrate __ms_entra__ with
To integrate __ms_entra__ with , three main operations are required:
Create __ms_entra__ application
Set up IDP configuration
Set up group mapping (optional).
Step 1 — Create an application
Sign in to the Azure portal and choose the __ms_entra__ ID card:

Figure 40. Azure Active Directory
Open Groups and click : here you create the groups that will be added later in for synchronization. For example, you can create a logscale_admin group.

Figure 41. Groups in Azure AD
Open Enterprise Applications and click :

Figure 42. Enterprise Applications in Azure AD
From the Browse __ms_entra__ App Gallery page:
Click
Enter a name for the app, e.g., logscale_idp
Choose Integrate any other application you don't find in the gallery option

Figure 43. Create your application in Azure
Click : your application is now added successfully.
Step 2 — Set up IDP configuration
In the new application page, click Single sign on and then choose SAML as your single sign-on method:

Figure 44. Select SAML single sign-on
In the Basic SAML Configuration window:
Click . Set Identifier (Entity ID) to
$YOUR_LOGSCALE_URL/api/v1/saml/metadataClick . Set Reply URL to
$YOUR_LOGSCALE_URL/api/v1/saml/acsIf needed, set Sign on URL if you want to perform identity provider-initiated single sign-on. Contact Support to get the Sign on URL.
If needed, populateRelay State with an integration URL to instruct the application where to redirect users after authentication, for example, the URL to a specific location within the application.

Figure 45. Basic SAML Configuration settings
In the SAML-based Sign-on page of your newly created application, copy the Login URL, Azure ID Identifier, and the text of the Certificate (Base 64) as you will need them later for .

Figure 46. SAML-based Sign-on information
Step 3 — Set up group mapping (optional)
Go to
Attributes and Claims. Click and select which groups you want to be associated with the users (except None) and the source attribute. Click .
Figure 47. Add a group claim
Still in the
Attributes and Claimspage, click the first claim Unique User Identifier to assign users to on the IDP side.
Figure 48. Edit the Unique User Identifier claim
In the
Manage claimwindow, ensure that Name identifier format and Source are set as in figure below:
Figure 49. Manage claim
Still in the
Manage claimwindow, expand Claim conditions and click Scoped Groups to select the new group and assign user type (e.g. Members, Admin) and as the value:
Figure 50. Add user types to group
Configure to use __ms_entra__
When __ms_entra__ is configured to work with , you must configure to work with __ms_entra__.
To configure __ms_entra__ to work with , navigate to the configuration files and add the environment variables shown below and configure the configuration variables as described in Configure SAML for Self-Hosted.
AUTHENTICATION_METHOD=saml
PUBLIC_URL=http://localhost:8080
SAML_IDP_SIGN_ON_URL=
SAML_IDP_ENTITY_ID=
SAML_IDP_CERTIFICATE=
AUTO_CREATE_USER_ON_SUCCESSFUL_LOGIN=true
PERMISSION_MODEL_MODE=advanced
EMERGENCY_USERS=trueGroup synchronization
After has been configured to use __ms_entra__, you need to align the __ms_entra__ groups' Object ID in .
Go back to Azure AD and from your group's page, copy the Object ID:

Figure 51. Copy Object ID from Azure AD
In , first create the group manually (provide a name that is similar to the group name set in Azure AD) and then paste the Object ID into the Mapping Name field, under the External provider tab:

Figure 52. Mapping Name
Test the __ms_entra__ integration setup
Once all of the necessary steps to set up the __ms_entra__ authentication for are completed, you need to test the setup.
Go to a Terminal and start with the following command:
shell./run.shAllow two to three minutes for to start.
Connect to localhost in a browser. It should redirect you to a Microsoft login.
Sign into your __ms_entra__. You should be taken to .
Other references for __ms_entra__ configuration
Other documentation about __ms_entra__ configuration that may be helpful includes:
__ms_entra__ ID for more information on SAML 2.0 integration
Microsoft Entra ID documentation for more information on __ms_entra__ ID.