Forum Discussion
onTeamsMembersAddedEvent function not getting invoked when a user installs a bot in personal scope
I'm installing the bot in user's personal scope with the help of graph API using https://graph.microsoft.com/beta/users/{id}/teamwork/installedApps for getting the user's conversation reference but in the backend code, the onTeamsMembersAddedEvent function is not getting invoked due to which I'm unable to store the conversation reference and also not able to send a welcome message to user, It was working perfectly fine for the past couple of months but suddenly today morning it stopped getting invoked.
Also I tried manually installing the bot in my personal scope but still facing the same problem. It is getting invoked only when a user tries to install the bot in a team.
P.S. - I'm using latest botframework for implementing the bot and the botbuilder module. I'm using Node.js with JavaScript to implement it.
Please help me if you have any solution.
- Trinetra-MSFTMicrosoft
hardikverma Could you please help us with the error? Please take a look at this documentation, it contains the sample code for Bot SDK V4