Logic Apps finally love PowerShell

Microsoft finally added PowerShell support directly to Logic Apps, and it’s exactly what I’ve been waiting for.
I’ll admit it - I’ve been frustrated with the Logic Apps vs Azure Functions dilemma for a while now. Logic Apps give you that beautiful visual interface that even your manager can understand, but the moment you need anything slightly complex, you’re stuck. Azure Functions give you all the power in the world, but good luck explaining what’s happening to anyone without a development background.
Middle-code
Microsoft just released a preview feature that bridges this gap perfectly: Execute PowerShell Code actions directly within Logic Apps Standard workflows.
No more creating Azure Functions just to run a few lines of PowerShell. No more explaining to your team why you need three different services just to parse some JSON and make a simple API call.
You get the visual workflow that makes Logic Apps great, plus the power of PowerShell when you actually need to get stuff done.
What this actually means
You can now:
- Write PowerShell code directly in your Logic Apps workflow
- Access data from previous workflow actions and triggers
- Return results to subsequent actions for all the Logic App integration goodness
- Use managed identities for Azure authentication
- Import PowerShell modules (public and private)
- Visual representation on if your code ran as expected
Think of it as the “middle-code” solution we’ve all been looking for.
Real-World examples
Instead of bouncing between Logic Apps for simple stuff and Functions for anything remotely complex, you can handle most automation scenarios in one place. Your workflows stay readable and maintainable, but you’re not limited to basic built-in actions anymore.
Want to see this in action?
I’m diving deep into this functionality at PSConf.EU this year. My session is called “When low-code solutions are too dumb and high-code solutions are too clever” and I’ll be showing exactly how to leverage this new PowerShell integration for real automation scenarios.
Tuesday, June 24th at 09:00 - Malmö, Sweden
I’ll cover practical examples, optimization techniques, and how to build powerful automations that your entire team can understand and maintain.
This preview feature is a real interesting, and I’m excited to show you what’s possible when Logic Apps and PowerShell finally work together properly!
Happy scripting and hope to see you in Malmö! 😀