简体   繁体   中英

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. We have used SSO(single sign-on) in the azure bot. Created a manifest file and published in app studio in MS teams. 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. If you are using webhooks, check whether you are having multiple webhooks with same ID, which could send double messages.

  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.

There is another reason behind this, because of the previous login issues stored in SDK can cause the duplicate messages.

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

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

Check the above links for reference.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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