> For the complete documentation index, see [llms.txt](https://docs.trustlogix.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.trustlogix.io/integrations/single-sign-on/azure-active-directory-ms-entra.md).

# Azure Active Directory (MS Entra)

## Integration of SSO with Azure AD and TrustLogix

### Create Azure AD SSO Application

Follow these steps to create an Azure AD SSO application for TrustLogix:

#### Step 1: Create an Enterprise Application

1. Navigate to **Microsoft Entra ID** → **Enterprise Applications**.
2. Click on **New Application**.
3. Select **Create your own application**, provide a name, and create the application.

#### Step 2: Configure Single Sign-On (SSO)

1. Go to **Single Sign-On** and select **SAML**.
2. Add the **Entity ID** and **ACS URL**:
   * **Entity ID**: `https://{trustlogixhostname}/api/federation/{tlx_tenant_id}/metadata`&#x20;
   * **ACS URL**: `https://{trustlogixhostname}/api/federation/{tlx_tenant_id}/sso`
   * NOTE : Replace **trustlogixhostname** with hostname shared for front end use e.g. : dp.trustlogix.io and **tlx\_tenant\_id** with the alphanumeric value e.g. : 8a48834e95ea0b540195ea56a5ae00d3&#x20;
3. Download the **Federation Metadata XML**.
4. Navigate to **Properties** and retrieve the **User Access URL** (Redirection URL), for example: [https://launcher.myapps.microsoft.com/api/signin/\<app\_id>?tenantId=\<tenantId>](https://launcher.myapps.microsoft.com/api/signin/87957f06-9692-4a1f-8c98-a3329cf5b39a?tenantId=64ddf09f-4f98-4b98-a806-f947d4d7a672)

***

### Enable SSO in TrustLogix

Once the Azure AD SSO application is created, follow these steps to configure SSO in TrustLogix:

#### Step 1: Configure SSO in TrustLogix

1. Log in to **TrustLogix** using a **Tenant Root Admin** user with Super User role.
2. Navigate to the **Integrations** page.
3. Click on **Create SSO Integration**.
4. Fill in the required details:
   * **Integration Name**
   * **Metadata XML** (downloaded from the Azure AD application)
   * **Redirect URL** (from Azure AD application)
5. Save the integration.

#### Step 2: Test SSO Login

1. Assign a user to the Azure AD application.
2. Create a user with the same email address in TrustLogix.
3. Log in using SSO to verify successful authentication.

***

By following these steps, TrustLogix will be successfully integrated with Azure AD for SSO. To enable user provisioning from Azure AD refer User Provisioning section.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.trustlogix.io/integrations/single-sign-on/azure-active-directory-ms-entra.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
