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.
srini1292srinidevorg
Jan 19, 2021Copper 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_MSFT
Jan 20, 2021Former 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.
- aavciJul 27, 2021Copper ContributorMallipriya_MSFT is it possible to do this without having to get the admin to manually make changes in the admin portal? Perhaps someway through the GraphAPI?