Symptom
- Error 'You were not automatically logged on to the remote data source. Please ask your administrator to verify the SAML Single Sign On configuration' occurred while creating live S/4 Hana tunnel connection.
- Error 'Unable to generate authorization token java.lang.IllegalStateException: The variable 'email' needed for object CN is not available in context.' occurred in cloud connector logs.
Environment
SAP ANALYTICS CLOUD 2025.1.5
Reproducing the Issue
- Login to SAC.
- Go to connection and create a new live data connection to S/4 HANA and select tunnel type.
- Enter all the required information.
- Select SAML Single Sign On as Authentication Method.
- Click on Ok.
Notice that it is giving error "You were not automatically logged on to the remote data source. Please ask your administrator to verify the SAML Single Sign On configuration."
Cause
Only the CN = ${email} was utilized in the subject pattern for the principal propagation of the cloud connector.
Resolution
Add CN = ${name} with CN = ${email} in the subject pattern for the principal propagation.
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 case for SAP Analytics Cloud?
- 2511489 - Troubleshooting performance issues in SAP Analytics Cloud
- Search for SAP Analytics Cloud content using Google or Bing:
- https://www.google.com/search?q=site%3Ahttps%3A%2F%2Fuserapps.support.sap.com+SAP+Analytics+Cloud
- https://www.bing.com/search?q=site%3Ahttps%3A%2F%2Fuserapps.support.sap.com+SAP+Analytics+Cloud
- Note: Add relevant text or warning/error messages to the text search field to filter results.
- SAP Analytics Cloud Connection Guide
- Getting Started with SAP Analytics Cloud Expert Community page
- SAP Analytics Cloud Get More Help and SAP Support
- Need More Help? Contact Support or visit the solution finder today!
Keywords
sac tenant, connection, live data connection, s/4 hana, tunnel type, saml, single sign on, authentication, error, automatically logged on, remote data source, administrator, verify, configuration, setup, connection error, data source, login issue, troubleshooting , KBA , LOD-ANA-LDC-BW , SAC Live Data Connection BW , Problem