Does not work
Hi,
I have followed the steps on this page but I cannot debug the sample code. On the app side everything works as designed. It saves but the debugger is never called. After I stop the debugger I see: Cannot register Services/RemoteEventReceiver1.svc on Microsoft Azure Service Bus: The underlying connection was closed: An unexpected error occurred on a send. One or more services were unregistered from the Microsoft Azure Service Bus.
Is this still the proper way to debug with the service bus? If something has changed, please provide me the URL to the proper way to debug with the service bus.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: dcf58506-a073-0509-aa8e-9cfe28e9fac6
- Version Independent ID: 976c3860-d9a6-04ec-8b0f-8dae5fbdb923
- Content: Debug and troubleshoot a remote event receiver in a SharePoint Add-in
- Content Source: docs/sp-add-ins/debug-and-troubleshoot-a-remote-event-receiver-in-a-sharepoint-add-in.md
- Product: sharepoint
- GitHub Login: @spdevdocs
- Microsoft Alias: spdevdocs
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
A reboot later and it works as shown.
In Cloud Explorer I do not see Visual Studio.

This't my azure subscription, you need logon azure with account which has proper subscription so you could manage/debug the web host in azure.
As far as I know, I am logged on with my azure account.
Hi,
I had a question regarding remote event receivers, please answer the following: If the remote event receiver web app is deployed On-Prem for Sharepoint online site, is it necessary that the web app be made publicly available?
Regards, Aparna
Great question, I don't have an answer. Test it and see what happens.
Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues
