从主题订阅完成消息时逻辑应用程序出现错误:VNetPrivatePortsNotConfigured

问题描述 投票:0回答:1

我已使用 SB 触发器从服务总线主题订阅接收到会话消息:当在主题订阅中收到消息时(窥视锁定)。处理后不会删除消息。要从主题订阅中删除消息,我使用连接器:带有消息 ID 的“完成消息”。但是,它给了我一个错误: { "code": "ServiceProviderActionFailed", “message”:“服务提供商操作失败,错误代码为“VNetPrivatePortsNotConfigured”,并且错误消息为“在有状态工作流中使用此服务提供商操作需要 VNet 集成,并且站点配置 vnetPrivatePortsCount 设置为大于或等于 2 的值。” ”。 } 我期待任何解决该问题的建议。 谢谢, 迪帕克

azure logic azure-logic-apps servicebus
1个回答
0
投票

要完成消息,请使用以下设计:

enter image description here

现在您需要为逻辑应用程序和服务总线集成相同的 vnet,如下所示:

逻辑应用程序:

enter image description here

服务巴士:

enter image description here

在逻辑应用程序中,在配置部分-->常规设置-->2 到 VNet 专用端口:

enter image description here

然后就可以了。

输出:

enter image description here

© www.soinside.com 2019 - 2025. All rights reserved.