[英]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.对于这个问题,有两种不同的方法可以解决。
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,这可能会发送双重消息。
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.