Azure function monthly trigger doesn't fire

75 views Asked by At

I have an azure function that runs the first day of every month.

This is my CRON: 0 0 0 1 * *

It works fine in the last 6/7 months, but today the trigger doesn't fire.

I checked azure portal and invocations in last 30 days is 0.

Now has one because I run FA manually

Is there a place where I can see information on why the function-app didn't run?

1

There are 1 answers

0
AudioBubble On

Is there a place where I can see information on why the function-app didn't run?

In the Storage Account, you can see the logs of the Functions in your Function App. As you are saying that one of the Function Triggers is not working/triggered, check the log files located in the File Shares of the storage account associated with your Function App.

Check the below file path for the Function Invocations (Ids and Results):

  1. Go to the Storage Account (linked with your Function App)
  2. File Share named with your Function App > Click on "Browse" option > Log Files > Application > Functions > Your Function Name > Download the Log File and Open it >

enter image description here

You can check the above path for the past and present logs stored for diagnosis if you didn't specify any retention period for the Azure File Shares.

For details about Retention Period, Soft Delete on Azure File shares, visit this MS Doc1 & Doc2.