Azure Function not running nor generating logs

James Arnold 1 Reputation point
2022-09-13T10:39:26.39+00:00

Thanks in advance for reading.

I created an Azure function app and Azure function via the VSCode command tool.
I followed the default configuration and deployed the application to my personal Azure account.

I have come across a couple of issues I am unable to remedy:

  1. The function does not invoke when either placing a file in the correct place in the storage account to trigger the function, nor when I use the test and run feature in the Function app - Despite test and run confirming it has received a 202 back.
  2. I am unable to see any logs, initially this was due to what seems to be a network issue on my company network (Would be good to know what I need to do to resolve this as well) but also once trying on my own machine as well. Which leads me to believe the function isn't being called at all.

The function is a Python, Linux application running in UK South. The overview panel says the function is running but I am unable to trigger it in any capacity.

Please let me know if there is any additional information that would be helpful to diagnose this issue.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,855 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,126 Reputation points
    2022-09-20T12:46:38.89+00:00

    @James Arnold Thanks for reaching out. Can you please refer to the application insights log of your function app and verify if there is any configuration issue i.e. the storage connection string is not added/configured correctly in your application setting of your function app? In case if your function is not configured and there is runtime error then you may not see in the logs tab while testing the function. In case there are no logs in the application insights then please try to leverage the diagnostic and solve problem to see if there are any insights on the issue.

    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.