Forum Discussion
srini1292srinidevorg
Jan 19, 2021Copper Contributor
Auto install teams personal app on behalf of users and also custom bot needs to trigger
Auto install teams personal app on behalf of users and also custom bot needs to trigger with OnMembersAddedAsync method.
4 Replies
Sort By
- Mallipriya_MSFTFormer Employee
Hi srini1292srinidevorg, Could you please elaborate the requirement
- srini1292srinidevorgCopper Contributor
Hi Mallipriya_MSFT , I have developed Teams custom bot (.net core) personal app using app studio.
when I am adding/installing the app, the bot is triggering and OnMembersAddAsync method is calling.., at that time I am storing user details in Sharepoint DB and reusing those details.
Now when I am trying to add/install the app on behalf of tenant users, is it possible to trigger the bot with OnMembersAddAsync method for each user?.
Please help with this.
- Mallipriya_MSFTFormer Employee
srini1292srinidevorg, If you are an admin you can install bot and make it available for users in the tenant. Once the user opens up the bot automatically OnMembersAddAsync method gets triggered.