HI All,
Just in case this is related, we experienced the same thing. On the 18th of February 2025 (actually sometime shortly after 17:55pm GMT a FunctionApp that had been running happily for almost 2 years suddenly went offline (internal server error 500). We have not been able to get it to service requests since,.
However, this one is on an S1 Premium tier, and has "Always On" was already enabled (as suggested in this thread). We've been able to show that (1) the 2 worker processes are running fine (2) The methods expected in the app are detected (3) no requests reach the the functionapp (nothing is logged anywhere, either in the logstream, insights or diagnostics)
It's because no incoming requests are ever 'heard' by the FunctionApp (all requests, including those with invalid keys give 500 error before they get as far as your function) - hence why your ExcelOutCheckDoc logs nothing, because the request never reaches it. It may be worth checking your "Diagnose and Solve Problems" -> "Availability and Performace" section of the FunctionApp as it may help you confirm it's the same scenario.
This issue lies with Azures infrastructure, you can prove this because if you try creating a new deployment slot (without code) you will get "Internal Server Error" across the Azure blades. In the end we abandoned that FunctionApp, redeploying to a new one which worked fine with the same code and configuration etc.
I have seen this before a few times - and this does tend to happen more with (Y1) tier FunctionApps, especially if Managed Identity (RBAC) access is being used (and you're using the "AzureWebJobsStorage__accountName" environment config key) or if it's a resource created a couple of years ago
