Delete subscriptions upon user disconnect #34
Labels
Difficulty/1:Easy
Easy ticket
Help Wanted
Community help wanted
Tech/Go
Type/Enhancement
New feature or improvement of existing feature
Summary
Currently, the disconnect functionality only removes the user from the KV store, and does not do anything on Microsoft's side. If the user has an active subscription, we should delete it in the KV store, as well as on Microsoft's side so we don't receive unnecessary webhook events.
Info on deleting a subscription using the Microsoft Graph API: https://docs.microsoft.com/en-us/graph/api/subscription-delete?view=graph-rest-1.0&tabs=http
The text was updated successfully, but these errors were encountered: