web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Update SharePoint item...
Power Automate
Unanswered

Update SharePoint item sets incorrect modified by field

(1) ShareShare
ReportReport
Posted on by 6

Hi!

 

I have a flow that triggers when items in a SharePoint list is created or modified. At the end of the flow, the flow sets the status of the SP item to completed. Now, this means that the flow will trigger again (because it is modified) and that the user account that is being used for connection will (incorrectly) be set as "Modified by". This seems pretty basic, in SP Designer workflows did not trigger themselves and any modifications to SharePoint items was logged as modified by "workflow on behalf of user X". Much much better. What to do in Flow in order to:

1. Not trigger workflow indefinitely by themselves?

2. Get "Modified by" to the correct user, that is, the one that started the flow?

 

Regards,

Helena

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I too have run into issues with the 'When item is created or modified' trigger. To work around the issue I was facing, I had to get really creative. Not sure it it fits your use case, but I had much better luck with a Schedule trigger. This was due to the fact that I didn't need the item to be updated in real time. So, I scheduled a flow to run once a week (day, minute, and second are options too) and get all items from a list that needed to be updated, then did an apply to each on the list items returned. This saved the amount of flow runs per month I used (I have a 2000 per month limit), as well as eliminates the repeating flow runs.

     

    I don't know of a way to set modify by to anyone but account used in the SharePoint connection. I did find that when you share your flow with others in your org, it will ask them to update all the connections to their own. This would require them to complete the trigger action... which I don't know if scheduling would do. You could also look at a manually triggered flow in the list using a "For a Selected Item", but I understand this is less than ideal and users will forget to do it.

    Hope this at least gets you thinking outside the box...

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 253 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 172 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 134 Super User 2026 Season 2

Last 30 days Overall leaderboard