I am developing a new remote event receiver, where i followed these steps:-

1- Inside visual studio 2015 >> create new sharepoint add-in >> provider-hosted Add-in >> i enter the url for a test enterprise wiki site collection which have the Sideloading of apps feature enabled. enter image description here

2- Then i enabled the handle Add-in installed/uninstalled:- enter image description here

3- Then inside the AppEventReceiver.svc i entered code as follow, and the methods implementation:-

public SPRemoteEventResult ProcessEvent(SPRemoteEventProperties properties)
            SPRemoteEventResult result = new SPRemoteEventResult();

        switch (properties.EventType)
            case SPRemoteEventType.AppInstalled:
            case SPRemoteEventType.AppUninstalling:
            case SPRemoteEventType.ItemAdded:

        return result;
    // code goes here for the above methods implementation ..

4- but when i run the project >> i got an intermediate message that the app is been installed >> then i got this error message:-

enter image description here

5- and when i click on the app details there was one Install Error, as follow:-

The remote event receiver callout failed.
Details: There was no endpoint listening at https://localhost:44332/Services/AppEventReceiver.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.

so can anyone advice on this please? Thanks

  • Have you followed the documentation on how to configure and debug RERs?
    – user6024
    Apr 3, 2019 at 0:58
  • @TrevorSeward this link is mentioning to use azure service bus for debugging,, but this approach will no longer work... as azure service bus has been retried by Microsoft..
    – John John
    Apr 3, 2019 at 2:06
  • That's not correct for RERs. You need to follow those directions.
    – user6024
    Apr 3, 2019 at 2:08
  • @TrevorSeward looks there are multiple ways to create RER now i am following the steps mentioned in this link @ blogs.msdn.microsoft.com/kaevans/2014/02/26/… mainly by creating provider-hosted app.. but we can not use azure service bus anymore ,, and if i do so i will get the problem which i have opened another question about it sharepoint.stackexchange.com/questions/260229/…
    – John John
    Apr 3, 2019 at 2:10
  • @TrevorSeward any advice on the above if u have faced similar case? as the documentation about RER and mainly how to debug them after retiring the Azure service bus is almost zero...
    – John John
    Apr 3, 2019 at 11:56


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.