Azure Functions are not visible in the function list after my deployment from GitHub/Kudu

Ricky chen (陈帅) 20 Reputation points
2024-08-09T11:36:59.19+00:00

currently we create azure function and two slots, one dev and one qa.

but i can deploy my python function and then i can see the function in the auzre portal but when i deploy code to dev/qa slot always get successfully result i can i check wwwroot dir i can see all the file existing, but i can not see function via azure portal i know this must be some configure issue but i have no idea about this. so any suggestion

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

1 answer

Sort by: Most helpful
  1. LeelaRajeshSayana-MSFT 17,766 Reputation points Moderator
    2024-08-09T15:26:05.9+00:00

    Hi @Ricky chen (陈帅) Greetings! Thank you for posting this question here.

    The Azure Functions action (Azure/azure-functions) defines how your code is published to an existing function app in Azure, or to a specific slot in your app.

    There is an optional parameter named slot-name which can be passed through the configuration file that determines the specific deployment slot you want to deploy the app to. When you do not pass this parameter, the app will be deployed to the current active slot.

    Please refer to the Run Azure Functions Action section of the configuration file and make sure you pass the slot-name parameter and point it to the dev slot.

    You may refer to the article section Azure Functions action for more information on this. Here is a reference to the Example workflow configuration file that will help you with forming the configuration file.

    Hope this helps! Please let us know if you need any additional assistance or have further questions.


    If the response helped, please do click Accept Answer and Yes for the answer provided. Doing so would help other community members with similar issue identify the solution. I highly appreciate your contribution to the community.

    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.