SharePoint / SharePoint/sp-dev-docs

ValidateUpdateListItem and Looping

Open
#10,377 18 comments 0 reactions 1 assignee View on GitHub

@Ashlesha-MSFT is already working on this.

Since Aug 22, 2025.

area:csom/rest/api sharepoint-developer-support type:bug-confirmed type:bug-suspected
Dominant language
PowerShell
Stars
1.4k
Forks
1.1k
Avg merge
4d 12h
Merged PRs (30d)
12

Description

Target SharePoint environment

SharePoint Online

What SharePoint development model, framework, SDK or API is this about?

SharePoint REST API

Developer environment

None

What browser(s) / client(s) have you tested
  • 💥 Internet Explorer
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)
Additional environment details
  • Power Automate
Describe the bug / error

Power Automate Flow that triggers on modified of SharePoint list item, updates same item with use of ValidateUpdateListItem endpoint. Since begin this week (that we noticed) it causing the flow to get triggered again.

It seems that this has been logged before in Oct 2021 #7424 and Nov 2021 #7527 Both with comments far into 2024. I tried to include the Author, Editor and Modified fields in the update. All together and one by one, but no change in the outcome.

I used this for multiple clients of different tenants. I now tested this on 2 different tenants and both solutions that use this endpoint in flows, are flows that keep being triggered.

Does anyone notices this problem on their tenants? Is something missing from my code, that wasn't needed till last week or so?

Steps to reproduce
  1. Create SharePoint List: Clients
  2. Create Power Automate flow > Automated cloud flow > When an item or a file is modified
  3. Add action Compose

Inputs:

[
{
"FieldName": "Title",
"FieldValue": "Test 123"
},
{
"FieldName": "Modified",
"FieldValue": "@{addMinutes(triggerOutputs()?['body/Modified'], 120, 'yyyy-MM-dd HH:mm:ss')}"
},
{
"FieldName": "Author",
"FieldValue": "[{'Key':'@{triggerOutputs()?['body/Editor/Claims']}'}]"
},
{
"FieldName": "Editor",
"FieldValue": "[{'Key':'@{triggerOutputs()?['body/Editor/Claims']}'}]"
}
]

  1. Add action 'Send an HTTP request to SharePoint'
    Site address
    Method: Post
    Uri: /_api/web/lists/getbytitle('Clients')/items(@{triggerOutputs()?['body/ID']})/validateUpdateListItem()
    Headers: None, also tried:
    { "Accept": "application/json;odata=verbose", "Content-Type": "application/json;odata=verbose" }
    Body:
    {
    "formValues": @{outputs('Compose')},
    "bNewDocumentUpdate":true
    }
Expected behavior

Flow not triggered after HTTP request is send to update the list item.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.