Showing results for 
Search instead for 
Did you mean: 

Custom connector actions not working in flows inside a solution

I have a custom connector action that I am using in a flow. The flow is in a solution that I created under the "Solutions" tab.

Whenever the flow is triggered, it fails at the custom action with the following error

BadRequest. The 'api' property must be provided in the 'ApiConnection' action inputs 
unless the connection is a connection under a managed API.

But the same flow is working when I create it under the "My flows" tab.


I need the flow to be in a solution as part of my requirement.


Please help

Thank you

Community Support
Community Support

Hi @sandeepnmenon,


From the error message, it seems that the ‘api’ property has not been provided in the ‘ApiConnection’ action inputs.

Are you using Managed APIs?

Could you check your Custom Connector configuration?

Hope the following docs could be your reference:

Schema updates for Azure Logic Apps - August 1, 2015 preview

Connectors for Azure Logic Apps


Best regards,


Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you @v-yamao-msft for the reply


No I am not using a Managed API. I am using an azure function that I deployed using my subscription. I am using AAD authentication to configure the OAuth 2.0 authentication for the custom connector.


What should I change in the custom connector configuration? Cannot see any 'api' property.

New Member


Have you find any solution for this? I have exactly the same issue. 

Not applicable

Have you guys found the solution? 




The current workaround is to turn on/turn of the flow from the solution list view.  This action solves the problem




Continued Contributor
Continued Contributor

I have encountered this issue myself just yesterday. One of the flows fails with this same error, however another flow using the same custom connector and same action run just fine.


Another issue is that the custom connector is not available in the custom list.


I tried turning on and off as well and still did not show up on the list and is not running correctly.

I'm hoping I don't have to recreate the custom connectors.





This flow fails




This flow runs



Continued Contributor
Continued Contributor



I just fixed my issue with this error.


Apparently or possibly, the admin blocked custom connectors on the main environment.


We have an app environment specifically for everything app related, so I imported my custom connector into the app environment and now the actions work and they appear in the custom connector area once again.



Hi, in case it helps someone in the future; I had the same issue at our production environment. I fixed it by editing the flow in production, deleting the tasks in the flow that use a custom connector and creating them again. 

Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (3,380)