> ## Documentation Index
> Fetch the complete documentation index at: https://specterops-bed-6715-managed-id-auth-method.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-bed-6715-managed-id-auth-method/32bGxo1_JbXAaHjs/assets/enterprise-AND-community-edition-pill-tag.svg?fit=max&auto=format&n=32bGxo1_JbXAaHjs&q=85&s=bb5b2bc8331220b968a23923bc289c26" 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-bed-6715-managed-id-auth-method/DuADav70abKSKcTf/assets/image-2-25.png?fit=max&auto=format&n=DuADav70abKSKcTf&q=85&s=b6465458eae484d6b15b5cf429761357" 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-bed-6715-managed-id-auth-method/DuADav70abKSKcTf/assets/image-2-26.png?fit=max&auto=format&n=DuADav70abKSKcTf&q=85&s=ae09e1cd0f18d3288c6bd151511ab11b" 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-bed-6715-managed-id-auth-method/DuADav70abKSKcTf/assets/image-2-27.png?fit=max&auto=format&n=DuADav70abKSKcTf&q=85&s=ca3bc493661be315b5de85c258eb4f71" 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-bed-6715-managed-id-auth-method/DuADav70abKSKcTf/assets/image-2-28.png?fit=max&auto=format&n=DuADav70abKSKcTf&q=85&s=db97c8c39cbce6481d9800c8ad4b6dfc" 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-bed-6715-managed-id-auth-method/YjJCXGnzfxnZKsUF/assets/image-2-29.png?fit=max&auto=format&n=YjJCXGnzfxnZKsUF&q=85&s=442fa43df692030a8089b11fea18ec69" 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-bed-6715-managed-id-auth-method/YjJCXGnzfxnZKsUF/assets/image-2-30.png?fit=max&auto=format&n=YjJCXGnzfxnZKsUF&q=85&s=2471cf4661bfa95a98a0183ec41664a8" 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-bed-6715-managed-id-auth-method/YjJCXGnzfxnZKsUF/assets/image-2-31.png?fit=max&auto=format&n=YjJCXGnzfxnZKsUF&q=85&s=f92c06b8f85a747391e9d4646d3f16cc" 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-bed-6715-managed-id-auth-method/YjJCXGnzfxnZKsUF/assets/image-2-32.png?fit=max&auto=format&n=YjJCXGnzfxnZKsUF&q=85&s=8ad453aeb29d576751a22c8105028986" 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-bed-6715-managed-id-auth-method/YjJCXGnzfxnZKsUF/assets/image-2-33.png?fit=max&auto=format&n=YjJCXGnzfxnZKsUF&q=85&s=2eff1f00385202d7f362743f01dadc5b" 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-bed-6715-managed-id-auth-method/YjJCXGnzfxnZKsUF/assets/image-2-34.png?fit=max&auto=format&n=YjJCXGnzfxnZKsUF&q=85&s=f486a75d35b94dae9f2aec8d5b05b96d" 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-bed-6715-managed-id-auth-method/YjJCXGnzfxnZKsUF/assets/image-2-35.png?fit=max&auto=format&n=YjJCXGnzfxnZKsUF&q=85&s=075dc797ee58259ed6a2c35df677da36" 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-bed-6715-managed-id-auth-method/YjJCXGnzfxnZKsUF/assets/image-2-36.png?fit=max&auto=format&n=YjJCXGnzfxnZKsUF&q=85&s=37e7dd3a5efe352fc208f363efa0bc6c" 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-bed-6715-managed-id-auth-method/YjJCXGnzfxnZKsUF/assets/image-2-37.png?fit=max&auto=format&n=YjJCXGnzfxnZKsUF&q=85&s=0db9618cca6800d18ad20aad4e5f39cf" width="936" height="762" data-path="assets/image-2-37.png" />
</Frame>

7. Click “Apply”.

<Frame>
  <img src="https://mintcdn.com/specterops-bed-6715-managed-id-auth-method/YjJCXGnzfxnZKsUF/assets/image-2-38.png?fit=max&auto=format&n=YjJCXGnzfxnZKsUF&q=85&s=5400a7fb75d85741f7f40e14511b953d" 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.
