Symptom
While validating the S/4HANA On-Premise connection in SAP Datasphere, below error happens for Model Import.
- Model Import can’t be used because of errors in the connection.
Model Import: Your user is not authorized to access the ESH search service. Please check if the user has the required privileges in the backend system.
Environment
SAP Datasphere
Reproducing the Issue
Validate the connection in SAP Datasphere.
Cause
Prerequisite configurations are not fulfilled for model import.
Resolution
Please follow SAP Note 3081998 which describes all the required steps.
- 3081998 - Metadata import of CSN entities from SAP S/4HANA, on-premise edition to SAP Datasphere Cloud - central initial note
In particular, make sure checkbox "Save this credential for all users on this system" is selected in the Tunnel connection. And, when clicking the Edit button to change the settings in the Tunnel connection, this checkox will be deselected. Do not forget to select it again before click the OK button to save the change.
=== Quote ===
In the case of Cloud Connector Version 2.15 or higher, you must deactivate the "System Certificate for Logon" checkbox at the point where you define the mapping between internal host and port and virtual host and port for your SAP S/4HANA on-premise system (off = do not use certificate). This setting is used to log on to the back-end system with the user and password defined in the tunnel connection.
=== End Quote ===
Keywords
"Your user is not authorized to access the ESH search service" , KBA , DS-MD-ESH , Repository Explorer , Problem