SharePoint and webhooks endless loops?

%3CLINGO-SUB%20id%3D%22lingo-sub-1401290%22%20slang%3D%22en-US%22%3ESharePoint%20and%20webhooks%20endless%20loops%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1401290%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EFor%20having%20event%20based%20reactions%20on%20list%20changes%2C%20I'm%20considering%20to%20go%20with%20webhooks.%20One%20thing%20that%20comes%20to%20my%20mind%20is%20h%3C%2FSPAN%3E%3CSPAN%3Eow%20do%20I%20prevent%20an%20endless%20loop%20with%20webhooks%20and%20sharepoint%20lists%20when%20the%20webhook%20updates%20the%20same%20list%20itself%3F%20Is%20that%20a%20thing%20anyway%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EIs%20anybody%20using%20webhooks%20at%20all%3F%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThanks%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EThomas%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

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

2 Replies

@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

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.