I've got a flow that uploads email attachments to a SharePoint Documents library. The flow works well, but I'd like to have the "Modified by" field to be listed as the name of the sender instead of the "flow owner". Very new at this so any suggestions or tips will help.
In SharePoint....
You can follow the steps in this post by @FraserM . It is for updating the Created By field, but I would imagine it should work on Modified By as well: Update the Created By (AuthorID) Field of a ShareP... - Power Platform Community (microsoft.com).
I tried this and it worked for me. Although thinking about it, it will probably not work on the Modified By column since once you update it, the field will probably get populated with the flow owner 's credentials since you updated the field. Since the Created By normally would not change, it makes sense how it works there.
Hi @IT_NuB
I'm afraid that what you want to do is not possible with Power Automate. While it is possible to execute actions under a different account/connection, it is not possible to change the connection dynamically. You need to manually configure connections in Power Automate by authenticating and then selecting the connection that you want to use for the action. But that's not a solution for what you are trying to do.
EDIT: one workaround might be to add a new column to your SharePoint library and call it "Sender" or something like that, and have that show the name of the sender of the e-mail. Make that visible and hide the "Modified by" column. That way you would see who sent a file in the library, which is what you want to achieve, I believe.
Hope this helps!
Michael E. Gernaey
497
Super User 2025 Season 2
David_MA
436
Super User 2025 Season 2
Riyaz_riz11
244
Super User 2025 Season 2