Update azure function app setting using Azure pipeline

Mishra, Arpit 1 Reputation point
2022-07-13T03:18:21.917+00:00

is there any way we can update the app setting of function app using release pipeline, please?

or using a file deployed in GitHub to add a new variables in function app and that file we can pass in azure release pipeline or something related to that, please let me know

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,992 questions
Azure DevTest Labs
Azure DevTest Labs
An Azure service that is used for provisioning development and test environments.
251 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Andriy Bilous 10,731 Reputation points MVP
    2022-07-13T04:43:15.55+00:00

    Hello @Mishra, Arpit

    You can use normal Azure Functions task and configure your App settings there

    Edit web app application settings following the syntax -key value . Value containing spaces should be enclosed in double quotes.
    Example :

    -Port 5000   
    -RequestTimeout 5000  
    -WEBSITE_TIME_ZONE "Eastern Standard Time"  
    

    220262-image.png

    If you think your question has been answered, click "Mark as Accept Answer" if just helped click "Vote as helpful". This can be beneficial to other community members reading this forum thread.

    0 comments No comments

  2. Mishra, Arpit 1 Reputation point
    2022-07-13T05:35:25.787+00:00

    Hi @Andriy Bilous ,

    Thanks for the response! that is the way to update app setting in azure pipelines.

    by any chance, do we have another way by which we can use file.json(updating the app setting or to create one) in Github and can use that file or provide the path of it in pipeline. or related to this.

    much appreciated!