Remote Event Receiver (RER) for Host Web using SharePoint Provider Hosted App in Office 365/SharePoint Online Environment

There are a number of articles talking about how to deploy Remote Event Receiver for SharePoint 2013, but few of them are in depth, especially on how to set it up for host web using Provider Hosted App in Office 365/SharePoint Online environment. I hope this post can provide detailed information for developers who need to deploy the same.

The inspiration for this article is another similar article written by Chris O’Brien, here. However the mentioned article talks about how to make the BasicDataOperations SP2013 provider-hosted app on MSDN work on App Web, not Host Web.[Keep reading] “Remote Event Receiver (RER) for Host Web using SharePoint Provider Hosted App in Office 365/SharePoint Online Environment”