Legacy Knowledge Base
Published Jul. 2, 2025

InvalidNameIDPolicy errors

Written By

Kanchan Bisht

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • The following error occurs while configuring Liferay as SP and ADFS as Idp.
    • At Liferay end: ERROR [ajp-nio-0.0.0.0-8009-exec-10][BaseSamlStrutsAction:59] urn:oasis:names:tc:SAML:2.0:status:InvalidNameIDPolicy
    • At ADFS end: Microsoft.IdentityServer.Protocols.Saml.InvalidNameIdPolicyException: MSIS7070: The SAML request contained a NameIDPolicy that was not satisfied by the issued token. Requested NameIDPolicy: AllowCreate: True Format: urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress SPNameQualifier: Actual NameID properties: null

       

Environment

  • Liferay DXP 7.2

Resolution

  • When there are missing claim rules (CR and TR) at ADFS, or when claim rules are configured incorrectly, these types of errors arise.

  • The Name ID attribute has not been set at the TR rule, in this case, it should be as follows TR_Rule.png

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base