SAP Knowledge Base Article - Public

3774957 - Entra ID SSO via Cloud Identity Services shows "session ended" after login to SAP Datasphere and SAP BDC Cockpit

Symptom

  • Users are redirected to the Entra ID login page and authenticate successfully.
  • After authentication, the message appears: "Session Ended - Your session has timed out. Please log on again."
  • The issue occurs with SAP BDC Cockpit and SAP Datasphere.
  • The same configuration works for SAP Analytics Cloud (SAC).

Environment

  • SAP Datasphere
  • SAP BDC Cockpit
  • SAP Identity Authentication Service

Reproducing the Issue

  1. Provision SAP BDC Cockpit, SAP Analytics Cloud (SAC), and SAP Datasphere.
  2. Integrate all with SAP Cloud Identity Services for authentication.
  3. Establish Single Sign-On between SAP Cloud Identity Services and corporate Entra ID.
  4. Attempt to authenticate via Entra ID for SAP BDC Cockpit and SAP Datasphere.
  5. Observe the "Session Ended - Your session has timed out. Please log on again." message after successful authentication.

Cause

The attribute "Groups=sac" was configured in IAS but was not propagated to the application because the toggle "Use Identity Authentication User Store") in Identity Federation in IAS was disabled. 
SAP Datasphere requires this attribute during login, while SAP Analytics Cloud (SAC) does not.
Consequently, authentication succeeded but SAP Datasphere failed to establish a valid application session.

Resolution

Enable the toggle "Use Identity Authentication User Store") in  Identity Federation so that IAS can process the user payload and include the configured attribute "Groups=sac" in the authentication response.

After the attribute is propagated, SAP Datasphere login works as expected.

Please note that enabling "Identity Federation - Use Identity Authentication User Store" makes it possible for IAS to access the user payload received from the Corporate IdP.

IAS may check the user payload and modify it in accordance with the Attributes / Subject Name Identifier configuration for the application.

Disabling this setting makes IAS completely unable to access the user payload - it will simply forward the information received form the Corporate IdP to the application. 
Some applications require the use of Identity Federation because they need attributes that are only available in the IAS user store and may not be present in the external Corporate IdP.

This is expected and often explicitly stated on official documentation.

As for your exact situation - it is possible that some applications do not need Identity Federation. In this scenario, you can decide whether you would like to enable Identity Federation for the Corporate IdP as a whole or only for certain applications. Please check the below documentation for more information:

If you would not like to use Identity Federation for all applications, then please disable it on Corporate IdP level and use it only for the applications that need it.

Additional note: just to clarify, Identity Federation is only enabled if the "Use Identity Authentication User Store" is turned on, so this checkbox is how you control this functionality.

See Also

Keywords

entra id sso, cloud identity services, ias, saml, session ended, session timed out, after login, redirect succeeds but session ends, datasphere sso, bdc cockpit sso, sac works, authentication loop, timeout message, single sign-on error, cis integration , KBA , DS-HANA-AUTN , Authentication: SSO/SAML, OAuth Client , Problem

Product

SAP Datasphere all versions