@Anshul_7275 Welcome to Microsoft Q&A Forum, Thank you for posting your query here!
I understand that you are encountering HTTP Status code 500 Internal Server Error when executing HTTP Functions. You have already looked in several logs (AppInsights Exceptions, Log System, Kudu => Host Logfiles) but have not been able to find the root cause of the error.
Please follow the below action plan:
- Please check Functions metrics for the HTTP Server Errors at the time of the issue.
- Please check the Function App detectors by navigating to the Diagnose and Solve Problems section in the Azure Portal for the Functions as shown below: You can rely on the Function App Down or Reporting Errors option and the Function App Health Check option as shown below:
More Info here.
- You can also query the FunctionLogs as shown below:
More Info here.
Note: If none of the above steps help, Please share the below details over an email at AzCommunity@microsoft.com ( with subject "Attn: Naveen") and include the below details:
- Your Azure Function Name
- You Azure Function App resource URI in below format: /subscriptions/XXXXXXXXXX/resourceGroups/XXXXXX/providers/Microsoft.Web/sites/XXXXXX
- Most recent UTC time of the actual issue where you received HTTP 500 error
I will look at the backend logs to identify the root cause.
**
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.