Forum Discussion

srini1292srinidevorg's avatar
srini1292srinidevorg
Copper Contributor
Jan 19, 2021

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

    • srini1292srinidevorg's avatar
      srini1292srinidevorg
      Copper 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's avatar
        Mallipriya_MSFT
        Former 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.

Resources