Unable to debug our Remote Event Receiver using Azure service bus.. is this appraoch retired

%3CLINGO-SUB%20id%3D%22lingo-sub-391366%22%20slang%3D%22en-US%22%3EUnable%20to%20debug%20our%20Remote%20Event%20Receiver%20using%20Azure%20service%20bus..%20is%20this%20appraoch%20retired%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-391366%22%20slang%3D%22en-US%22%3E%3CP%3ESince%20i%20have%20been%20developing%20Remote%20Event%20Receivers%20for%20sharepoint%20online%20(mainly%20to%20cover%20%22itemadded%2C%20itemadding%2C%20itemupdating%2C%20itemupdated%2C%20itemdeleted%22%20events)%2C%20I%20have%20been%20following%20this%20official%20documentation%20%3CA%20href%3D%22https%3A%2F%2Fblogs.msdn.microsoft.com%2Fkaevans%2F2014%2F02%2F26%2Fattaching-remote-event-receivers-to-lists-in-the-host-web%2F%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAttaching%20Remote%20Event%20Receivers%20to%20Lists%20in%20the%20Host%20Web%3C%2FA%3E%2C%20mainly%20by%20doing%20these%202%20tasks%3A-%3C%2FP%3E%3CP%3E1.%20create%20a%20provider%20hosted%20app%20inside%20Visual%20studio%20%26gt%3B%26gt%3B%20deploy%20it%20under%20azure%20web%20app.%3C%2FP%3E%3CP%3E2.%20for%20debugging%20the%20RER%20%26gt%3B%26gt%3B%20create%20a%20service%20bus%20%26gt%3B%26gt%3B%20add%20the%20endpoint%20to%20our%20VS%20project.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ebut%20i%20tried%20this%20appraoch%20last%20week%20and%20i%20got%20the%20following%20error%20inside%20VS%2C%20when%20i%20try%20to%20run%20the%20VS%20project%3A-%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EOne%20or%20more%20services%20were%20unregistered%20from%20the%20Microsoft%20Azure%20Service%20Bus.%20Cannot%20register%20Services%2FAppEventReceiver.svc%20on%20Microsoft%20Azure%20Service%20Bus%3A%20Unable%20to%20connect%20to%20the%20remote%20server%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Enow%20i%20read%20more%20about%20what%20have%20been%20changed%20about%20this%2C%20as%20about%206%20months%20ago%20this%20appraoch%20was%20working%20well%2C%20and%20i%20read%20this%20%3CA%20href%3D%22https%3A%2F%2Fsharepoint.stackexchange.com%2Fquestions%2F248365%2Fhow-to-debug-remote-event-receiver-for-sharepoint-online%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsharepoint.stackexchange.com%2Fquestions%2F248365%2Fhow-to-debug-remote-event-receiver-for-sharepoint-online%3C%2FA%3E%20%2C%20where%20one%20of%20the%20replies%20mentioned%20that%20using%20azure%20service%20bus%20will%20not%20work%20anymore%2C%20which%20can%20explain%20the%20errors%20i%20got%20when%20i%20tried%20to%20debug%2Frun%20my%20RER%20project%20inside%20VS.%3C%2FP%3E%3CP%3Eso%20my%20question%20is%2C%20how%20i%20can%20debug%20my%20RER%20in%20this%20case%3F%20and%20are%20the%20whole%20steps%20for%20create%2Fdeploy%2Fdebug%20the%20RER%20which%20are%20mentioned%20in%20this%20link%20%3CA%20href%3D%22https%3A%2F%2Fblogs.msdn.microsoft.com%2Fkaevans%2F2014%2F02%2F26%2Fattaching-remote-event-receivers-to-lists-in-the-host-web%2F%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAttaching%20Remote%20Event%20Receivers%20to%20Lists%20in%20the%20Host%20Web%3C%2FA%3E%20will%20no%20more%20work%20%3F%20or%20it%20is%20just%20the%20debug%20approach%20of%20using%20azure%20service%20bus%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-391366%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1585868%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20debug%20our%20Remote%20Event%20Receiver%20using%20Azure%20service%20bus..%20is%20this%20appraoch%20retired%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1585868%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F233354%22%20target%3D%22_blank%22%3E%40john%20john%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDid%20you%20get%20any%20news%20regarding%20retirement%20of%20service%20bus.%20I%20have%20the%20same%20problem%20too.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMany%20thanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Super Contributor

Since i have been developing Remote Event Receivers for sharepoint online (mainly to cover "itemadded, itemadding, itemupdating, itemupdated, itemdeleted" events), I have been following this official documentation Attaching Remote Event Receivers to Lists in the Host Web, mainly by doing these 2 tasks:-

1. create a provider hosted app inside Visual studio >> deploy it under azure web app.

2. for debugging the RER >> create a service bus >> add the endpoint to our VS project.

 

but i tried this appraoch last week and i got the following error inside VS, when i try to run the VS project:-

 

One or more services were unregistered from the Microsoft Azure Service Bus. Cannot register Services/AppEventReceiver.svc on Microsoft Azure Service Bus: Unable to connect to the remote server

 

now i read more about what have been changed about this, as about 6 months ago this appraoch was working well, and i read this https://sharepoint.stackexchange.com/questions/248365/how-to-debug-remote-event-receiver-for-sharepo... , where one of the replies mentioned that using azure service bus will not work anymore, which can explain the errors i got when i tried to debug/run my RER project inside VS.

so my question is, how i can debug my RER in this case? and are the whole steps for create/deploy/debug the RER which are mentioned in this link Attaching Remote Event Receivers to Lists in the Host Web will no more work ? or it is just the debug approach of using azure service bus?

1 Reply
Highlighted

@john john 

 

Did you get any news regarding retirement of service bus. I have the same problem too.

 

Many thanks.