Encountered an error (InternalServerError) from host runtime. Azure Function App tutorial.

Mathew Turner 0 Reputation points
2025-05-03T01:34:39.9433333+00:00

I have followed this training step by step multiple times.
https://learn.microsoft.com/en-us/training/modules/develop-azure-functions/5-create-function-visual-studio-code

I continuously get a 500 Error when trying to run the function in Azure via vs code. The creation and deployment is successful and it runs locally, but when I test after deployment to azure I get

"Encountered an error (InternalServerError) from host runtime."

Application insights and logs show nothing!.

This is part of a learning series so I am not sure how we are supposed to be able to have the knowledge to debug this. All I have done is try to re complete the instructions over and over but same result every single time.

Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
2,394 questions
0 comments No comments
{count} votes

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.