cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
treiSapte
Level: Powered On

Error with triggering a logic app from powerapps

Hello.

 

I'm trying to call an logic app from powerapps.

Steps to recreate the scenario:

- Make a logic app that will trigger when a HTTP request is received (has some parameters maybe).

- In powerapps, go to custom connectors and choose "create from Azure Service" and the choose the logic app created earlier.

- Set the values of api-version, sp, sv and sig to the right ones.

- Test it, it should trigger the logic app (here the trigger call it works).

- Make a button with OnSelect call to "yourLogicApp.manualinvoke(yourParameters)".

And here comes my problem: Even though when I go to Custom Connector and test it, the triggering of logic app works, when i click the powerapps button it does nothing, and gives me the next error:

yourLogicApp failed: "error": "code": "DirectApiAuthorizationRequired", "The request must be authenticated only bu Shared Access scheme."

 

Can anyone help me with this?

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Error with triggering a logic app from powerapps

Hi @treiSapte 

 

Based on what I know, currently there is no direct way to trigger Logic App from PowerApps.

You should be able to run the logic App trigger using Custom API under PowerApps:

Workflow Triggers

Register custom APIs in PowerApps

 

You may also consider to run a flow within PowerApps, and use the HTTP action to trigger a logic App:

Add HTTP endpoints to call, trigger, or nest logic app workflows

 

For Microsoft Flow, follow the article below:

Start a fow in an App

 

Please check the video below and see if it would help:

http://www.integrationusergroup.com/logic-apps-powerapps-integrate-across-apis/

 

Best Regards.

Yumia

1 REPLY 1
Community Support Team
Community Support Team

Re: Error with triggering a logic app from powerapps

Hi @treiSapte 

 

Based on what I know, currently there is no direct way to trigger Logic App from PowerApps.

You should be able to run the logic App trigger using Custom API under PowerApps:

Workflow Triggers

Register custom APIs in PowerApps

 

You may also consider to run a flow within PowerApps, and use the HTTP action to trigger a logic App:

Add HTTP endpoints to call, trigger, or nest logic app workflows

 

For Microsoft Flow, follow the article below:

Start a fow in an App

 

Please check the video below and see if it would help:

http://www.integrationusergroup.com/logic-apps-powerapps-integrate-across-apis/

 

Best Regards.

Yumia

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

SixthImage

Power Summit Australia 2019

August 20-23rd 2019

Users Online
Currently online: 204 members 4,579 guests
Please welcome our newest community members: