On deploying an Azure function, I see the following exception in Application Insights:

I have the following in config setting:

The key vault contains the service bus connection string:

What am I missing?
Make sure any environment variable you read (like Environment.GetEnvironmentVariable("key")) has value in Azure App Service settings.
Publish tab > hosting section > ... > Manage Azure App Service settings > check if any key doesn't have value


If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With