Forum Discussion

Martin White's avatar
Martin White
Copper Contributor
Aug 14, 2017

SharePoint Online Remote Event Receiver - SAS

I am attempting to create a Remote Event Receiver for SharePoint Online. I am following this guide...

https://msdn.microsoft.com/en-us/pnp_articles/use-remote-event-receivers-in-sharepoint

 

In step 6 it says to create a new service bus namespace but it returns the error: "Creating an ACS enabled Service Bus namespace failed for the subscription. For additional details refer
https://go.microsoft.com/fwlink/?linkid=852159&clcid=0x409.


The link shows that ACS is no longer allowed and SAS should be used.

I'm new to this and struggling to understand how to set it up with SAS.

Any help much appreciated.

2 Replies

    • Martin White's avatar
      Martin White
      Copper Contributor

      I've managed to get it to work.

       

      Instead of using PowerShell in step 6, I created the Azure namespace within the portal. I was then able to get hold of the connectionstring and my Remote Event Receiver worked.

       

      Doing it inside the portal uses SAS. I'm not sure why the instructions said to use PowerShell, perhaps that was the only way at the time it was written.

Resources