Deploy local.settings.json from code via Azure DevOps pipeline

SINGH Ritu 0 Reputation points
2024-05-22T10:30:08.71+00:00

We are looking for some advice in how we automate the code configuration local.settings.json file parameters to be deployed via Azure DevOps pipeline for our azure functions which are written in c#
At present we are manually adding the app settings to azure Functions via Azure DevOps Task(Azure Functions). Our deployments do not process the local.settings.json file even though it is present in the codebase.
We are aware when we deploy from visual studio direct to Azure that these values directly gets reflected in app settings without any manual intervention.
We need direction to understand how we can automate the configuration values when using ADO pipelines.
How easy is it? Is it possible? Can you provide links or recommendation on how we can achieve this, much appreciated.
Ritu

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,130 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 69,931 Reputation points
    2024-05-22T14:32:27.91+00:00

    Hi @SINGH Ritu

    Welcome to Microsoft Q&A! Thanks for posting the question.

    DevOps is currently not supported in the Q&A forums, the supported products are listed over here https://docs.microsoft.com/en-us/answers/products (more to be added later on).

    You can ask the experts in the dedicated forum over here:

    https://stackoverflow.com/questions/tagged/devops

    https://developercommunity.visualstudio.com/spaces/21/index.html

    Please 'Accept Answer' if it helped so that it can help others in the community looking for help on similar topics.

    0 comments No comments