Forum Discussion

DeveshT's avatar
DeveshT
Copper Contributor
Aug 25, 2020
Solved

Which event fired when someone uninstall your app in Microsoft Teams

I am working on creating a bot for Microsoft teams in C# using Bot Framework. User can interact with bot and ask some query.

When user install the app, OnConversationUpdateActivityAsync event gets fired and i save some user info in my azure database.

I have to delete user data when app is uninstalled from the teams.

The problem that i am facing is, i am not getting any event that is fired when someone uninstall the app.

Is there any way to achieve what i am looking for?

  • Hi DeveshT ,

     

    Is there anything in here that could help: https://docs.microsoft.com/en-us/microsoftteams/platform/resources/bot-v3/bots-notifications

     

    If you note the section where the bot is shown as a removed member when removed. So if you can track that activity for when say the ID of the Bot is referenced as being the member that is being removed.

     

    Thanks

     

    Henry

1 Reply

  • Hi DeveshT ,

     

    Is there anything in here that could help: https://docs.microsoft.com/en-us/microsoftteams/platform/resources/bot-v3/bots-notifications

     

    If you note the section where the bot is shown as a removed member when removed. So if you can track that activity for when say the ID of the Bot is referenced as being the member that is being removed.

     

    Thanks

     

    Henry