Function not created in function app on deployment

Komre, Ved Prakash 0 Reputation points
2023-12-19T13:33:50.1566667+00:00

Hi there,

I want to know with what configuration we should create a function app for our project python-v2 show that we could be able to deploy our functions to function app and see the deployment log. Currently we are facing issue ,that we deploy the functions to function app deployment status get complete but no function get completed. How can we check the logs on function app to find the error, in local console we don't find any error logs.

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

2 answers

Sort by: Most helpful
  1. Dan Rios 2,020 Reputation points MVP
    2023-12-19T16:24:32.8633333+00:00

    Hi,

    I've seen this issue quite a lot with customers using Python Functions. In my opinion it's a bit of a bug in Azure that doesn't show a failing dependency, module/library, etc in the logs. However, here is the main GitHub issue on this problem:

    https://github.com/Azure/azure-functions-python-worker/issues/1262

    Specifically, review the comments which have a lot of troubleshooting tips/fixes for various different problems faced.

    Sometimes it's the order in which the function imports or requirements.txt issues on library versions etc.

    Review the GitHub issue comments which have a lot of fixes and pointers which will guide you to sort this issue.

    Additionally, you can in Azure go to 'Resource health' on the Azure Function > 'Diagnose and solve problems' button at the top which will take you to the 'Function App Diagnostics (Preview)' where you can click on 'Availability and Performance' and review on the left the Python Function or Startup checks to verify any issues which sometimes help to identify some problems. But I suspect the GitHub page will be infinitely more useful for you.

    If this was useful and helped you please feel free to mark as the accepted answer.

    0 comments No comments

  2. MayankBargali-MSFT 70,936 Reputation points Moderator
    2023-12-22T02:56:02.93+00:00

    @Komre, Ved Prakash Thanks for reaching out. You can review the application insights logs to know if there was any error/exception in the azure function runtime or while executing your function. In case if there is no error/exception then it could be function sync issue and you can try syncing the function app again and see if it helps you.

    You can also review the diagnose and solve blade on your function app to know more details on the issue and the action plan if any to resolve the issue.

    0 comments No comments

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.