SAP Knowledge Base Article - Public

2717867 - Unable to authenticate. Please ensure your credentials are valid error when creating / using SAP S/4HANA Cloud Connection in SAP Analytics Cloud

Symptom

The following error occurs when you try to create or use an SAP S/4HANA Cloud Connection in SAP Analytics Cloud:

  • "Unable to authenticate. Please ensure your credentials are valid error"

Environment

  • SAP Analytics Cloud Wave 20xx.xx
  • Live Data Connection to SAP S/4HANA Cloud via OAuth 2.0 (with SAML SSO IdP enabled on SAC)

Reproducing the Issue

  1. Log in to SAP Analytics Cloud
  2. Navigate to Menu > Connection
  3. Create a Live Data Connection to S/4HANA Cloud with the OAuth 2.0 Authentication type
  4. Click Create
  5. Observe the error message 

Cause

  • SAML User Mapping within SAP Analytics Cloud does not match the S/4HANA Business User's "User Name" Found under User Data

Resolution

Please follow the configuration steps as per the official SAP Help portal guide: Integrating SAP Analytics Cloud for SAP S/4HANA Cloud.

  • Ensure that your Identity Provider is using the same SAML NameID attribute as defined in S/4HANA's User Data - User Name

See Also

Your feedback is important to help us improve our knowledge base.

Keywords

SAP Cloud for Planning, sc4p, c4p, cforp, cloudforplanning, EPM-ODS, Cloud for Analytics, Cloud4Analytics, CloudforAnalytics, Cloud 4 Planning, BOC, SAPBusinessObjectsCloud, BusinessObjectsCloud, BOBJcloud, BOCloud., SAC, SAP AC, Cloud-Analytics, CloudAnalytics, SAPCloudAnalytics, Live data connection to S/4H Cloud - Unable to authenticate , KBA , LOD-ANA , SAP Analytics Cloud (SAC) , LOD-ANA-BI , Business Intelligence Functionality, Analytic Models , LOD-ANA-PL , Planning , LOD-ANA-BR , SAC Boardroom , LOD-ANA-PR , SAC Predictive , Problem

Product

SAP Analytics Cloud 1.0