question

MayankPujara-5409 avatar image
0 Votes"
MayankPujara-5409 asked JayaC-MSFT edited

Azure Functions suddenly started getting error "azure function cannot find function: '<my function name>', available function names: []"

Hello,

Started getting error suddenly on my azure functions ... following is details I see under logs....
"azure function cannot find function: '<my function name>', available function names: []"


how to fix this ?

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.

@MayankPujara-5409 Thank you for the question. We will review and update at the earliest.

0 Votes 0 ·

1 Answer

JayaC-MSFT avatar image
0 Votes"
JayaC-MSFT answered JayaC-MSFT edited

Hello @MayankPujara-5409 , I believe the function triggers are not available in your case. In that case, what you can do is :

• Restart your function app in the Azure portal
• Send an HTTP POST request to https://{functionappname}.azurewebsites.net/admin/host/synctriggers?code=<API_KEY>; using the master key.
• Send an HTTP POST request to https://management.azure.com/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/<RESOURCE_GROUP_NAME>/providers/Microsoft.Web/sites/<FUNCTION_APP_NAME>/syncfunctiontriggers?api-version=2016-08-01. Replace the placeholders with your subscription ID, resource group name, and the name of your function app


you might want to read about trigger syncing here


Please let us if know if this the case and you are still encountering the issue.

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.