0
votes

I have a .Net Framework 4.6.2 Web Application which deployed in Azure App Service. In Web.config file, it has some passwords in <appSettings> element, and some connection strings in <connectionStrings> element. I want to keep both in Azure Key Vault secrets, and retrieve them from Azure DevOps with service connection and push the secrets' value to Application settings and Connection strings in App Service. enter image description here

I'm able to do this for Application settings in Deploy Azure App Service > Application and Configuration Settings > App settings, but not for Connection strings. How to set App Service Connection strings from Azure DevOps? Thanks. enter image description here

1

1 Answers

1
votes

Use "Azure App Service Settings" to set the connection string. Hope this helps!

Azure App Service Settings

You can refer to this official issue thread Let me know if it worked.