Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix SAML2135 - Name ID format '&1' not accepted


SAP Error Message - Details

  • Message type: E = Error

  • Message class: SAML2 - SAML2 Nachrichten

  • Message number: 135

  • Message text: Name ID format '&1' not accepted

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message SAML2135 - Name ID format '&1' not accepted ?

    The SAP error message SAML2135, which states "Name ID format '&1' not accepted," typically occurs in the context of Single Sign-On (SSO) configurations using Security Assertion Markup Language (SAML). This error indicates that the Name ID format being sent in the SAML assertion does not match the expected format configured in the SAP system.

    Cause:

    1. Mismatched Name ID Format: The Identity Provider (IdP) is sending a Name ID in a format that the Service Provider (SP) (in this case, the SAP system) does not accept. Common Name ID formats include:

      • urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress
      • urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified
      • urn:oasis:names:tc:SAML:2.0:nameid-format:persistent
      • urn:oasis:names:tc:SAML:2.0:nameid-format:transient
      • urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos
    2. Configuration Issues: The SAP system may not be configured to accept the specific Name ID format being sent by the IdP.

    3. IdP Configuration: The IdP may be incorrectly configured to send a Name ID format that is not supported by the SAP system.

    Solution:

    1. Check SAP Configuration:

      • Go to the SAP system's SSO configuration settings.
      • Verify the accepted Name ID formats in the SAML configuration. Ensure that the expected Name ID format matches what the IdP is sending.
    2. Modify IdP Configuration:

      • If you have access to the IdP configuration, check the settings for the SAML assertion and ensure that it is set to use a Name ID format that is accepted by the SAP system.
      • If necessary, change the Name ID format in the IdP to one that is compatible with the SAP system.
    3. Testing:

      • After making changes, perform a test to ensure that the SSO process works correctly and that the error message no longer appears.
    4. Consult Documentation:

      • Refer to the SAP documentation for SAML configuration to understand the supported Name ID formats and how to configure them properly.
    5. Logs and Traces:

      • Check the logs on both the SAP system and the IdP for more detailed error messages or warnings that could provide additional context for the issue.

    Related Information:

    • SAML Assertions: Understand the structure of SAML assertions and how Name IDs are used within them.
    • SAP SSO Documentation: Review SAP's official documentation on configuring SSO and SAML to ensure compliance with best practices.
    • IdP Documentation: Consult the documentation for your specific IdP (e.g., ADFS, Okta, etc.) for guidance on configuring Name ID formats.

    By addressing the mismatch between the Name ID format expected by the SAP system and what is being sent by the IdP, you should be able to resolve the SAML2135 error.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author