> For the complete documentation index, see [llms.txt](https://support.ariglad.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.ariglad.com/settings/connect-microsoft-entra-id-azure-ad-to-ariglad-using-openid-connect.md).

# Connect Microsoft Entra ID (Azure AD) to Ariglad Using OpenID Connect

You can connect Microsoft Entra ID (formerly Azure AD) as a Single Sign-On (SSO) provider to Ariglad using OpenID Connect (OIDC). This guide walks you through the setup process.

### ✅ Prerequisites

Before you begin, ensure you have:

* Admin access to your Microsoft Entra ID / Azure AD tenant
* Admin access to your Ariglad dashboard
* The following redirect URI:  <https://ai.ariglad.com/api/ticketing_integration/sso/redirect/MicrosoftEntra>

### Step 1: Register an App in Microsoft Entra ID

1. Sign in to the Azure Portal at <https://portal.azure.com>
2. Navigate to:

   Microsoft Entra ID → App registrations → New registration
3. Fill out the form:
   * Name: Ariglad
   * Supported account types: Choose the option that matches your org’s needs (e.g. *Single tenant* or *Multitenant*)
   * Redirect URI (web): <https://ai.ariglad.com/api/ticketing_integration/sso/redirect/MicrosoftEntra>
   * Click Register
4. After registration, copy:
   * Application (client) ID
   * Directory (tenant) ID

### Step 2: Create a Client Secret

1. Inside the app you just registered, go to:

   Certificates & secrets → New client secret
2. Add a description (e.g. “Ariglad integration”) and set an expiration
3. Click Add
4. Copy the Value of the client secret — you won’t be able to see it again later

### Step 3: Connect Microsoft Entra ID in Ariglad

1. Go to:

   <https://ai.ariglad.com/knowledge_base/settings>
2. Click Add Integration
3. Select Microsoft Entra from the list of providers
4. Enter the following:
   * Tenant ID: From Azure portal
   * Client ID: From app registration
   * Client Secret: From the step above
5. Click Save


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.ariglad.com/settings/connect-microsoft-entra-id-azure-ad-to-ariglad-using-openid-connect.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
