@Mohanraj Vijayan Thank you for contacting us! If you are using VSCode or Visual Studio, please make sure that SCM_DO_BUILD_DURING_DEPLOYMENT
is either set to false or removed from the app settings.
This is because VSCode and Visual Studio use OneDeploy instead of Oryx build, and using both methods simultaneously can cause this issue.
SCM_DO_BUILD_DURING_DEPLOYMENT
works in scenarios where the code is deployed from Azure CLI, Local Git and GitHub repos using the ZIPDEPLOY method.
You can learn more about it here: https://learn.microsoft.com/en-us/azure/app-service/reference-app-settings?tabs=kudu%2Cdotnet#build-automation
Also Suggest you please double check this official document if any step missing Quickstart: Create a function in Azure with Python using Visual Studio Code You may try using- Deploy by using Azure CLI Let us know.