SAP Knowledge Base Article - Public

2805974 - Error 'You are not authorized to query the remote system. Please ask your administrator to grant you the InA role.' when creating live connection to S4/HANA Cloud in SAP Analytics Cloud (SAC)

Symptom

  • Error 'You are not authorized to query the remote system. Please ask your administrator to grant you the InA role.'
  • Error 'GET https://<xxx>.sapanalytics.cloud/s4hcremotes/test/sap/bw/ina/GetServerInfo 403 (Forbidden)' from Chrome Developer tool console.
  • Error 'invalid_grant, Provided authorization grant is invalid. Exception was There is no trust between entities  and <xxx>.sapanalytics.cloud in client <xxx>. For more information, consult the kernel traces or the OAuth 2.0 trouble shooting SAP note 1688545' from HTTP response.

Environment

  • SAP Analytics Cloud

Reproducing the Issue

  1. Configure 'Live Data Connection to SAP S/4HANA Cloud Edition via OAuth' according to SAC help guide.
  2. Error 'You are not authorized to query the remote system. Please ask your administrator to grant you the InA role.' popup after click OK button. 

Cause

Communication System, Communication Arrangement or Communication User in S/4 HANA Cloud is not created with correct information

Resolution

  • In some cases, if they are not created with all the correct information before they are saved for the first time, editing them does not reflect properly.
  • If your SAC is CF tenant, please leave tenant ID blank. If your SAC is NEO, please use Chrome Developer tools to check one of the Pusher requests in the Network Tab. At the end of the Request URL, it tells you what the tenant is or please contact SAP Support
  • Make sure OAuth 2.0 Identity Provider name in your Communication System is exactly copied from SAC connection provider name.
  • [Optional] If you have Tenant Type to fill, please use C for SAC CF tenant and use A for SAC NEO tenant.

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-LDC-HAN , SAC Live Data Connection HANA , Problem

Product

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