SAP Knowledge Base Article - Public

2771602 - Error when creating S4 HANA Cloud Live connection in SAP Analytics Cloud (SAC)

Symptom

The following error occurs in SAP Analytics Cloud (SAC):

  • Unable to authenticate. Please ensure your credentials are valid.
  • Cannot return OAuth 2.0 SAML Bearer Assertion because could not retrieve OAuth 2.0 access token

Environment

  • SAP Analytics Cloud 2019.4.5

Reproducing the Issue

  1. Follow the steps from SAC help guide on section "Live Data Connection to SAP S/4HANA Cloud Edition via OAuth" and create connection.
  2. When clicking on the OK button in the connection creation page, error "Unable to authenticate. Please ensure your credentials are valid." is seen.
  3. Error "Cannot return OAuth 2.0 SAML Bearer Assertion because could not retrieve OAuth 2.0 access token" can be captured from HTTP traffic

Cause

  • Missing 'Outbound Communication', or the 'Outbound Services' is not activated successfully.

Resolution

Configure the missing 'Outbound Communication':

  1. Navigate to Help Guide: Integration with SAP Analytics Cloud (1SO).
  2. Got to 'Part 2' and work through sections 1e. , 2e. and 2f.

Reactivate the 'Outbound Services':

  1. Navigate to Help Guide: Integration with SAP Analytics Cloud (1SO).
  2. Got to 'Part 2' and work through sections 2e. and 2f.

See Also

Your feedback is important to help us improve our knowledge base.

Keywords

SAP Cloud for Planning, sc4p, c4p, cforp, cloudforplanning, EPM-ODS, Cloud for Analytics, Cloud4Analytics, CloudforAnalytics, Cloud 4 Planning, BOC, SAPBusinessObjectsCloud, BusinessObjectsCloud, BOBJcloud, BOCloud., SAC, SAP AC, Cloud-Analytics, CloudAnalytics, SAPCloudAnalytics , KBA , LOD-ANA , SAP Analytics Cloud (SAC) , LOD-ANA-BI , Business Intelligence Functionality, Analytic Models , LOD-ANA-PL , Planning , LOD-ANA-BR , SAC Boardroom , LOD-ANA-PR , SAC Predicitive , Problem

Product

SAP Analytics Cloud 1.0 ; SAP S/4HANA Cloud 1902