azure-functions - 值不能为空。 (参数 'uriString')

标签 azure-functions azure-function-app

在部署 Azure 函数时,我在 Application Insights 中看到以下异常:

enter image description here

我的配置设置如下:

enter image description here

key 保管库包含服务总线连接字符串:

enter image description here

我错过了什么?

最佳答案

确保您读取的任何环境变量(例如 Environment.GetEnvironmentVariable("key"))在 Azure 应用服务设置中具有值。

发布选项卡 > 托管部分 > ... > 管理 Azure 应用服务设置 > 检查是否有任何 key 没有值

publish tab

app settings

关于azure-functions - 值不能为空。 (参数 'uriString'),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65910672/

相关文章:

java - mvn azure 函数 :deploy creates 'not valid storage account name'

Azure Functions 应用程序在发布后为只读

Azure 服务总线主题触发器未命中断点

c# - 在 Visual Studio 中使用 --useHttps 运行 Azure Functions 项目时出错

Azure 函数核心工具安装卡在 Visual Studio Code 中

azure - 如何在Azure功能上安装apt-get包

Azure Function App - 尝试从 v2 工具发布到 v1 函数应用程序

stackexchange.redis - Azure Function App 无法加载 System.IO.Pipelines 连接到 Redis

python - 加载 Python 3.8 Azure Function 的 azure-cosmos 库时出现问题

azure - 时间触发的azure函数在部署后立即触发