> ## Documentation Index
> Fetch the complete documentation index at: https://specterops-fetch-json-component.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# SAML: ADFS Configuration

> This document provides instructions for creating an application within ADFS for compatibility with BloodHound Enterprise.

export const IDPIntro = ({auth_mode}) => {
  const mode = (auth_mode || '').toUpperCase();
  const isOIDC = mode === 'OIDC';
  const href = isOIDC ? '/manage-bloodhound/auth/oidc' : '/manage-bloodhound/auth/saml';
  const label = isOIDC ? 'OIDC' : 'SAML';
  return <Tip>
      See <a href={href}>{label} in BloodHound</a> for order of operations, general {label} setup, and user configuration in BloodHound.
    </Tip>;
};

<img noZoom src="https://mintcdn.com/specterops-fetch-json-component/pkiaFEhjWYPnhxMb/assets/enterprise-AND-community-edition-pill-tag.svg?fit=max&auto=format&n=pkiaFEhjWYPnhxMb&q=85&s=c83d7e4a67c741a979c0e77bf15c1252" alt="Applies to BloodHound Enterprise and CE" width="482" height="45" data-path="assets/enterprise-AND-community-edition-pill-tag.svg" />

<IDPIntro auth_mode="SAML" />

## Create an Application

1. In the AD FS management console, right-click on Relaying Party Trust and click “Add Relaying Party Trust”.

<Frame>
  <img src="https://mintcdn.com/specterops-fetch-json-component/4KVQ7KT5l1uedroy/assets/image-2-25.png?fit=max&auto=format&n=4KVQ7KT5l1uedroy&q=85&s=74a97d5ea8d42a29750be817e85c2aba" width="936" height="478" data-path="assets/image-2-25.png" />
</Frame>

2. Choose “Claims aware” and click “Start”.

<Frame>
  <img src="https://mintcdn.com/specterops-fetch-json-component/4KVQ7KT5l1uedroy/assets/image-2-26.png?fit=max&auto=format&n=4KVQ7KT5l1uedroy&q=85&s=55acf3afc0a9ee1f04f26da5b34d4189" width="936" height="762" data-path="assets/image-2-26.png" />
</Frame>

3. Insert the metadata URL based on your chosen name and click “Next.”

<Frame>
  <img src="https://mintcdn.com/specterops-fetch-json-component/4KVQ7KT5l1uedroy/assets/image-2-27.png?fit=max&auto=format&n=4KVQ7KT5l1uedroy&q=85&s=7b1be70601cc8c83d86c2a08787abc48" width="936" height="762" data-path="assets/image-2-27.png" />
</Frame>

4. Enter the preferred display name and click “Next.”

<Frame>
  <img src="https://mintcdn.com/specterops-fetch-json-component/4KVQ7KT5l1uedroy/assets/image-2-28.png?fit=max&auto=format&n=4KVQ7KT5l1uedroy&q=85&s=301cde82dea47ef066349bf58f848fbf" width="936" height="762" data-path="assets/image-2-28.png" />
</Frame>

5. Choose the desired Access Control Policy. (Note that access and permissions are configured within BloodHound Enterprise).

<Frame>
  <img src="https://mintcdn.com/specterops-fetch-json-component/4KVQ7KT5l1uedroy/assets/image-2-29.png?fit=max&auto=format&n=4KVQ7KT5l1uedroy&q=85&s=a12588a151915eaf5cff559cd6db1acb" width="936" height="762" data-path="assets/image-2-29.png" />
</Frame>

6. Review the information presented and click “Next”.

<Frame>
  <img src="https://mintcdn.com/specterops-fetch-json-component/4KVQ7KT5l1uedroy/assets/image-2-30.png?fit=max&auto=format&n=4KVQ7KT5l1uedroy&q=85&s=afb3bd7ada042c8e09b4fe1d98f755d1" width="936" height="762" data-path="assets/image-2-30.png" />
</Frame>

7. Leave the “Configure claims issuance policy for this application” box checked and click “Close”.

<Frame>
  <img src="https://mintcdn.com/specterops-fetch-json-component/4KVQ7KT5l1uedroy/assets/image-2-31.png?fit=max&auto=format&n=4KVQ7KT5l1uedroy&q=85&s=d599ee17b265be49b58541e9e2beee89" width="936" height="762" data-path="assets/image-2-31.png" />
</Frame>

## Complete SAML Integration Configuration

1. On the “Edit Claim Issuance Policy” dialog box, click “Add Rule…”.

<Frame>
  <img src="https://mintcdn.com/specterops-fetch-json-component/4KVQ7KT5l1uedroy/assets/image-2-32.png?fit=max&auto=format&n=4KVQ7KT5l1uedroy&q=85&s=d41f3b628d3aa54ec88ac4c481f590d9" width="936" height="1046" data-path="assets/image-2-32.png" />
</Frame>

2. Choose “Send LDAP Attributes as Claims” and click “Next.

<Frame>
  <img src="https://mintcdn.com/specterops-fetch-json-component/4KVQ7KT5l1uedroy/assets/image-2-33.png?fit=max&auto=format&n=4KVQ7KT5l1uedroy&q=85&s=4dc74ac6faa23e5ff3c112eda17d5901" width="936" height="762" data-path="assets/image-2-33.png" />
</Frame>

3. Fill out the following and click “Finish”.

   LDAP Attribute: E-Mail-Addresses
   Outgoing Claim Type : E-Mail Address

<Frame>
  <img src="https://mintcdn.com/specterops-fetch-json-component/4KVQ7KT5l1uedroy/assets/image-2-34.png?fit=max&auto=format&n=4KVQ7KT5l1uedroy&q=85&s=5eababeac8ddcc515734062b370a1a44" width="936" height="762" data-path="assets/image-2-34.png" />
</Frame>

4. Click “Add Rule” to add another claim rule.

<Frame>
  <img src="https://mintcdn.com/specterops-fetch-json-component/4KVQ7KT5l1uedroy/assets/image-2-35.png?fit=max&auto=format&n=4KVQ7KT5l1uedroy&q=85&s=b592f2efb739b096d03274f9abe8f1f4" width="936" height="1046" data-path="assets/image-2-35.png" />
</Frame>

5. Choose “Transform and Incoming Claim” and click “Next”.

<Frame>
  <img src="https://mintcdn.com/specterops-fetch-json-component/4KVQ7KT5l1uedroy/assets/image-2-36.png?fit=max&auto=format&n=4KVQ7KT5l1uedroy&q=85&s=7ef7b9ccc9b952d88ad5f082b980207c" width="936" height="762" data-path="assets/image-2-36.png" />
</Frame>

6. Fill out the following and click “Finish”.

   Incoming claim type: E-Mail Address
   Outgoing claim type: Name ID
   Outgoing name ID format: Email
   Choose “Pass through all claim values”

<Frame>
  <img src="https://mintcdn.com/specterops-fetch-json-component/4KVQ7KT5l1uedroy/assets/image-2-37.png?fit=max&auto=format&n=4KVQ7KT5l1uedroy&q=85&s=7ef989846b89cc6c117e9ad9009c39eb" width="936" height="762" data-path="assets/image-2-37.png" />
</Frame>

7. Click “Apply”.

<Frame>
  <img src="https://mintcdn.com/specterops-fetch-json-component/4KVQ7KT5l1uedroy/assets/image-2-38.png?fit=max&auto=format&n=4KVQ7KT5l1uedroy&q=85&s=91764b52bcecc7be3b0192682ab74a38" width="936" height="1046" data-path="assets/image-2-38.png" />
</Frame>

8. Download the metadata file provided by your ADFS environment. By default, this is hosted at: [https://YOURDOMAIN/federationmetadata/2007-06/federationmetadata.xml](https://YOURDOMAIN/federationmetadata/2007-06/federationmetadata.xml)
9. Follow the instructions at [SAML in BloodHound Enterprise](/manage-bloodhound/auth/saml) to create the SAML provider in BloodHound Enterprise.
