.NET: Microsoft Technologies based on the .NET software framework. Runtime: An environment required to run apps that aren't compiled to machine language.
Hi @Ben Hmida, Syrine ,
I checked the base image mcr.microsoft.com/azure-functions/dotnet-isolated:4-dotnet-isolated7.0-appservice, and it appears to be available, so this does not look like an image-not-found issue.
For a Linux custom container Function App, the next thing to check is whether the Function host is actually starting inside the deployed container. Please review the container/Docker startup logs from the SCM/Kudu site:
https://<function-app-name>.scm.azurewebsites.net
Look for errors such as host startup exceptions, missing files under /home/site/wwwroot, invalid or inaccessible AzureWebJobsStorage, FUNCTIONS_WORKER_RUNTIME mismatch, or port conflicts. If the host cannot start, the portal can show Runtime Version: Error, and trigger sync can fail with ServiceUnavailable.
Also, since this image targets .NET 7 isolated, it is worth testing/rebuilding with a supported Functions v4 isolated base image such as:
mcr.microsoft.com/azure-functions/dotnet-isolated:4-dotnet-isolated8.0-appservice
Please also confirm these app settings are present and valid:
FUNCTIONS_EXTENSION_VERSION=~4
FUNCTIONS_WORKER_RUNTIME=dotnet-isolated
AzureWebJobsStorage=<valid storage connection>
AzureWebJobsScriptRoot=/home/site/wwwroot
Reverting the Function runtime from v4 to v3 is unlikely to help here because the container image is based on the Functions v4 isolated runtime.
If you found my response helpful or informative, I would greatly appreciate it if you could follow this guidance or provide feedback.
Thank you.