Forum Discussion

Thomas Leclaire's avatar
Thomas Leclaire
Copper Contributor
May 19, 2020

SharePoint and webhooks endless loops?

For having event based reactions on list changes, I'm considering to go with webhooks. One thing that comes to my mind is how do I prevent an endless loop with webhooks and sharepoint lists when the webhook updates the same list itself? Is that a thing anyway?

Is anybody using webhooks at all? 

 

Thanks

Thomas

  • RobElliott's avatar
    RobElliott
    Silver Contributor

    Thomas Leclaire have you considered using a flow in Power Automate where you can introduce actions to prevent infinite loops?

     

    Rob
    Los Gallardos
    Microsoft Power Automate Community Super User

    • Thomas Leclaire's avatar
      Thomas Leclaire
      Copper Contributor
      Yes, I'm doing this already but I have a scenario which makes it cumbersome to create a flow for one certain list in an unknown number of similar site collections. A webhook subscribtion could be aplied during provisioning by some powershell.

Resources