Azure function blob trigger firing twice

Samuel Janoska 1 Reputation point

when I place a blob in container in a specific virtual directory, my azure function is supposed to fire. It does, and it does so twice. When I look in Azure Monitor, i see only one execution, but I can observe two of them in Application Insights. Also I can see that two requests are generated. How to resolve this?

I can see someone had a similar issue in the past, but I'm not working with event grid.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,016 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,283 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Vinodh247 9,256 Reputation points


    Thanks for reaching out to Microsoft Q&A.

    Are you sure the cause of event trigger (placing a blob in container in a specific virtual directory) happened only once?

    There's a nice answer from 'Mayank bargal' in the below link (it is for email trigger but both involve azure function multiple triggering issue) which analyzes all the combinations that would cause multiple triggers, please go through.

    Please Upvote and Accept as answer if the reply was helpful, this will be benefitting the other community members who go through the same issue.

    0 comments No comments

  2. Samuel Janoska 1 Reputation point

    Thank you, it appears we have already another function working (which is something that I did not think would happen so early), so the root cause is there were two functions running, one on my account and then another one.

  3. MayankBargali-MSFT 67,081 Reputation points

    Hi @Samuel Janoska

    I'm glad to see you were able to resolve your issue. Thanks for posting your solution so that others experiencing the same thing can easily reference this.

    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: You observe that your function app fires twice when you upload the blob to the configured container.

    Resolve: You found that there were two functions that was causing this behavior.

    0 comments No comments