Forum Discussion
Teams Bot unable to receive Teams Meeting events using TeamsActivityHandler
Hi, This sample was setup from the vscode teams plugin that generate a bot for you.
I have also tried to setup a few times using the samples from https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples
Events are routed to the messaging endpoint, but it seems to be only events that are in teams outside the scope of an active meeting.
The events we are interested in is once a meeting is started and events happen in the meeting. All those don't even arrive at the codebase. (ngrok logging does not show calls coming in to the messaging endpoint.)
I have tried setting up a bot from the MS Teams Admin portal (https://dev.teams.microsoft.com/) as well as setting up an Azure Bot in Azure, both seem to have the same behavior.
Any further insight would be appreciated!
Eugene
elrdevilliers - We tried to repro this using below sample but are getting meeting events.
Could you please refer below sample which demonstrates how a bot can receive real-time meeting events: Microsoft-Teams-Samples/samples/meetings-events at main · OfficeDev/Microsoft-Teams-Samples (github.com)?
- elrdevilliersJan 29, 2024Copper ContributorHi Prasad,
Thanks for the assistance.
Changing the Teams app manifest to the one in the sample worked. It's now firing the events I am looking for.
I will eliminate what cause those to not fire in my previous configuration.
Thank you!
Eugene- Prasad_Das-MSFTJan 30, 2024Microsoft
elrdevilliers - Glad to hear that it worked.
Thanks,
Prasad Das
------------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.