I have a custom list inside our SharePoint online and it contain many items.
Now I want to add some business logic to the list through implementing a remote event receiver which get fired when items are been created and edited. but I am not sure how can I attach a remote event receiver to existing list?
Last time I did so was around 3 years ago, where I followed the steps mentioned on this link and they worked well for me @ Attaching Remote Event Receivers to Lists in the Host Web.
But recently when i tried this appraoch, I got an error related to the fact that azure service bus (which will be used to debug the RER) has been retired and can not used any more to debug remote event receivers.
Now I found this link Remote Event Receivers Creating and Debugging in SharePoint Online, but it does not show how to attach the remote event receiver to existing list, as in this link they added a new list as part of the remote event receiver project.
So can anyone help me in finding a full documentation on “how we can create and debug a remote event receiver and attach it to existing list in sharepoint online?” and can I use a mix between the approaches mentioned on the above 2 links? attach RER to existing list and use Azure powershell to create the service bus?