Hello everyone,
I'm currently using Copilot Studios to create a bot, which I have connected to my Microsoft Teams channel and Dynamics 365 Omnichannel (I'm on a trial version of Dynamics 365). While the setup seems to work fine from the Omnichannel side, the bot doesn't initiate conversations in Microsoft Teams.
Here are the key details:
-
Bot Created in Copilot Studios:
- The bot was created using Copilot Studios, and it's functioning correctly when tested in the bot framework environment.
- I tested with Chat Demo and my own bot and it works perfectly.
-
Teams Integration:
- I added the bot to a Teams channel following the proper steps and connected it to Dynamics 365 Omnichannel.
- I also made sure that the bot ID was correctly set in both Teams and Dynamics 365.
-
Login Button Issue:
- On the Teams side, users are not able to initiate conversations because the login button does not appear.
- I have configured the OAuth 2.0 settings in Azure AD, using bot's ID generated from Omnichannel Teams Channel set up, I added the bot's client ID and resource URI, and granted all necessary permissions (like
User.Read
andopenid
). - Despite these configurations, when users try to interact with the bot in Teams, they are prompted to "login," but the login button does not appear. I can see that they are prompted for log in from agent workspace side, but from user's side it seems like a one way conversation.
- I tried testing out and removing manual authentication from Copilot Studios and with those settings bot was working inside teams.
Has anyone experienced similar issues with Teams bot authentication and Dynamics 365 integration? Are there specific settings I might have missed that could affect the login process in Teams?
Any help would be greatly appreciated!
Thank you!