Azure Function App - not triggering

Mario Sovulj 0 Reputation points
2024-09-24T07:09:58.36+00:00

Hi,

We have a blob trigger-based Function app and about 10 days ago from some reason it's stopped triggering on new files added to the blob container. Or to be more precise it's triggering one or two times a day and sometimes or I don't know if it is a coincidence it executes after I go to the Azure portal and open it to check metrics. But when it's worked as it should be it's been triggered every 15 minutes. It's hosted on Consumption plan and I read somewhere that this could be a reason because the app goes idle after some time of inactivity, but again it worked fine from about 10 days ago.

Did someone run on a similar issue?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,080 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,918 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Amira Bedhiafi 25,946 Reputation points
    2024-11-02T14:40:20.0233333+00:00

    I think this issue with your Azure Function App, which is blob-triggered, might be related to the idle state behavior of the Consumption plan.

    When hosted on a Consumption plan, function apps can go idle after periods of inactivity to conserve resources, which can delay triggers. The fact that the function sometimes triggers after you check metrics in the Azure portal suggests that this wakes up the app, aligning with this behavior.

    If the function app was working as expected until 10 days ago but now triggers only intermittently, it could be linked to changes in underlying infrastructure, storage account configuration, or potential scaling issues with the Consumption plan.

    0 comments No comments

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.