Azure Function error 500

Henk de Boer 1 Reputation point
2021-09-13T09:35:21.073+00:00

I have made an Azure function wich creates directorys in our sharepoint structure. This has been active for almost one year now and worked fine all the time.
But since 3 weeks it suddenly stopped working. it returns statuscode 500 with the message 'Internal Server Error'

Could you please help me were to look, I did not make any changes in the code.

Thanks in advance

Henk de Boer

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

2 answers

Sort by: Most helpful
  1. MayankBargali-MSFT 69,926 Reputation points
    2021-09-13T10:44:50.197+00:00

    @Henk de Boer 500 error could happend due to mutiple reasons and I will also suggest you to review Azure Functions diagnostics to find the root cause of the 500 error. Alternative you can also review your application insights logs for your function to know more about the full exception trace/error message that is causing 500 error.

    The above should help you to find the root cause but if it you are still facing the issue then you can create the suport ticket with us. If you don't have the support plan then please share your function app in my private comment so I can assist you further.

    0 comments No comments

  2. Troy Witthoeft 6 Reputation points
    2021-09-22T21:16:15.027+00:00

    @Henk de Boer I just want to corroborate that we are seeing a similar behavior in our oganization. We've got hundreds of function apps. It seems like many of them are failing silently right after one year of service. It's very conspicuous.