To change the events that the remote event receiver handles, open Solution Explorer, open the Properties window for the remote event receiver, expand the Share Point Events node, and then set only the events that you want to handle to True.
Note For additional information about RERs, including some troubleshooting information, see Remote Event Receivers FAQ.
First, a user must remove the add-in from the recycle bin, which moves it to the second stage recycle bin.
Second, a user must remove the add-in from the second stage recycle bin.
The infrastructure will rerun the event, , up to three additional times.
After four timeouts, Share Point will roll back the entire add-in installation.
Add-in events are also handled by remote web services, but they are configured differently in the add-in package from list and list item RERs, so they are treated as a separate category of component.
Two more steps are required before the App Uninstalling event is triggered.
For details, see New name for apps for Office and Share Point.
Your custom code can handle three categories of events in provider-hosted add-ins: Share Point-hosted Share Point Add-ins do not support event handling, but you can turn a workflow into a kind of list or list item event handler by setting an event to trigger the workflow. Workflows cannot be triggered by add-in events, so add-in events cannot be handled with a Share Point-hosted add-in.
For more information, see Include rollback logic and "already done" logic in your add-in event handlers.
Note When you install an add-in with Tenant scope, it is installed to the add-in catalog site collection and the App Installed event runs then and only then.