> For the complete documentation index, see [llms.txt](https://docs.veedna.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.veedna.com/getting-started/create-an-account/configure-azure-ad-for-sso.md).

# Configure Azure AD for SSO

Configure SAML single sign-on with Microsoft Azure AD.

## Configure Azure AD for SSO

Configure a non-gallery enterprise application in Azure AD. Then add its SAML details to Lineaje.

### Before You Begin

Collect the following values from Lineaje:

* Entity ID
* Post callback URL

You need Tenant Admin access in Lineaje. You also need permission to create enterprise applications in Azure AD.

### Create an Enterprise Application

1. Open the [Azure portal](https://portal.azure.com/) and go to [Azure Active Directory](https://portal.azure.com/#view/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/~/Overview).
2. Select **Enterprise applications**.
3. Select **New application**.
4. Select **Create your own application**.
5. Enter an application name.
6. Select the non-gallery application option.
7. Select **Create**.

<div align="left"><figure><img src="https://2983949833-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzRZpxg1UUX5iPuJAfelm%2Fuploads%2FsorfTajMpMe8suCHCsFB%2Fimage.png?alt=media&amp;token=824d4124-9a24-46b9-89a4-1586f36e453b" alt=""><figcaption></figcaption></figure></div>

### Configure SAML in Azure AD

1. Open the new enterprise application.
2. Select **Single sign-on**.
3. Select **SAML**.
4. Enter the Lineaje values in the SAML configuration:

```
Identifier (Entity ID) -> Lineaje Entity ID

Reply URL (Assertion Consumer Service URL) -> Lineaje post callback URL
```

<div align="left"><figure><img src="https://2983949833-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzRZpxg1UUX5iPuJAfelm%2Fuploads%2FykisJm2BhxYcBEnhQhur%2Fimage.png?alt=media&amp;token=a3bff1b3-c280-4225-a657-37bdebf39bd3" alt="" width="563"><figcaption></figcaption></figure></div>

### Assign Users and Groups

Assign the Azure AD users and groups that can access Lineaje.

1. Select **Users and groups** in the enterprise application.
2. Select **Add user/group**.
3. Select the users or groups to assign.
4. Save the assignment.

<div align="left"><figure><img src="https://2983949833-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzRZpxg1UUX5iPuJAfelm%2Fuploads%2FU2RZLsA7cUgsGfsraI1B%2Fimage.png?alt=media&amp;token=d0fd010b-553d-4b50-9f21-3cb570af3201" alt=""><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="https://2983949833-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzRZpxg1UUX5iPuJAfelm%2Fuploads%2FHkzsmolOPbhAsCnRyxiX%2Fimage.png?alt=media&amp;token=117f758c-a94e-4523-bb01-a8e35bfd4d54" alt=""><figcaption></figcaption></figure></div>

### Test the SAML Configuration

1. Return to **Single sign-on**.
2. Select **Test**.
3. Complete the Azure AD sign-in flow.
4. Copy the resulting browser URL.

Keep this URL available. You need it when configuring Lineaje.

<figure><img src="https://2983949833-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzRZpxg1UUX5iPuJAfelm%2Fuploads%2FbtPIJuxvloZYfLQ0Tjrb%2Fimage.png?alt=media&amp;token=63d221b7-c74d-4118-9398-13f18d606273" alt=""><figcaption></figcaption></figure>

### Configure SAML in Lineaje

1. In Azure AD, copy the SAML certificate and **Login URL**.

<figure><img src="https://2983949833-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzRZpxg1UUX5iPuJAfelm%2Fuploads%2F85eqF2jHyGGzF9cVpZER%2Fimage.png?alt=media&amp;token=6889ff2b-891a-4278-b81c-e292d121f51c" alt=""><figcaption></figcaption></figure>

2. [Sign in to Lineaje](https://app.veedna.com/signin).
3. Open **Settings** → **Authentication**.
4. Select **Edit Configuration** → **Single Sign-On**.
5. Enter the Azure AD Login URL as the sign-in URL.

<figure><img src="https://2983949833-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzRZpxg1UUX5iPuJAfelm%2Fuploads%2FizsfTp41bPr3yDRFXUiI%2Fimage.png?alt=media&amp;token=20531177-752b-455a-ac46-5b5ec1a670e7" alt=""><figcaption></figcaption></figure>

6. Upload the SAML `.cer` certificate.

<figure><img src="https://2983949833-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzRZpxg1UUX5iPuJAfelm%2Fuploads%2FilzIn59sSubNDki5kULR%2Fimage.png?alt=media&amp;token=dcfdcae4-1d1f-4e67-a207-2017a31a22b5" alt=""><figcaption></figcaption></figure>

7. Verify that the callback URL matches the URL configured in [Azure AD](#configure-saml-in-azure-ad).

<figure><img src="https://2983949833-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzRZpxg1UUX5iPuJAfelm%2Fuploads%2FWRe5OVi197tRurSN0rF3%2Fimage.png?alt=media&amp;token=d8d9978f-e5f1-4ff4-abda-81656225b09c" alt=""><figcaption></figcaption></figure>

8. Select **Enable SSO**.


---

# 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.veedna.com/getting-started/create-an-account/configure-azure-ad-for-sso.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.
