1

Had a quick google, and there appears to be nothing out there.

Can an Azure Pipeline update Azure App Configuration? Or would it make sense to be builds and deployment/run-time config away from each other

Stuart.Sklinar
  • 3,683
  • 4
  • 35
  • 89
  • Hi friend, any update for this issue? Can rickvdbosch's answer helps to resolve your issue? If this issue persists to block you, feel free to let us know :) – LoLance Jan 16 '20 at 10:41

3 Answers3

2

Probably the simplest solution to get this working is by using Azure CLI which you can integrate into your pipelines using the Azure CLI task.

To update, use the az appconfig kv set command.

Set a key using an App Configuration name and label
az appconfig kv set -n {name} --key {key1} --label {label} --value {value1} --content-type {text} --tags {tag1,tag2}

rickvdbosch
  • 14,105
  • 2
  • 40
  • 53
2

Can an Azure Pipeline update Azure App Configuration?

Apart from the az appconfig kv set in rickvdbosch's answer, you can also consider using Azure Resource Manager which can also be used to manage app settings. See similar hint here.

You can use Override template parameters option in Azure Resource Group Deployment task to update the app configurations in build/release pipeline.

enter image description here

LoLance
  • 25,666
  • 1
  • 39
  • 73
2

The Azure App Configuration Push task works pretty well now :

https://learn.microsoft.com/en-us/azure/azure-app-configuration/push-kv-devops-pipeline

Jonas
  • 88
  • 1
  • 6