My Azure Function App only works on Premium plan

Michael Goodman 30 Reputation points
2024-07-12T17:20:02.8633333+00:00

We have a simple python Azure Functions App that deploys perfectly to Premium function apps, but when deploying to a consumption plan app, with identical config, networking/identity/environment variables, etc... it doesn't detect any functions...I've been side by side comparing the configuration, runtime versions/specs and similar, and have found no distinct difference between the two plans other than that consumption plan just does not seem to load my function.

Additionally, once the deployment is complete for the consumption plan, if I select App Files in the portal, I simply get a "Unable to fetch file content." error as below:User's image

I have application insights enabled and no logging is showing any error as such. However, when first initiated, there is occasionally a "1 function detected, 0 functions loaded" message.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,603 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,064 questions
0 comments No comments
{count} votes