Symptom
- S/4HANA Cloud Live Data Connection fails to be created in SAC with the following error on the UI: "We couldn't connect to your S/4HANA System. For more information see our troubleshooting page".
- Error displayed in the HAR trace: s4hcremotes/SAPS4HANA/sap/bw/ina/GetServerInfo 401 Unauthorized - "Invalid_client, bad credentials".
Environment
- SAP Analytics Cloud 2026.15.12
Reproducing the Issue
- Configure SAML SSO in SAC using Custom SAML Mapping.
- Attempt to create an SAP S/4HANA Cloud live data connection in SAC.
- Observe the connection failure with error: "Invalid_client, bad credentials".
Cause
Additional configuration added in S/4HANA -> Communication System -> Oauth 2.0 Settings -> Outbound OAuth 2.0 Client Settings -> mTLS Endpoint
Resolution
Below field should be left empty.
S/4HANA -> Communication System -> Oauth 2.0 Settings -> Outbound OAuth 2.0 Client Settings -> mTLS Endpoint
See Also
- Refer to: KBA 3428297 - Live Connection between SAC and S/4HANA Cloud - Prerequisites
- Refer to: Configure authentication (SAML) in SAP Analytics Cloud
- Refer to: Adjust subject name identifier mapping in Identity Authentication
- Refer to: S/4HANA Cloud configuration: Communication System and Communication Arrangement
- Refer to: How to integrate SAP Analytics Cloud with SAP S/4HANA Cloud system
- Refer to: Note 2280022 - How to collect a HAR file for troubleshooting
Keywords
SAC, S/4HANA Cloud, live data connection, SAML, SSO, email mapping, custom SAML mapping, subject name identifier, invalid_client, bad credentials, communication user, Identity Authentication, IdP admin tool, username mismatch, connection failure , KBA , LOD-ANA-LDC-SCA , SCA - SAP Cloud Application , Problem
Product
SAP Analytics Cloud 1.0
SAP Knowledge Base Article - Public