question

NirenAdhikary-2068 avatar image
0 Votes"
NirenAdhikary-2068 asked MughundhanRaveendran-MSFT commented

Azure function app

Host key is missing in the function app and the function app is running but not getting trigger. The app was deployed as bicep template.

azure-functions
· 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.

@NirenAdhikary-2068 ,

Are you able to see the functions in the portal? or are you getting "function runtime unreachable" error when you open the functions page?

0 Votes 0 ·

1 Answer

BrunoLucas-9843 avatar image
0 Votes"
BrunoLucas-9843 answered BrunoLucas-9843 edited

Hi @NirenAdhikary-2068 ,

I don't use bicep but I have noticed this problem while using terraform. Azure Functions need access to the storage to generate and store keys. Your bicep script may be causing something that is blocking access to the storage or dropping the storage

This topic has already been discussed here:
https://docs.microsoft.com/en-us/answers/questions/196946/azure-function-host-keys-missing.html

Can you share the bicep script?

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.