Azure Functions - No App Host Keys and Cannot Create

Rae Goodhart 11 Reputation points Microsoft Employee
2021-04-09T18:56:57.04+00:00

Hello,

I recently found that one of my Azure Functions instances does not have any Host keys listed at all in the App Keys blade of the portal - not even a default or master key. When I try to create any key, it fails with "Failed to create XXX: Encountered an error (InternalServerError) from host runtime."

Any ideas on how to resolve would be greatly appreciated!

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

1 answer

Sort by: Most helpful
  1. Pranay 291 Reputation points
    2021-04-09T19:18:56.727+00:00

    @Rae Goodhart
    Hi

    1. Could you pls check if the property is present in configuration: AzureWebJobsStorage ( it’s a link for your blob storage). Might be one of the reasons the key is not generated.

    You can refer: https://learn.microsoft.com/en-us/azure/azure-functions/functions-how-to-use-azure-function-app-settings?tabs=portal

    If that’s available.

    1. Could you try to create a new functions app and check if the keys are being created?

    Please update me the answer.

    2 people found this answer helpful.

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.