SAP Knowledge Base Article - Public

3047235 - Error "You were not automatically logged on to the remote data source. Please ask your administrator to verify the SAML Single Sign On configuration" encountered when save the tunnel type BW live data connection in SAP Analytics Cloud (SAC)

Symptom

Got an error when creating a live tunnel connection to SAP BW system in SAC:

  • If using single sign on authentication, get error "You were not automatically logged on to the remote data source. Please ask your administrator to verify the SAML Single Sign On configuration."
  • If using username and password authentication, get error: "Unable to authenticate. Please ensure your credentials are valid."

Error "401 not authorized" in response when accessing url "https://<SAC tenant URL>/lcs/scc/tunnel/<connection name>/sap/bw/ina/GetServerInfo?sap-client=<client number>"

Environment

  • SAP Analytics Cloud (Enterprise)

Reproducing the Issue

  1. Login to the SAC tenant.
  2. Go to the connection and create a new live data connection to BW and select tunnel type.
  3. Enter all the required information like host and port
  4. If using the Username and Password authentication, you may get the error when saving the connection "Unable to authenticate. Please ensure your credentials are valid."
  5. If using SAML Single Sign On authentication, you may get the 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

  • The logon order is not set correctly for Alternative Logon Order for service GetServerInfo in BW.

Resolution

  • Configure the Alternative Logon Order the same as described in the help guide:

    AS ABAP Authentication Infrastructure

    • Logon Using HTTP Fields
    • Logon with SSL Certificate
    • Logon with SAP Logon/Assertion Ticket
    • Logon with SAP Assertion Ticket
    • HTTP Basic Authentication
    • Logon Using SAP User and Password (RFC Logon)
    • Logon Using SAML
    • Logon Using User Data Stored in Service
  • Note:
    For basic authentication, please make sure "HTTP Basic Authentication" is before "Logon Using SAML".
    For SAML Single Sign On authentication, please make sure "Logon with SSL Certificate" is before "Logon Using SAML".

See Also

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

Keywords

SAP Cloud for Planning, sc4p, c4p, cforp, cloudforplanning, Cloud for Analytics, Cloud4Analytics, CloudforAnalytics, Cloud 4 Planning, BOC, SAPBusinessObjectsCloud, BusinessObjectsCloud, BOBJcloud, BOCloud., SAC, SAP AC, Cloud-Analytics, CloudAnalytics, SAPCloudAnalytics,Error, Issue, System, Data, User, Unable, Access, Connection, Sac, Connector, Live, Acquisition, Up, Set, setup, Model, BW, Connect, Story, Tenant, Import, Failed, Using, Working, SAML, SSO, sapanalyticscloud, sap analytical cloud, sap analytical cloud, SAC, sap analyst cloud, connected, failure, stopped , KBA , LOD-ANA-LDC , SAC Live Data Connection , BC-CST-IC , Internet Communication Manager , Problem

Product

SAP Analytics Cloud 1.0 ; SAP Jam Collaboration 1905