My "azure functions" is failing to detect a v4 Azure function app without me having to include a function.json file. Is this correct behaviour? I expect that I dont have to include a function.json file since the bindings are in my index file

Groenewald, Earl 0 Reputation points
2024-06-20T11:36:46.36+00:00

My "azure functions" is failing to detect a v4 Azure function app without me having to include a function.json file. Is this correct behaviour? I expect that I dont have to include a function.json file since the bindings are now set in my index file as follows:

app.http("dueDiligenceHttpTrigger", {
  methods: ["GET", "POST"],
  authLevel: "anonymous",
  handler: dueDiligenceHttpTrigger,
});

User's image

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,114 questions
0 comments No comments
{count} votes

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.