cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Flow to run a powershell in On Premise

Hi all,
I am trying to create a flow that allows me to execute a script in On Premise machine. Certain parameters of the scripts are provided in a mail which activates the flow. The script could be hosted in azure (azure automation). Do I need a gateway to connect it or how can I solve it?
Thanks in advance.
Best regards

6 REPLIES 6
Highlighted
Super User III
Super User III

Re: Flow to run a powershell in On Premise

hi @Jemo  in my experience you can't do this becouse there are no onpremise sharepoint conector sorry



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA
Highlighted
Frequent Visitor

Re: Flow to run a powershell in On Premise

Thank you for your reply Christian.

 

As I can see. with Hybrid Runbook Worker https://docs.microsoft.com/es-es/azure/automation/automation-hybrid-runbook-worker

could be possible. It creates a connection between Azure Automation and on premise machine.

 

I'll keep investigating.

 

Thanks!

Highlighted
Post Prodigy
Post Prodigy

Re: Flow to run a powershell in On Premise

Hi @Jemo

It seems to me you are going to use extremely complicated way.

I'd create a so called Exchange transport agent that will implement your functionality. 

Regards,

Victor

Frequent Visitor

Re: Flow to run a powershell in On Premise

Hi Victor,

I don't know what you mean, how could I implement it?

Thanks. 

Highlighted
Post Prodigy
Post Prodigy

Re: Flow to run a powershell in On Premise

Highlighted
Super User III
Super User III

Re: Flow to run a powershell in On Premise

@Jemo  shure but it depends on what you are going to do, for example if you want yo get some result from app that is on your vm you can use vpn site to site to conect your runnbooks or you can expose a an API to use it in Power Automate and conect to your runnboks to. 



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (8,328)