Hi @Yash Seeta ,
Thanks for reaching out to Microsoft Q&A.
Here are a few things to consider and some steps to help troubleshoot the situation:
- Function Runtime Host Issues: Sometimes, the function host may not be starting up correctly. You can check for any startup exceptions in Application Insights with the following query:
exceptions | where customDimensions.Category == "Host.Startup" - Invocation Failures: If the function invocation starts but doesn't complete, you might want to look at exceptions during the execution. You can use this query:
exceptions | where customDimensions.prop__functionName =~ "<YourFunctionName>" - Check for Other Function Apps: If there are other Function Apps pulling messages from the same queue, this might cause one to appear idle. Make sure that only one app is processing the queue if that's the case.
- Diagnostics Logs: Since you've mentioned that no errors were found in Application Insights or other Azure Portal diagnostics, ensure that you check the function app logs for any silent failures. Here's a sample query for logs:
AppServiceConsoleLogs_CL | where AppName_s =~ "<YourFunctionAppName>" | where Log_s contains "FunctionAppLogs" - Always On Setting: It's good that you have the "Always On" setting enabled, but ensure that your function app is running and that there are no unusual resource spikes.
- Scaling and Load: Verify if the function app is under heavy load or if the plan is hitting its resource limits. Sometimes, functions stop responding if they are overwhelmed.
References:
- Investigating and reporting issues with timer triggered functions not firing
- Timer Trigger Troubleshooting
- Monitoring Azure Functions with Application Insights
- Check logs using Log Analytics
Hope this helps!
If the resolution was helpful, kindly take a moment to click on
and click on Yes for was this answer helpful. And, if you have any further query do let us know.