Unable to see azure function from logic apps

R, HemanthKumar 40 Reputation points
2023-11-06T09:05:18.83+00:00

I created an azure function with a http trigger (Python v2 model) and when I try to add it to the logic apps, it does not appear in the actions, but when I create another function using the v1 model, it does. Is there anything we need to change in order for the v2 model azure function to appear in the logic app actions?

Please see the attached function_app.py, host.json and logicapp imagesUser's image

User's image

User's image

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
{count} votes

Answer accepted by question author
  1. JananiRamesh-MSFT 29,436 Reputation points Moderator
    2023-11-07T13:20:42.3433333+00:00

    @R, HemanthKumar Thanks for your engagement and sharing your workaround in the community. Since the Microsoft Q&A community has a policy that the question author cannot accept their own answer, they can only accept answers by others, I'll repost your solution in case you'd like to Accept the answer.

    Issue: when you try to add an azure function with a http trigger (Python v2 model) it to the logic apps, it does not appear in the actions, but you were able to add another function using the v1 model.

    Workaround: when modified function_app.py route argument, with empty string **@app.route(route="") we see the httptrigger (Python v2 model) in the actions.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.