Blob trigger not working when new file arrives in the blob storage. The files are still kept in the blob storage

Ayush Mishra 60 Reputation points
2025-07-07T18:02:22.4466667+00:00

The blob trigger functions doesn't triggers whenever a new files arrives. It works randomly sometimes and rest it doesn't processes the files

Below is my host.json
{

  "version": "2.0",
  "logging": {
    "applicationInsights": {
      "samplingSettings": {
        "isEnabled": true,
        "excludedTypes": "Request"
      }
    }
  },
  "extensionBundle": {
    "id": "Microsoft.Azure.Functions.ExtensionBundle",
    "version": "[4.0.0, 5.0.0)"
  },
  "concurrency": {
    "dynamicConcurrencyEnabled": true,
    "snapshotPersistenceEnabled": true
  }
}

Below is function.json

{
  "scriptFile": "__init__.py",
  "bindings": [
    {
      "name": "myblob",
      "type": "blobTrigger",
      "direction": "in",
      "path": "amerex-raw-files/{name}",
      "connection": "ccarbonproddata_STORAGE"
    }
  ]
}
Azure Functions
Azure Functions

An Azure service that provides an event-driven serverless compute platform.

0 comments No comments

Answer accepted by question author
Krishna Chowdary Paricharla 2,915 Reputation points Microsoft External Staff Moderator
2025-07-09T07:47:46.31+00:00

Hi Ayush Mishra •,

Your time-triggered approach to scan and process blobs is valid and gives you more control. To improve it:

  • Track processed blobs (e.g., using metadata or a database) to avoid duplicates.
  • Use blob metadata/tags to mark completion.
  • Optimize the cron interval for performance.
  • Add error handling and retries for reliability.
  • Consider parallel processing for large blob sets.

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.