简体   繁体   English

Microsoft azure Bot 集成到 Teams 中,首次使用 SSO 发送响应两次

[英]Microsoft azure Bot integrated in Teams sending respose twice using SSO for the first time

I created a code in Bot-frame composer and published in azure Bot.我在 Bot-frame composer 中创建了一个代码,并在 azure Bot 中发布。 We have used SSO(single sign-on) in the azure bot.我们在 azure 机器人中使用了 SSO(单点登录)。 Created a manifest file and published in app studio in MS teams.创建清单文件并在 MS 团队的 App Studio 中发布。 I am getting the messages twice when I open the chat for the first time.第一次打开聊天时,我收到了两次消息。 What is the solution to resolve it.有什么办法可以解决。

For this issue there are two different approaches to solve.对于这个问题,有两种不同的方法可以解决。

  1. Check whether you are using webhooks or not.检查您是否正在使用 webhooks。 If you are using webhooks, check whether you are having multiple webhooks with same ID, which could send double messages.如果您使用的是 webhook,请检查您是否有多个具有相同 ID 的 webhook,这可能会发送双重消息。

  2. This can be some weird approach.这可能是一些奇怪的方法。 Sometimes, microsoft authentication issue will raise and if you are still having issue after checking webhooks, kindly contact the customer support of Microsoft and ask them to reset the app secret key and re-deploy the application.有时,Microsoft 身份验证问题会出现,如果您在检查 webhook 后仍然有问题,请联系 Microsoft 的客户支持并要求他们重置应用程序密钥并重新部署应用程序。

There is another reason behind this, because of the previous login issues stored in SDK can cause the duplicate messages.这背后还有一个原因,因为之前存储在 SDK 中的登录问题会导致重复消息。

https://github.com/microsoft/botframework-sdk/issues/4387 https://github.com/microsoft/botframework-sdk/issues/4387

https://github.com/microsoft/botframework-sdk/issues/5798 https://github.com/microsoft/botframework-sdk/issues/5798

Check the above links for reference.检查以上链接以供参考。

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

相关问题 Azure Bot Microsoft Teams 自动完成/建议类似于“Who”但动态 - Azure Bot Microsoft Teams Autocomplete/Suggestion similar to "Who" but dynamic 将 CSV 从 Azure Automation 导出到 Microsoft Teams 而不是 blob 存储? - Export a CSV from Azure Automation to Microsoft Teams instead of blob storage? 使用 Azure AD 使用 Microsoft Graph 在帐户之间发送电子邮件会产生无效的 IP 错误 - Sending emails between accounts using Microsoft Graph using Azure AD produces invalid IP error Microsoft Teams escaping 文本中的下划线 - Microsoft Teams escaping underscores in text slack bot 使用 aws 向用户发送直接消息 lambda function - slack bot sending direct message to user using aws lambda function Dialogflow 和 Microsoft 机器人模拟器的问题 - problems with Dialogflow and Microsoft bot emulator admin.google.com 的 SSO 配置错误 Azure - Misconfigured Azure SSO for admin.google.com 如何使用数据工厂从 Microsoft Graph API 获取文本中的团队消息 - How can I get Teams Messages in text from Microsoft Graph API using Data Factory 你的回复url含有违禁词或违禁域:当时在Azure微软平台配置android平台 - Your reply url contains prohibited words or prohibited domains: at the time configuration of android platform in Azure Microsoft platform 如何获取 azure 机器人密码 - How to get the azure bot password
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM