Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Value cannot be null. (Parameter 'uriString')

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

enter image description here

I have the following in config setting:

enter image description here

The key vault contains the service bus connection string:

enter image description here

What am I missing?

like image 272
user989988 Avatar asked Oct 31 '25 16:10

user989988


1 Answers

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

publish tab

app settings

like image 172
Circle Hsiao Avatar answered Nov 03 '25 17:11

Circle Hsiao



Donate For Us

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