Flex Consumption Plan Function App Duplicate Functions

Chris Gray 10 Reputation points
2025-09-17T10:02:07.6266667+00:00

I have a flex consumption plan which has a duplicate function. I have checked with my dev team to make sure they have not accidentally caused this within the code, but they have confirmed to me that is not the case.

I am deploying using Azure Function Deploy task in Azure DevOps. I have seen other posts which suggest using Kudu but we dont have access to that with flex consumption. Is there a way around this without having to recreate the function app?

Deployment logs have this issue:

"Function triggers synchronization failed due to Response status code does not indicate success: 500 (Internal Server Error). Please run sync trigger manually."

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
{count} votes

2 answers

Sort by: Most helpful
  1. Rakesh Mishra 2,025 Reputation points Microsoft External Staff Moderator
    2025-09-19T07:47:21.8966667+00:00

    Hi Chris Gray,

    Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.

    There is currently a known issue in Azure Function App with Flex consumption plan. Below are the issues open in GitHub.

    Unfortunately, currently there is no other way to recover the function app host once code with duplicate functions is deployed. Function App would have to be recreated.

    To avoid this issue in future, we need to debug code in local. Functions CLI tools does throw an error while running project.

    Hope this helps! Please do let me know if you have any other questions on this.

    0 comments No comments

  2. Thiago Almeida 16 Reputation points Microsoft Employee
    2025-10-21T19:43:03.0266667+00:00

    Chris - this is not normal behavior. Does Application Insights show any other exceptions in the trace or exceptions tables related to this problem? Or did you create a support ticket for this? We should get to the bottom of why this is happening and you are getting Internal Server Error from the deployment.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.