invoke on-premises powershell from Logic Apps ?

MS Techie 2,671 Reputation points
2021-10-18T08:28:41.653+00:00

I need to invoke a PowerShell script , which resides on-premises server , from a Azure Logic App. What options do i have.

My Azure landing zone is connected to on-premises via Express Route.

Please help.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,771 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Alan Kinane 16,771 Reputation points MVP
    2021-10-18T09:50:18.467+00:00

    You can install a data gateway on one of your on-premises devices to achieve this - https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-gateway-install

    The alternative is to deploy an Integration Service Environment (ISE) which connects your logic app to an Azure virtual network (and connected networks) - https://learn.microsoft.com/en-us/azure/logic-apps/connect-virtual-network-vnet-isolated-environment


  2. MayankBargali-MSFT 67,691 Reputation points
    2021-10-19T11:54:17.05+00:00

    @MS Techie The better option would be using the Azure function

    The second option would be a better option for you to Integrate Azure Functions with an Azure virtual network by using private endpoints.
    Alternative for the logic app you can either call the azure function from logic app or create the custom connector and use OPDG to communicate with your on-premise services as Alankinane answer.

    0 comments No comments