> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/xsoar-6-administrator-guide/6.12/onboard-cortex-xsoar/users-and-roles/authenticate-users-with-saml-2.0/set-up-adfs-as-the-identity-provider-using-saml-2.0/define-the-claim-issuance-policy.md).

# Define the Claim Issuance Policy

Define an ADFS claim issuance policy for Cortex XSOAR 6.12.

You need to define the claim issuance policy. Before you start you need to create the Relying Party Trusts as described in [Create Relying Party Trust in ADFS](/xsoar-6-administrator-guide/6.12/onboard-cortex-xsoar/users-and-roles/authenticate-users-with-saml-2.0/set-up-adfs-as-the-identity-provider-using-saml-2.0/create-relying-party-trust-in-adfs.md).

1. From the right menu pane of the Relying Party Trusts, click **Edit Claim Issuance Policy**

   ![adfs-edit-claim.png](https://4128117757-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9gZ0C5CI8Bl5Aulkp4dZ%2Fuploads%2Fgit-blob-ba3fe8f1a32fffa69856c8e425f21886cbf1c69e%2F13a5a2883ac42e6ee88bbcb3e62ff6e73d78f67400570634fe92d5e541b315b2.png?alt=media)
2. Click **Add Rule**.
3. In the Add Transform Claim Rule Wizard, select **Transform an Incoming Claim** from the drop down list.

   ![adfs-add-transform-claim.png](https://4128117757-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9gZ0C5CI8Bl5Aulkp4dZ%2Fuploads%2Fgit-blob-56730ef825c44976eadc0f6886bfa4125a73e050%2Fa4f7b2aefedb6da57b1516e866a9bbcfaed092f8a445c6436b9df5bba8a4c302.png?alt=media)
4. Click **Next**.
5. In the Configure Claim Rule page, type the Claim rule name **`WindowsAccountName`** which will pass the user login name in AD and select the Windows account name for the Incoming and Outgoing claim type.
6. Click **Finish**.
7. Add another claim rule which will pass the AD user account attributes to Cortex XSOAR. This step is required to map the user group membership, full name, email, phone and other LDAP attributes.
   1. From the right menu pane of the Relying Party Trusts, click **Edit Claim Issuance Policy**
   2. Click **Add Rule**.
   3. In the Add Transform Claim Rule Wizard, select **Send LDAP Attributes as Claims** from the drop down list.
   4. Click **Next**.
   5. In the Configure Claim Rule page, type a claim rule name, select Active Directory from the Attribute store drop down list and map the required fields. Note that the user group attribute is mandatory if you wish to map the user group to the Cortex XSOAR user role.

      ![adfs-edit-rule.png](https://4128117757-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9gZ0C5CI8Bl5Aulkp4dZ%2Fuploads%2Fgit-blob-0242ce27c884c63a2431380d6476534269f8bb4e%2Fcc45a17a47652f817eb6169a41744ea50e9414149efd89b6620c643947b51e19.png?alt=media)
   6. Click **Finish** and then click **OK** to create the claim rules.
8. Open PowerShell and make sure the IDP Sign-on page is enabled

   ![adfs-powershell.png](https://4128117757-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9gZ0C5CI8Bl5Aulkp4dZ%2Fuploads%2Fgit-blob-f3ca22a760aa61f6aaee4fd2d3298fd2da4bf20e%2F0c09938bf73795702042d2e49b1df2764ec1b42dddc3d4365af789bfb540f781.png?alt=media)

   If one of these setting are set to false, enable it by typing **`Set-AdfsProperties -<Property Name RelayState or EnableIdp> $True`**
9. Verify that the ADFS IDP Sign-on page is working by browsing to the ADFS service portal URL, in our example: <https://demistodev.local/adfs/ls/idpinitiatedsignon.aspx>
10. Continue with [Configure the SAML 2.0 Integration for ADFS](/xsoar-6-administrator-guide/6.12/onboard-cortex-xsoar/users-and-roles/authenticate-users-with-saml-2.0/set-up-adfs-as-the-identity-provider-using-saml-2.0/configure-the-saml-2.0-integration-for-adfs.md).

Return to [Set up ADFS as the Identity Provider Using SAML 2.0](/xsoar-6-administrator-guide/6.12/onboard-cortex-xsoar/users-and-roles/authenticate-users-with-saml-2.0/set-up-adfs-as-the-identity-provider-using-saml-2.0.md).


---

# 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://cortex-docs.paloaltonetworks.com/xsoar-6-administrator-guide/6.12/onboard-cortex-xsoar/users-and-roles/authenticate-users-with-saml-2.0/set-up-adfs-as-the-identity-provider-using-saml-2.0/define-the-claim-issuance-policy.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.
