Forum Discussion
Debugging a Remote Event Receiver using service bus
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 ?
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.- WaaromiknietSep 29, 2023Brass Contributor
These are the steps I used
I have a WCF RER hosted in my project in folder services\rer.svc
I host this project local on port 53797
I push F5 and run the project.
My service is running at http://localhost:8080/services/rer.svc
I run .\devtunnel.exe user login and login with my M365 account
I run .\devtunnel.exe host -p 53797 --allow-anonymous
I get a devtunnel URL. For example https://gblq14ee-8080.euw.devtunnels.ms
I attach my rer with this url https://gblq14ee-8080.euw.devtunnels.ms/services/rer.svc
- john johnSep 28, 2023Steel Contributor
Waaromiknietok will try it thanks