> ## Documentation Index
> Fetch the complete documentation index at: https://airmdr-docs-crowdstrike-skills-catalog.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# SAML Integration with Azure Active Directory

> AirMDR supports SAML (Security Assertion Markup Language) integration with Azure AD to enable Single Sign-On (SSO) functionality to authenticate users for access to the AirMDR UI.

### Overview

SAML (Security Assertion Markup Language) integration with Azure AD enables Single Sign-On (SSO) functionality. This allows users to access multiple applications with just one set of credentials by securely transferring authentication and authorization information between Azure AD (the Identity Provider) and AirMDR (Service Providers).

### Pre-requisites

<Tip>
  Prior to set-up, Super Admin must have the **Global Administrator** role in Azure AD.
</Tip>

### SSO Set-up & Configuration

<Steps>
  <Step title="Step 1">
    **Configure Azure AD as the Identity Provider**

    1. Sign in to [Azure Portal](https://portal.azure.com/) with Azure AD administrator account.

    2. In the left-hand navigation pane, select **"Microsoft Entra ID"**.

    3. Click **+** **Add** dropdown list and then select **"Enterprise application"**.

    4. Choose the tab **"Create your own application”.**

    5. Provide a name for your application, in the **"What's the name of your app?**" space.

    6. Select **“Integrate any other application you don’t find in the gallery (Non-gallery)”**.

    7. Click **"Create"**.

           <img src="https://mintcdn.com/airmdr-docs-crowdstrike-skills-catalog/X0ZfAbyNvdA3S7_M/images/Azure-AD-SSO/Azure3.png?fit=max&auto=format&n=X0ZfAbyNvdA3S7_M&q=85&s=0c89951c179314d0a225fee687f275ac" alt="" width="779" height="386" data-path="images/Azure-AD-SSO/Azure3.png" />

           <img src="https://mintcdn.com/airmdr-docs-crowdstrike-skills-catalog/X0ZfAbyNvdA3S7_M/images/Azure2.png?fit=max&auto=format&n=X0ZfAbyNvdA3S7_M&q=85&s=bdf422e036bf21180352c5da1ddfefe5" alt="" width="780" height="240" data-path="images/Azure2.png" />
  </Step>

  <Step title="Step 2">
    **Configure Single Sign-On (SSO)**

    1. Select "**Single sign-on"** from the left-hand menu on the application's overview page.

    2. Choose the "**SAML"** option.
  </Step>

  <Step title="Step 3">
    **Set Up Basic SAML Configuration**

    * Click the edit icon next to **“Basic SAML Configuration”**.

    * Provide the required specifications as stated below

    * **Identifier (Entity ID)**: This is typically a URL specific to your application.

    * **Reply URL (Assertion Consumer Service URL)**: The URL where Azure AD will send the SAML token.

          <img src="https://mintcdn.com/airmdr-docs-crowdstrike-skills-catalog/X0ZfAbyNvdA3S7_M/images/Azure-AD-SSO/Azure1.png?fit=max&auto=format&n=X0ZfAbyNvdA3S7_M&q=85&s=4b9db7ecafeeb23b43be2e6535c65737" alt="" width="334" height="400" data-path="images/Azure-AD-SSO/Azure1.png" />

    <Tip>
      To **Copy** the Service URL:

      * Login into the AirMDR UI.

      * Navigate on to the bottom left, click on the **User** > **Go to Admin dashboard** > **AirMDR System Organization** > **SSO SETTINGS**

      <Note>
        Accessible by only Admins/Super Admins
      </Note>

      <img src="https://mintcdn.com/airmdr-docs-crowdstrike-skills-catalog/NTMF1SNYkxtEHCeh/images/Okta-SSO-Setup/SSO-4.png?fit=max&auto=format&n=NTMF1SNYkxtEHCeh&q=85&s=f0315f2a58a47ecf2163131906253730" alt="" width="359" height="506" data-path="images/Okta-SSO-Setup/SSO-4.png" />
    </Tip>

    * Click "**Save"** after entering the necessary information.

          <img src="https://mintcdn.com/airmdr-docs-crowdstrike-skills-catalog/X0ZfAbyNvdA3S7_M/images/Azure-AD-SSO/Azure4.png?fit=max&auto=format&n=X0ZfAbyNvdA3S7_M&q=85&s=b13ae08759b9431142d4088f2dcdfbde" alt="" width="554" height="420" data-path="images/Azure-AD-SSO/Azure4.png" />
  </Step>

  <Step title="Step 4">
    **Configure User Attributes and Claims**

    * In the **“Attributes & Claims”** section, click the edit icon.

    * Ensure that the necessary user attributes (e.g., email, name) are correctly mapped to the corresponding claims required by your application.

    * Remove the name space URIs for **“givenname”** and **“surname”** and update the keys to **“firstname”** and **“lastname”**.

    * Update the value for emailaddress to user.userprincipalname

          <img src="https://mintcdn.com/airmdr-docs-crowdstrike-skills-catalog/X0ZfAbyNvdA3S7_M/images/Azure-AD-SSO/Azure5.png?fit=max&auto=format&n=X0ZfAbyNvdA3S7_M&q=85&s=98a56471c0709b643080c5108240d8f1" alt="" width="452" height="240" data-path="images/Azure-AD-SSO/Azure5.png" />
  </Step>

  <Step title="Step 5">
    **Download the SAML Signing Certificate**

    * In the **“SAML Signing Certificate”** section, download the **“Certificate (Base64)” or Federation Metadata XML**.

    <Info>
      Certificate may be required by your application to verify the SAML token’s signature.
    </Info>
  </Step>

  <Step title="Step 6">
    **Enable AirMDR access to Azure AD metadata**

    * Copy the **“Login URL and Microsoft Entra Identifier”** from the **“Set up \[Your Application Name]”** section.

          <img src="https://mintcdn.com/airmdr-docs-crowdstrike-skills-catalog/X0ZfAbyNvdA3S7_M/images/Azure-AD-SSO/Azure6.png?fit=max&auto=format&n=X0ZfAbyNvdA3S7_M&q=85&s=a8e1eb37d01421b23457a87b316722a7" alt="" width="659" height="162" data-path="images/Azure-AD-SSO/Azure6.png" />
  </Step>

  <Step title="Step 7">
    **Set up and configure SSO in AirMDR UI**

    * Log in to the [AirMDR](https://app.airmdr.com).

    * On the bottom left, click on the **User** and select **Go to Admin dashboard**.

          <img src="https://mintcdn.com/airmdr-docs-crowdstrike-skills-catalog/NTMF1SNYkxtEHCeh/images/Okta-SSO-Setup/SSO-6.png?fit=max&auto=format&n=NTMF1SNYkxtEHCeh&q=85&s=9722c10205ea290306fcb73c0f16f2eb" alt="" width="139" height="124" data-path="images/Okta-SSO-Setup/SSO-6.png" />

    * Select the Organization for which SSO has to be set up.

    * Under the **SSO SETTINGS** tab, click **Edit**.

          <img src="https://mintcdn.com/airmdr-docs-crowdstrike-skills-catalog/NTMF1SNYkxtEHCeh/images/Okta-SSO-Setup/SSO-7.png?fit=max&auto=format&n=NTMF1SNYkxtEHCeh&q=85&s=cc6b7d29cfa493f136c03b6fe9bfd4d5" alt="" width="353" height="172" data-path="images/Okta-SSO-Setup/SSO-7.png" />

    * In the **Setup SSO** dropdown list, select **Yes, New Config**.

          <img src="https://mintcdn.com/airmdr-docs-crowdstrike-skills-catalog/NTMF1SNYkxtEHCeh/images/Okta-SSO-Setup/SSO-8.png?fit=max&auto=format&n=NTMF1SNYkxtEHCeh&q=85&s=c4fc18aaa304e0dd05a7f6266866df73" alt="" width="350" height="188" data-path="images/Okta-SSO-Setup/SSO-8.png" />

    * In the **SSO SETTINGS**, provide the SAML Protocol Configuration Parameters from Azure AD

    <Check>
      - In the **Identity Provider (IdP) to use** dropdown list select **Custom**

      - Use **Upload** option to include the **Identity Provider Certificate** from Azure AD

      - In the **Provide your SSO endpoint**, enter the Identity Provider **Login URL** from Azure AD

      - In the **Use Issuer ID** dropdown, select **Yes** and provide **Issuer ID** from Azure AD

      - In the **Provide your Issuer ID**, enter the **Microsoft Entra Identifier**
    </Check>

    * Click **Submit**. (SSO Authentication is successfully created for your account).

          <img src="https://mintcdn.com/airmdr-docs-crowdstrike-skills-catalog/X0ZfAbyNvdA3S7_M/images/Azure-AD-SSO/Azure1.png?fit=max&auto=format&n=X0ZfAbyNvdA3S7_M&q=85&s=4b9db7ecafeeb23b43be2e6535c65737" alt="" width="334" height="400" data-path="images/Azure-AD-SSO/Azure1.png" />

          <img src="https://mintlify.s3.us-west-1.amazonaws.com/airmdr-docs-crowdstrike-skills-catalog/images/Azure-AD-SSO/Azure-AD6.PNG" alt="" />
  </Step>

  <Step title="Step 8">
    **Assign Users & Groups**

    * Select **“Users and groups”** from the left-hand menu, assign users/groups who will use SSO.

    * Click **“Add user/group”**, select the users or groups you want to assign to the application, and click **“Assign”**.

    <Tip>
      Configure **Conditional Access Policies** for security if needed.
    </Tip>
  </Step>
</Steps>

### Evaluate SSO Configuration

* Navigate to the [AirMDR Login](https://app.airmdr.com) page.

* Enter the User **Email** ID assigned to the Azure SAML application, and click **Proceed to Login**.

<img src="https://mintcdn.com/airmdr-docs-crowdstrike-skills-catalog/NTMF1SNYkxtEHCeh/images/Okta-SSO-Setup/SSO-10.png?fit=max&auto=format&n=NTMF1SNYkxtEHCeh&q=85&s=9cb13764de6ddcd427dd37d7e82f81ce" alt="" width="171" height="107" data-path="images/Okta-SSO-Setup/SSO-10.png" />

* The page will be redirected to the Azure AD URL provided as the **SSO Endpoint** in the **SSO SETTINGS**.

<img src="https://mintcdn.com/airmdr-docs-crowdstrike-skills-catalog/NTMF1SNYkxtEHCeh/images/Okta-SSO-Setup/SSO-11.png?fit=max&auto=format&n=NTMF1SNYkxtEHCeh&q=85&s=bbae1c892f0e43938b6d05d494def614" alt="" width="241" height="319" data-path="images/Okta-SSO-Setup/SSO-11.png" />

* Ensure that the test user can sign in successfully using Azure AD credentials.

* After successful login, the user should be redirected to [Test case](https://test-darryl.airmdr.com/casesv2) with a valid session

<Frame as="div">
  <Icon icon="rocket-launch" />  Hurray! You are Logged in Successfully
</Frame>
