azure function deleted from azure function app automatically

vikalp 1 Reputation point
2022-02-17T12:10:11.953+00:00

I have created a azure function app and added three azure functions and deployed these functions using visual studio publish profile. these functions worked for me around one month. after that these function deleted from azure function automatically. now I am trying to re-create function but it is not working. I have consumption plan .could you please help me what reason for this issue and how can I fix this issue.

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

3 answers

Sort by: Most helpful
  1. sadomovalex 3,636 Reputation points
    2022-02-17T15:07:41.967+00:00

    try to check Function app > Activity log. May be functions were deleted after unsuccessful attempt to update it


  2. MughundhanRaveendran-MSFT 12,506 Reputation points
    2022-02-22T07:39:21.757+00:00

    @vikalp ,

    As mentioned by @sadomovalex , if the function inside the function app was deleted , it can be viewed in the Activity logs and who initiated that action. If you are unable to create the function via portal, you can try to create the function via CLI,Visual Studio/VScode and deploy the code directly from the IDE. You can choose the existing function app and create new functions.

    Please note that, once you create the functions from IDE such as VS code/Visual studio, the Azure Functions portal becomes read only and exisiting functions in the portal will be overwritten.

    I hope this helps!

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.


  3. anurag sen 1 Reputation point
    2022-07-10T19:07:54.85+00:00

    Is it possible to recover the Missing / Deleted Functions from FunctionApp ??


Your answer

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