0

i created a function app containing a function. This function is used as remote event.

I linked this event to a list on a specific site "site1" like this:

$functionUrl= 'https://appName.azurewebsites.net/api/FunctionName'

Add-PnPEventReceiver -List "Documents" -Name NameAdded -Url $functionUrl -EventReceiverType ItemAdded -Synchronization Asynchronous Add-PnPEventReceiver -List "Documents" -Name NameUpdated -Url $functionUrl -EventReceiverType ItemUpdated -Synchronization Asynchronous

It's working perfectly, i see all my calls in the function monitor.

Now, i linked the function to an other list (with the same name "Documents") in an other site "site2". I used exactly the same commands, changing only the site to connect. The function seems well linked, but the event never fires for these links.

Now, in the function monitor, i see all my calls for the site1, but never appears/fires for the site2. I have no idea why...

As info: an app registration exists, and the rights are "Full control on all site collections"

I tried to:

  • synchronize events with a restart of the Function App, still not working for the site2.
  • unlink-relink events for the site2 list.
  • redeploy the function

Thank you in advance for a possible solution idea :)

Hill
  • 1
  • I found a similar post for your reference:https://social.technet.microsoft.com/wiki/contents/articles/54159.sharepoint-remote-event-receivers-using-azure-function.aspx – Amy Jiang_MSFT Jan 13 '23 at 10:32

0 Answers0