https://discord.gg/botpress logo
#🤝help
Team Integration In Botpress
# 🤝help
f

future-daybreak-52187

12/04/2023, 5:47 PM
I have done Teams Integration in botpress through Botpress hub and installed it and provided all that is needed there..... but I am receiving the messages from Teams Channel and not able to send the message back on Teams channel so this is one way communication happening and BotFrame from Microsoft is also implemented to create a Microsoft bot for it How to make it happen it at both ends, mean I should be able to send message from botpress chatbot to Teams. Any suggestions on this please?
c

crooked-van-25152

12/04/2023, 5:52 PM
Hey there!
I'm not super clear as to what your issue is here. Let's recap: you have installed the Teams integration
You'll receive messages from your bot to Teams.
But can't go from Teams to Botpress. Is this correct?
I don't want to mix things up with the other bot you've installed.
f

future-daybreak-52187

12/04/2023, 6:08 PM
I am receiving messages on the Botpress side but unable to send any messages to Teams from my Botpress interface. This is the actual issue. The messages below were initiated from Teams' side and received on my Botpress side under the Conversation tab. Sending a reply towards Teams is not possible under the Conversation Tab. I have diligently followed the documentation provided by Botpress for Teams Integration.
Teams Integration is enabled through Botpress Hub by installing it and then provided all what is needed in its configuration from an integration app that was created at Azure portal by creating new app registration for details App ID, App Password and Tanent ID under Integration tab.
c

crooked-van-25152

12/04/2023, 7:33 PM
@famous-jewelry-85388 Any idea what is going on here?
f

famous-jewelry-85388

12/04/2023, 8:59 PM
@crooked-van-25152 thanks
@future-daybreak-52187 what kind of authentication do you have on your app? This is where usually people miss it. Just double check that it is Accounts in any organizational directory (Any Microsoft Entra ID tenant - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox)
The other thing is, when you copy the secret key, copy the value, not the Secret ID:
You can copy that one time only 👆 . When it is created, so please pay attention 🙂
Tell me if that fixed your issue or not 🙂
f

future-daybreak-52187

12/05/2023, 5:39 AM
Very true. I have copied the Value column key there, this is done perfectly at my side and you are true this is only one time value that appears during app creation and appears only for a short period of time. Secondly, I have selected correct Account type "Accounts in any organizational directory (Any Microsoft Entra ID tenant - Multitenant)." Please I have attached the screen shot for you reference.
f

famous-jewelry-85388

12/05/2023, 9:08 PM
This is not the right one: Accounts in any organizational directory (Any Microsoft Entra ID tenant - Multitenant).
The right one is "and personal Microsoft accounts" check my screenshot
also this is done in the app not the bot
f

future-daybreak-52187

12/06/2023, 5:39 PM
Thank you so much, greatly appreciated. I will try this configuration in at app level.
f

famous-jewelry-85388

12/07/2023, 7:20 PM
Perfect, keep us posted whether this has fixed it or not
the other thing, in Botpress configurations, remove the tenantId
here. Leave it empty and give it a try
and of course, disable, save, enable, save, then test 🙂
f

future-daybreak-52187

12/08/2023, 10:29 AM
Sure. I am working on it and will definitely update you.
f

famous-jewelry-85388

12/08/2023, 2:28 PM
Perfect! 🙂
f

future-daybreak-52187

12/11/2023, 12:35 PM
I have applied the configuration for Account Types as you have suggested but still is the same result and only one way communication is happening there. Please you can see the images attached. Please suggest should I need to provide MPN ID which is being requested for the created app once your suggested selection is done. Please guide.
Please, I am using a Trial account for Microsoft 365 in which Azure Portal is available to me and to create new appthrough App Registration is available to me.
This is log of the errors I am facing for Teams Integration,
Hi team, any update on this?
c

crooked-van-25152

12/13/2023, 5:56 PM
@famous-jewelry-85388 🙂 when you have a minute, do you think you could get back to @future-daybreak-52187 ? thanks so much!
f

future-daybreak-52187

12/15/2023, 12:37 PM
Please, if anyone can take care of this, it would be greatly appreciated.
c

crooked-van-25152

12/15/2023, 4:50 PM
@early-train-33247 @bright-magazine-792 can any of you look into this post? Thanks
f

famous-jewelry-85388

12/18/2023, 3:34 PM
@future-daybreak-52187 can you remove the tenant ID and try again?
f

future-daybreak-52187

12/21/2023, 4:20 AM
Please I have tried without Tenant ID as well and no difference, its behaving same. Actually above image is old one and current configuration is without Tenant ID.
f

famous-jewelry-85388

01/08/2024, 6:48 PM
what errors do you have in the logs?
can you try and deactivate and reactivate the integration again?
disable the integration, press save, then enable, press save. Test it and check the logs if it didn't work