Symptom
After authenticating to SAP Datasphere via a custom identity provider, you encounter the following errors, even though the Groups attribute in the IdP is configured with the static value "sac":
- "Session Ended"
- "Your session has timed out. Please log on again."
Environment
SAP DataSphere.
Reproducing the Issue
- Enable a custom identity provider for SAP Datasphere using SAML SSO.
- Configure the Groups attribute in the IdP with the value "sac".
- Log on to SAP Datasphere via the custom identity provider.
- Observe that the session ends immediately after logon, and the following error message is displayed: "Your session has timed out. Please log on again."
- Run the following URL: https://<system name>.<data center>.hana.ondemand.com/config?action=who&details=true
- The page shows JSON with your user details > Notice that the Groups=sac is missing from the response.
Cause
In IAS, the Identity Federation Store is disabled and Default Identity Provider is set to Identity Authentication.
Resolution
A. Log in to the IAS admin console at https://<your-tenant>.accounts.ondemand.com/admin.
B. Enable Identity Federation (user store) on the corporate IdP
- Go to Identity Providers → Corporate Identity Providers.
- Select your corporate IdP (for example Azure AD/Entra ID or Okta).
- Open Identity Federation.
- Turn ON “Use Identity Authentication user store”.
C. Check the Default Identity Provider on the application
- Go to Applications & Resources → Applications.
- Select the application representing your Idp.
- Open Conditional Authentication.
- Check Default Identity Provider. It should be your corporate IdP, not “Identity Authentication”.
See Also
SAP documentation: Use Identity Authentication user store
Keywords
Idp, fail, Login , KBA , LOD-ANA-AUT , SAC Authentication / Login , Problem
SAP Knowledge Base Article - Public