SAP Knowledge Base Article - Public

3596837 - 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 in SAP Analytics Cloud (SAC) .

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

  1. Login to SAC.
  2. Go to connection and create a new live data connection to S/4 HANA and select tunnel type.
  3. Enter all the required information.
  4. Select SAML Single Sign On as Authentication Method.
  5. 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

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

Product

SAP Analytics Cloud 1.0