My Azure Function aren't visible in the function list after deploying VSCode

BENEDITO POVOA 0 Reputation points
2024-04-05T14:59:04.6733333+00:00

Hi guys, after I deploy from my VSCode function by modifying the name or something in the code, it is not being reflected in the list of functions in the Azure Function resource in the portal.

User's image

I've already checked the /wwwroot folder and there it has been modified

User's image

I've checked the function's storage account and it's been modified there too

User's image

I've tried updating the function several times but I still have the same problem, does anyone know what it could be?

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

1 answer

Sort by: Most helpful
  1. Pinaki Ghatak 2,400 Reputation points Microsoft Employee
    2024-05-10T19:50:47.97+00:00

    Hello @BENEDITO POVOA

    It is possible that the changes have not been deployed to Azure yet. Have you tried redeploying the function to Azure?

    You can do this by right-clicking on the function in VSCode and selecting "Deploy to Function App". This should update the function in Azure with the latest changes. If this does not work, it is possible that there is an issue with the deployment process. In this case, you can try deploying the function using advanced create options. This will allow you to customize the names of the resources and reuse existing resources.

    You can find more information on how to do this in the following link: https://docs.microsoft.com/en-us/azure/azure-functions/functions-develop-vs-code?tabs=csharp#enable-publishing-with-advanced-create-options


    I hope that this response has addressed your query and helped you overcome your challenges. If so, please mark this response as Answered. This will not only acknowledge our efforts, but also assist other community members who may be looking for similar solutions.

    0 comments No comments