Forum Discussion
john john
Jul 24, 2023Steel Contributor
Debugging a Remote Event Receiver using service bus
I want to develop a remote event receiver for SharePoint online document library. But i am having difficulties in debugging this remote event receiver from visual studio . I found this link https://b...
Waaromikniet
Sep 27, 2023Brass Contributor
We currently use this devtunnel tool provided by MS
https://learn.microsoft.com/en-us/azure/developer/dev-tunnels/get-started?tabs=windows
You can host a tunnel to your project hosted locally
https://learn.microsoft.com/en-us/azure/developer/dev-tunnels/get-started?tabs=windows
You can host a tunnel to your project hosted locally
john john
Sep 27, 2023Steel Contributor
Waaromiknietthanks for the reply and link, so did you use this fro debugging remote event receiver? Second question, is this tool a reverse proxy? similar to ngrok ?
- WaaromiknietSep 27, 2023Brass ContributorYes, This is similar to Ngrok. Except it is free to use (for now). You log in using your M365 account
We indeed use it to debug our remote event recievers.- john johnSep 29, 2023Steel Contributor
WaaromiknietI tried to debug a test remote event receiver but could not find the way to do so,, can you advice on the needed steps please?
- WaaromiknietSep 29, 2023Brass ContributorCan you validate that your RER is firing? How did you connect your RER to the list? When using PnP.PowerShell there is a problem of RER's not firing.
See this post : https://github.com/pnp/powershell/issues/3169
During debugging you have to attach your RER using the url generated by the devtunnel application.
- john johnSep 28, 2023Steel Contributor
Waaromiknietok will try it thanks