Symptom
- Follow SAP official help guide Live Data Connection to SAP S/4HANA Cloud Edition via OAuth | SAP Help Portal to create a live connection. After clicking save, it fails with error "Unable to authenticate. Please verify that your credentials are valid".
- Check the custom IDP has been enabled and the following settings in prerequisite has been applied:
- Under Step 3, set the SAML User Mapping to Custom SAML User Mapping. Under Security - Users, the value in the Custom SAML User Mapping column must equal the User Data - User Name of the corresponding business user in the SAP S/4HANA system.
Environment
SAP Analytics Cloud(SAC) 2024.8.16
Reproducing the Issue
- Create Communication system and Communication arrangement as per the the steps in Live Data Connection to SAP S/4HANA Cloud Edition via OAuth | SAP Help Portal.
- Create a live connection to S4HC system in SAC.
- Try to save the connection.
- See error 'Unable to authenticate. Please verify that your credentials are valid'.
Resolution
Go to Communication System-OAuth 2.0 Identity Provider-User ID Mapping Mode, change it from Global User ID to User Name. Then, create connection again and issue resolved.
See Also
- 2569847 - Where can you find SAC user assistance (help) to use, configure, and operate it more effectively?
- Have a question? Ask it here and let our amazing SAP community help! Or reply and share your knowledge!
- 2487011 - What information do I need to provide when opening an incident for SAP Analytics Cloud?
- Need More Help? Contact Support or visit the solution finder today!
Keywords
live, data, oauth, s4hana cloud, authentication, connection , KBA , LOD-ANA-LDC-HAN , SAC Live Data Connection HANA , Problem
Product
SAP Analytics Cloud all versions