cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SubnetJO
New Member

HOw to trigger Process from PowerApp

Hello Everybody.
I'm super - super new to PowerApps ad I need help to figure out if I can use a PowerApp to accomplish a task.
I have a powershell script that takes in input two pameters and performs some user management both on-premise and online.

I'd want a simple powerapp with a two-field form to trigger this script from my mobile phone.

 

The script can run onpremise and connect online... or can be an Azure Automation Account Runbook that also works onpremise through an Hybrid Worker Group... or I could use an Azure LogicApp that also works onpremise through an On-premise Data Gateway... no problem, but when it comes to PowerApps, I miss how to tie the PowerApp to all the backend and trigger the script.

 

During my early research I've seen there is a"connector" out there called Azure Automate, that should someway allow to easily connect to an Azure Automation account.
I found It's premium and comes at a cost and I absolutely don't want to rely it.

 

Is there a way to accomplish this task?
Could you please suggest me which is the best approach, if one?

Thank you for your help
Regards


 

2 REPLIES 2
MarvinBangert
Responsive Resident
Responsive Resident

Hey @SubnetJO 

Welcome to this forum!

 

Unfortunately all Azure connectors from Power Apps and Power Automate are premium, so you need a per-user or per-app license to use them. If you work with an Azure Automation Runbook and use parameters, you can make an input field too, so you just bring your PowerShell script to a Runbook (or Azure Functions), which should also work. The only problem is, that you cannot input/start a Runbook or Function by mobile phone (right now and as far as I know).

 

Are you the only person to use this script or will there be some more users to execute this script?

 

I hope this will help you!

 

Best regards
Marvin

If you like this post, give a Thumbs up. If it solved your request, Mark it as a Solution to enable other users to find it.

Yes I agree with Marvin advice on to purchase per-user or per-app license to use to connect to  Azure connectors to perform this task.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (35,158)