SharePoint / SharePoint/sp-dev-docs
ValidateUpdateListItem and Looping
@Ashlesha-MSFT is already working on this.
Since Aug 22, 2025.
- 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
- Create SharePoint List: Clients
- Create Power Automate flow > Automated cloud flow > When an item or a file is modified
- 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']}'}]"
}
]
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.