Moving from Azure Function Consumption to Flex Consumption breaks DevOps pipeline

Valentin LABAT 5 Reputation points
2024-06-27T13:51:24.79+00:00

Hi,

I have a function app in Python 3.9. This function is deployed to Azure with a DevOps CI/CD pipeline. First, this function app was in Consumption mode. Big downside is that passwords for api calls, etc. are store in the code.

We asked Microsoft to get the Flex Consumption Plan, and we get it. Now, I created a second function app, in Flex Consumption Mode. I try to edit the DevOps Release pipeline by changing only the app service name :

User's image

But now, the release does not work anymore, and sends this error.

User's image

In red is my App service name, same in the error, in DevOps and in my Azure Portal.

(When I switch back to the name of the function in Consumption mode, the deployment works, so it's not a modification I didn't make on purpose that is the cause of this bug.)

Searched a long time in forums but I can't find an answer that resolves this issue.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,650 questions
{count} vote