简体   繁体   English

使用 NodeJS 虚拟助手模板的 Bot 框架技能 - 无法添加到 PVA

[英]Bot Framework Skill using NodeJS Virtual Assistant template - not able to add to PVA

As the title says I have created the skill using the virtual assistant template and deployed it in Azure.正如标题所说,我使用虚拟助手模板创建了技能并将其部署在 Azure 中。 The skill bot works as expected when tested as a standalone bot with an emulator.当使用模拟器作为独立机器人进行测试时,技能机器人按预期工作。 When I tried to add the skill to the Power Virtual Agent bot it fails with an error - " This skill has not allow listed your bot ".当我尝试将技能添加到 Power Virtual Agent 机器人时,它失败并出现错误 - “此技能不允许列出您的机器人”。

I have already added the PVA bot's app Id to the skill bot's appSettings.json as below and tried with the wild card as "*" still not able to add the skill.我已经将 PVA 机器人的应用 ID 添加到技能机器人的 appSettings.json 中,如下所示,并尝试使用通配符作为“*”仍然无法添加技能。 Any help?有什么帮助吗?

 "allowedCallers": ["5a089b57-xxx-4a2c-xxx-xxxxde5ddd"]

Both PVA root bot and Skill bot are in same tenant. PVA root bot 和 Skill bot 都在同一个租户中。

Refer to this table .请参阅此 The error you are getting is at the last with the validation step and the mitigation details.您得到的错误最后是验证步骤和缓解细节。

You will need to check if your bot has been added to the skill's allow list.您需要检查您的机器人是否已添加到技能的允许列表中。 To configure a skill for use in Power Virtual Agent, follow this documentation.要配置用于 Power Virtual Agent 的技能,请遵循文档。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM