Azure Function deployed successfully but triggers not found

Santhosh 0 Reputation points


I'm building a function app which has 2 triggers, a blob trigger and a HTTP trigger. This runs fine while we debug this locally. However, when we try to deploy this to the function app, it says no triggers found

User's image

Below is my code for the triggers

User's image

This is my localsettings.json file

User's image

Initially there was a warning which mentioned that the function app had python 3.11 whereas the local vs was using 3.10. I updated the function app setting to 3.10 but that didnt help. Any help would be greatly appreciated.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,386 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ryan Hill 26,241 Reputation points Microsoft Employee

    Hi @Santhosh,

    When using the V2 programming model, is the entry point for the function app, see It's used by the host to bind the triggers. You need to you have those trigger methods either defined or referenced in this file.

    0 comments No comments