I am also unable to add/delete/update/rename connecting string in the function app connection string.
Unable to Add a Connection String in Azure App Service (Web app)
Hello all. Most of our app services use connection strings embedded in a web.config file within the code. I had a report of a user having an error when trying to add a connection string to an app service when using the Azure Portal and navigating to Settings/Environment variables and then clicking on Connection strings and then clicking +Add. When you set that up, you give the connection string a Name, Value, and Type. When you fill that in and click Apply, it shows the connection string that you want to add and you have to click Apply again and then Confirm. After that, you figure that the add took, however, the connection strings area is blank. and it wasn't added. After a couple of minutes, when you look at the Activity Log for the app service, there is an Update web sites config action that took place, however, one of the sub-records shows an error and the message is, "The paramater properties has an invalid value". In looking at the JSON for that message, it shows that error with an extended code of 51008.
Doing this with a Function App, I get the same error.
Anybody ever encounter this? Is there something else that needs to be done during an add of a connection string while in the Azure Portal? Can this be made to work? It's really simple to test this.
Any feedback would be much appreciated. Thanks.
Azure App Service
1 answer
Sort by: Most helpful
-
Shinde,Mahesh 0 Reputation points
2024-11-19T11:29:13.4566667+00:00