question

MSTechie-7364 avatar image
0 Votes"
MSTechie-7364 asked MayankBargali-MSFT answered

invoke on-premises powershell from Logic Apps ?

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
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AlanKinane avatar image
0 Votes"
AlanKinane answered

You can install a data gateway on one of your on-premises devices to achieve this - https://docs.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://docs.microsoft.com/en-us/azure/logic-apps/connect-virtual-network-vnet-isolated-environment

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MayankBargali-MSFT avatar image
0 Votes"
MayankBargali-MSFT answered

@MSTechie-7364 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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.