An Azure service that provides an event-driven serverless compute platform.
Hello Lairu !
Thank you for posting on MS Learn Q&A.
You need to remove the app setting from the function app and redeploy or restart.
In the Azure portal, go to function app the settings tehn environment variables and under app settings, delete
WEBSITE_RUN_FROM_PACKAGE then click apply and restart.
If you prefer Azure CLI :
az functionapp config appsettings delete \
--name <function-app-name> \
--resource-group <resource-group-name> \
--setting-names WEBSITE_RUN_FROM_PACKAGE
az functionapp restart \
--name <function-app-name> \
--resource-group <resource-group-name>
Do not just set it to 0 because the supported values as 1 or a package url so the clean way to disable it is to remove the setting. Also when WEBSITE_RUN_FROM_PACKAGE is enabled, wwwroot becomes read only, so any function code that writes files under wwwroot can fail.