@kn , thank you for reaching out to us. Azure Function Apps can run on Linux, check out Create a function app on Linux in an Azure App Service plan for more information. Further, I deployed WatchPortalFunction
on Linux Azure Function App:
and it runs successfully:
I suspect that you might have tried to Web Deploy
your solution using VS, I would recommend you to make sure that you deploy using Zip Deploy
:
I am also getting error if I Web Deploy
:
And, this behavior is because Linux does not support Web Deploy method:
Let me know if you have any follow-up query, will be happy to address.
-----------------------------------------------------------------------------------------------------------
Please "Accept the answer" and upvote if the information helped you. This will help us and others in the community as well.