【发布时间】:2021-02-07 12:38:46
【问题描述】:
为什么会发生这种情况,我该如何解决?
问题:
- 现有基础设施
- 由 EventGrid 触发的 Python Azure 函数
- 在 BlobUpload 到存储帐户时创建的 EventGrid 消息
- 为 EventGrid 订阅创建高级筛选器时,我收到错误消息:
Deploying Event Subscription: my-eventgrid-sub-name
Deployment has failed with the following error:
{
code:"Endpoint validation",
message:"Destination azure endpoint not found,
Resource details: resourceId:/subscriptions/<redacted>/resourceGroups/<redacted>/providers/Microsoft.Web/sites/myFunctionAppName/functions/myFunctionName.
Resource should pre-exist before attempting this operation,
Activity id:7e9c4817-5bbd-4772-a7b0-a4dbc70dbf04,
timestamp: 10/24/2020 7:01:39 PM (UTC)."
}
当然myFucnctionName 存在。它已经存在并运行了数周。似乎 EventGrid 无法“看到”函数。
编辑 1:
- 更新了上面的图片。我应该看到该应用程序已停止。我猜这会影响添加 EventGrid 过滤器的能力。
- 启动应用,现在一切正常。
【问题讨论】:
标签: python azure-functions azure-function-app azure-eventgrid