SAP Knowledge Base Article - Public

3832725 - Error: "auth failure: http error \-1; url=\x26#39;https:\/\/login.microsoftonline.com" in Datasphere

Symptom

When validating connection, the following error occurs:

---------------------------------------------------------------------

Connection "XXX" couldn’t be established.

- Data flows can’t be used because of errors in the connection.
- Replication flows can’t be used because of errors in the connection.
- Remote tables are not supported.

Replication Flows: Cause: Possible causes of error: Detailed error message (status code: \-1 error code: null error message: auth failure: http error \-1; url=\x26#39;https:\/\/login.microsoftonline.com\/79ddd250\-40e1\-4d41\-ba0f\-c9e9849725cb\/oauth2\/v2.0\/token\x26#39; azureadauthenticator.gettokencall threw : scc proxy error \- connection to host:port [login.microsoftonline.com:443] failed with status: forbidden (connection not allowed by ruleset)) 

Correlation ID: xxx-xxx-xxx-xxx-xxx

---------------------------------------------------------------------

Environment

  • SAP Datasphere
  • Azure Data Lake Storage (ADLS)

Cause

Check if the authentication type is OAuth 2.0 in Datasphere connection.

Resolution

If the authentication type is OAuth 2.0 in Datasphere connection, please ensure that new mapping is created in cloud connector as below:

  • Back-end Type: Non-SAP System

  • Protocol: TCP

  • Internal Host: authentication endpoint used to request the access token for OAuth 2.0 authorization (login.microsoftonline.com)

  • Port or Port Range: port for the endpoint

  • Virtual Host: must be the same as the internal host

  • Virtual Port: must be the same as the internal port

  • Check Internal Host: deselected

Keywords

DS, DSP, DWC, AZURE, ADLS G2 , KBA , DS-DI-CON , Connections , Problem

Product

SAP Datasphere all versions