cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Resolver III
Resolver III

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.

Highlighted

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (7,802)