Blob triggered Azure Function not executed when Blob is uploaded by certain user. The Blob Created Event is matched and delivered as expected.

Nico Kestel 0 Reputation points
2025-01-10T08:50:46.8366667+00:00

I have set up an Azure Function that is triggered by Blob Create Events via an Event Subscription.

When I upload a file to the container, the Blob Creation Event is published, matched and delivered, also the Function is invoked and the file gets processed as expected.

When a colleague uploads a file to the container, the Blob Creation Event is also published, matched and delivered but the Function is not invoked.

I have already checked that the Blob types of both of our blobs are the same (Block Blob) and I have already tested different upload methods such as uploading via the Azure Portal and SFTP. I can not replicate the behaviour my colleague experiences.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,346 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,044 questions
Azure Event Grid
Azure Event Grid
An Azure event routing service designed for high availability, consistent performance, and dynamic scale.
416 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Pinaki Ghatak 5,575 Reputation points Microsoft Employee
    2025-01-13T10:20:02.3066667+00:00

    Hello @Nico Kestel

    There are two things to check:

    1. The function app is not tied to a user account, but using a Managed Identity to get the file from Storage account.
    2. The function is running on the context of Azure cloud, and not locally (as in VS Code or Visual Studio debug mode).
    3. See that the file uploaded by your colleague is actually there, by using the Azure storage explorer.

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.