Hi @johnjohn123 ,
There are few options depending on your network infrastructure:
1) Use the on premise data gateway here. It only works with selected connectors and for your case, probably the "Http with Azure AD" connector.
2) If your organisation uses Azure and has ExpressRoute or a Virtual Network VPN setup, you can deploy a Logic App (standard version) or Azure Function (premium tier) which has vNet integration. This allows you to then call an on premise endpoint just as it would be on the network. This will incur a larger cost though due to the requirement for an app service plan.
3) Your IT department could setup a reverse proxy which will then forward requests to an internal endpoint.
--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up