04-26-2019 01:05 AM - edited 04-26-2019 01:11 AM
When removing an msteams connector resgistered using registerOnRemoveHandler,
the onremove event is called, but later there is an option to cancel the removal.
But this is to late as the data we store regarding to the specific connector is already removed.
I think this is a bug.
A correct behaviour would be to call the remove just on the final step on the second dialog.
What do you think?
04-29-2019 12:41 AM - edited 05-22-2019 11:19 PM
SolutionCurrently, microsoftTeams.settings.registerOnRemoveHandler() is called whenever remove button is clicked. This is where you can do the clean up operation.
Know issue - User could possibly cancel the removal flow on feedback screen and there is no way to know that. We are working on the fix.