Team Integration In Botpress
# 🤝help
f
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
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
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
@famous-jewelry-85388 Any idea what is going on here?
f
@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
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
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
Thank you so much, greatly appreciated. I will try this configuration in at app level.
f
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
Sure. I am working on it and will definitely update you.
f
Perfect! 🙂
f
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
@famous-jewelry-85388 🙂 when you have a minute, do you think you could get back to @future-daybreak-52187 ? thanks so much!
f
Please, if anyone can take care of this, it would be greatly appreciated.
c
@early-train-33247 @bright-magazine-792 can any of you look into this post? Thanks
f
@future-daybreak-52187 can you remove the tenant ID and try again?
f
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
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