I'm having the sam issue. I also opened a new account but it is happening there too. After the first http trigger function disappeared, I cannot open a new one from Azure portal, nor from vs code deployment. Any help?
Azure function disappears after running for a while
Charles Huang
21
Reputation points
Hi Azure team, recently I'm trying out Azure function app but run into weird issues where deployed function disappears after running for a short period of time, the steps to reproduce are as below:
- create function app "echo4"
- verify https://echo4.azurewebsites.net is accessible
- create function "echo42" using visual studio code and deploy.
- verify https://echo4.azurewebsites.net/api/echo42 is accessible and returns 200 with result, and in azure portal, "echo42" is visible in functions list.
- after certain time (not sure exactly how long, last tested was 30 mins - 45 mins)
- https://echo4.azurewebsites.net is still accessible, but https://echo4.azurewebsites.net/api/echo42 is not longer accessible, returning 404 when invoking https://echo4.azurewebsites.net/api/echo42
- navigate to azure portal, "echo42" is no longer visible
Not sure what actually causes it but it's very annoying, tried redeploying the function but after a while it disappeared again, repeated a few times but results were all the same.
Function model is v4, runtime is nodejs 18.
Any insight would be very appreciated.