SAP Knowledge Base Article - Public

3514442 - Direct live connection fails with CORS error - Microsoft Azure

Symptom

Direct Live connection fails with CORS errors, equal to what's seen in:

We couldn't connect to your (source) system / Failed to connect to (source) system creating / using a live data connection in SAP Analytics Cloud *** Collective KBA ***

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."

Environment

SAP Analytics Cloud

Cause

Microsoft Azure is blocking the URL request from SAC.

In a BPC Direct Live Connection this can be seen in the console logs of your browser as:

This is evidenced by the login.microsoft URL being present at the Request, rather than the backend URL. 

Resolution

Make sure you are using SAML as your authentication method.

Keywords

SAP Analytics Cloud, CORS, Direct, Live Connection , KBA , LOD-ANA-LDC-HAN , SAC Live Data Connection HANA , Problem

Product

SAP Analytics Cloud 1.0