BlobTrigger event fires Azure Function multiple times

Paolo Limardo 0 Reputation points
2023-06-14T11:13:05.2433333+00:00

Hi all, I have developed an azure function that run when a blob trigger event grid (blob created) is catched in an azure storage account datalake container. The function was developed using Visual Studio Code with python programming language and its plan is consumption plan.

The azure function should take a file from the storage and process it producing an output file.

But when a blob trigger start sometimes it fires the azure function multiple time (generally twice) and produce multiple copies of the file output.

Maybe it's an azure function or blob trigger bug?

Please help.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,909 questions
Azure Event Grid
Azure Event Grid
An Azure event routing service designed for high availability, consistent performance, and dynamic scale.
454 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Cristian SPIRIDON 4,486 Reputation points Volunteer Moderator
    2023-06-14T19:03:30.56+00:00

    Hi Paolo Limardo, it could be an Azure bug: https://learn.microsoft.com/en-us/answers/questions/1094630/azure-function-trigger-twice. Can you try the suggested solution and see if that solve the issue? Hope this helps!


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.