Hi Jhon Elmer Bustamante Botero
Thanks for reaching out on Microsoft Q&A!
It's not a 101 answer to your question, as "integrating SAP to APIM" isn't a one-off, but I'm going to provide you with guidance on what is possible in my opinion:
- When your SAP product has an public facing API endpoint:
- APIM can connect directly to it
- Your inbound policy can make sure authorization for the backend is set
- When your SAP product does not have a public facing API endpoint, but does have an API:
- You could upscale your APIM to Premium, however this can be a costly thing to do; Within the Premium tier you're able to:
- Connect to a VNet which can be connected to the network where SAP lives
- From that point forward you can use APIM policies again. just like a public facing endpoint, to connect to your SAP environment
- As upscaling is coslty you could also use Logic Apps connected to APIM:
- You can connect to SAP through the On-Premises Data Gateway, providing access to your perimeter network, after which the endpoint can be reached using the 'HTTP using Azure AD' connector in Logic Apps
- When your SAP product does not have a public facing API endpoint, and does not have an API (but RFC/BAPI):
- You must use Logic Apps, again connected through the APIM, connecting to RFC/BAPI over the On-Premises Data Gateway providing access o your perimeter network
- Now you can use the default 'SAP Connector' in the Logic Apps
In all cases you can use Azure API Management to upgrade security, which is best practice, to validate your callers before continuing to the backend (like for example validating through JWT and such).
Please click 'Accept answer' if you find this helpful.
Feel free to drop additional queries in the comments below!
Kind regards,
Sonny