Azure Function Host Keys missing

TheRealBernard 26 Reputation points
2020-12-14T05:11:00.88+00:00

The host keys suddenly went missing. Any idea how to regenerate it or why it is missing?

47752-image.png

I am getting 404 if i try to re-register master key or add any key
47777-screenshot-40.png

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

3 answers

Sort by: Most helpful
  1. KondzioSSJ4 31 Reputation points
    2021-02-05T12:54:03.577+00:00

    I had the same problem

    In my case was problem with used Storage Account
    and this account was set to only accept connection from specified VNet
    and that function app wasn't there (in terms of creation where isn't any possible way to set VNet)

    so I just allow access from all networks for Storage Account
    then create Function App
    move Function App into VNet
    change network setting for Storage Account

    6 people found this answer helpful.

  2. JayaC-MSFT 5,606 Reputation points
    2020-12-19T10:40:19.397+00:00

    Did you try restarting the function ? Also please check if you have AzureWebjobsStorage app settings added in the configuration and then restart.

    https://github.com/Azure/Azure-Functions/issues/1080#issuecomment-530046535

    -------------------------------------------------------------

    Update:

    Also, check if the FUNCTIONS_EXTENSION_VERSION is set to ~3 when creating the function resource (Microsoft.Web/site).

    More info at https://www.michaelscollier.com/inconsistent-functions-host-key/

    Let me know if this helps.

    1 person found this answer helpful.

  3. Dung Vu Viet 0 Reputation points
    2023-02-17T23:43:38.23+00:00
    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.