Support data management gateway in http, http + swagger api connector
It is close to a showstopper that logic apps cannot access on premise web services natively in the same way that they can access on premise files or databases.
This limits severely the available scope of what logic apps can be used for without having to drop down to programming (e.g. API apps + Hybrid connections) or some other complex solutions with AD Application gateways, vnets etc...
Allowing the http and http + swagger API connector to make use of the On Premise Data Management gateway (or alternatively, make use of hybrid connections) would be a coherent and logical way to solve this requirement
Logic Apps now supports creating custom connectors to on-premises endpoints.
Jan Hurst commented
@Logic Apps Team I really don't feel that the custom connector solution satisfies the intent of this improvement suggestion, or at least my interpretation, and I don't think the improvement suggestion could be considered "complete".
My expectation is that I can simply select the HTTP connector, and tick a check box to indicate I wish to run the HTTP request via an on premise data gateway, and select from the list of my available gateways.
Exporting and creating an API, then registering and creating a custom connector is simply far too much work for the vast majority of use cases I have, that is simple adhoc one off HTTP request to my internal web servers.
I do appreciate that a custom connector is a better choice for exposing a complex API, and it is fantastic that the custom connector can now use the on prem data gateway, but I consider this a "work around" for the functionality that this improvement suggestion was asking for.
You can create a codeless custom connector that describes your service and then use that custom connector in your logic app to communicate to the service on-prem via the gateway. See this article for more information on custom connectors: https://docs.microsoft.com/en-us/azure/logic-apps/custom-connector-overview
Jan Hurst commented
Can you please provide some more information on how this works? I was expecting to be able to select an on premise data gateway from a HTTP action.
Tim Traub commented
Is this feature available? I saw a the following tweet:
Azure Logic Apps
You asked for it, and here it is - the ability to call on-premises APIs via the On-premises Data Gateway for REST and SOAP-based custom connectors is now available Just check the box to enable!
Just to complement my proposal above, I have submitted a related request on the APIM feedback form proposing that APIM adds support for hybrid connection manager as a way to publish onPremise web services.
THis could alleviate / complement the need for supporting the OPDG in the http/http+swagger connector thought it does not remove the need for it.
As mentionned in that request, I am getting really perplexed at the reluctance/resistance from Microsoft to making access to on premise web services as simple as MS does for files or SQL Server - it really seems an obvious, low hanging fruit missing functionality to add...
Peter Takacs commented
I just wanted to post this idea! I am searching for a solution to make http post's to a on-premises web application(basic authentication). It would be really cool if it worked through the On-premises data gateway which is now in preview!