When I create an http trigger function in my function app, I can't see the details of the http function because of an error nor i can modify the script, it's like it was never created

Chadi Bennaji 5 Reputation points
2024-06-17T13:34:42.4233333+00:00

User's image

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,031 questions
Azure Startups
Azure Startups
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Startups: Companies that are in their initial stages of business and typically developing a business model and seeking financing.
285 questions
{count} vote

2 answers

Sort by: Most helpful
  1. Konstantinos Passadis 19,166 Reputation points MVP
    2024-07-03T05:57:29.4066667+00:00

    Hello @Chadi Bennaji !

    Thank you for your Question

    I understand you are having an issue where your Code disappears from Function Apps.

    It is a common issue and an indicator that you probably need to eploy the Function from an IDE liek VSCode The Function Apps are most efficient and controllable with a VSCode deployment

    Kindly let us know your framework and the deployment details

    Also i suggest to try with VSCode deployement :

    Links:

    https://cloudblogger.eu/2024/02/12/azure-ai-language-sentiment-analysis-with-durable-functions/

    https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-http-webhook-trigger?tabs=python-v2%2Cisolated-process%2Cnodejs-v4%2Cfunctionsv2

    --

    I hope this helps!

    Kindly mark the answer as Accepted and Upvote in case it helped!

    Regards

    0 comments No comments

  2. Ryan Hill 28,286 Reputation points Microsoft Employee
    2024-08-09T13:21:38.6633333+00:00

    Hey @Chadi Bennaji,

    Another to check is that the entry point is properly configured. Depending on the language, the platform will look for your function and this can happen if it's not found. JavaSciprt/TypeScript for example uses the main attribute in package.json to locate the function. You can use https://learn.microsoft.com/en-us/azure/azure-functions/supported-languages?tabs=isolated-process%2Cv4&pivots=programming-language-javascript#language-support-details and select the language your function is written in to make sure your entry point is properly set.

    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.