Closed FinVamp1 closed 12 months ago
The old ListSecrets API shouldn't be used anymore. Please use the ListKeys API https://learn.microsoft.com/en-us/rest/api/appservice/web-apps/list-function-keys?view=rest-appservice-2022-03-01.
Thanks @mathewc as per your suggestion I'll resolve this.
Repro steps.
The log/error given by the failure.
{"error":{"code":"NotFound","message":"System.IO.FileNotFoundException: Function (TimerTrigger1) does not exist\r\nd__12.MoveNext() in C:\Kudu Files\Private\src\master\Kudu.Core\Functions\FunctionManager.cs:line 220\r\n
at Kudu.Core.Functions.FunctionManager.GetFuncPathAndCheckExistence(String name) in C:\Kudu Files\Private\src\master\Kudu.Core\Functions\FunctionManager.cs:line 395\r\n
at Kudu.Core.Functions.FunctionManager.
https://github.com/projectkudu/kudu/blob/2c22ace416363bda73d9363db4c3f0176d61b558/Kudu.Core/Functions/FunctionManager.cs#L387 has this code and it checks for a folder structure for the Function App rather than the metadata for Isolated Functions.
This may also come up for the new programming models for Python, Node, and PowerShell.
Mention any other details that might be useful.