SAP Knowledge Base Article - Public

3842339 - 401 Unauthorized Error when using a trusted identity provider for Oauth Authentication in SAP Analytics Cloud

Symptom

After setting up a trusted identity provider in SAP Analytics Cloud (SAC), when you try to authenticate against an OAuth Client, it throws the error 

HTTP 401 Unauthorized
www-authenticate: Basic realm="UAA/client",
error="unauthorized",
error_description="Error setting assertion in SAML filter"

When you compare the certificate entered for the trusted identity provider, you find that the provider ID has been changed from Upper or Mixed case to all lower case.

Environment

  • SAP Analytics Cloud 2026.15

Reproducing the Issue

  1. Add a trusted identity provider in SAC
  2. Have a provider ID with a value that includes uppercase letters

Cause

The provider ID is supposed to be treated as case-insensitive.  SAC is currently treating it as case-sensitive.

Resolution

Development is aware of the issue and is targeting a fix for QRC4 2026 (2026.21)

Keywords

unauthorized, SAML, Filter, error, authentication , KBA , LOD-ANA-AUT-SAM , Authentication (SAML, Logon) , Problem

Product

SAP Analytics Cloud all versions