question

RaeGoodhart-4354 avatar image
0 Votes"
RaeGoodhart-4354 asked MikeUrnun edited

Azure Functions - No App Host Keys and Cannot Create

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
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Pranay-9917 avatar image
1 Vote"
Pranay-9917 answered MikeUrnun commented

@RaeGoodhart-4354
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://docs.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.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@RaeGoodhart-4354 Yes, per the answer above, please ensure all required App Settings are there in your setup, especially: AzureWebJobsDashboard and AzureWebJobsStorage. I found the following discussion insightful: arm template deployed function app has no host keys and throws errors


0 Votes 0 ·