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.
5,909 questions
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,542 questions
{count} votes

Accepted answer
  1. JananiRamesh-MSFT 29,261 Reputation points
    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 Answers by the question author, which helps users to know the answer solved the author's problem.