Debugging a Remote Event Receiver using service bus

Steel Contributor

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 which describes how to use service bus for debugging, but when I tried to create the service bus I got this error message: -

New-AzureSBNamespace "TestTestingServiceBus" -CreateACSNamespace $true -NamespaceType Messaging

New-AzureSBNamespace : <string xmlns="">{"Details":"Azure Service
Management APIs have been deprecated for messaging services as of November 1, 2021 and replaced with Azure Resource
Management APIs. For more information, please visit"}</string>
At line:1 char:1
+ New-AzureSBNamespace "TestTestingServiceBus" -CreateACSNamespace $tru ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : CloseError: (:) [New-AzureSBNamespace], CloudException
    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceBus.NewAzureSBNamespaceCommand

so seems the approach mentioned in the link is very old. So can anyone help me to figure out how we can debug remote event receivers in SharePoint online?

0 Replies