Question:
You set connection string via az webapp config connection-string set --connection-string-type SQLServer --settings MyDb="Server=myserver;Database=mydb;User Id=myuser;Password=mypassword;". Which are the valid ways to obtain it?
Answer:
GetEnvironmentVariable has to use <connection_type>CONNSTR_<name>, GetConnectionString can use it as well, or just <name>