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 Apps / Update Modified By col...
Power Apps
Unanswered

Update Modified By column into SharePoint library

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi All,

I want to Update Modified By(In this column we are inserting email and type is Person) column with logged in user email into SharePoint library

Patch(
LirbaryName,
LookUp(
LirbaryName,
NewItemID = SelectedItem.ItemID

),
// 'Modified By'=loggedinUser
{'Modified By': {Value: User().Email}}
);

Categories:
  • ANB Profile Picture
    7,252 Super User 2026 Season 1 on at

    Hi @Anonymous ,you need to use below format because it of Person type column in SP List

     {'Modified By': {
     '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
     Department: "",
     Claims: "i:0#.f|membership|" & User().Email,
     DisplayName: User().FullName,
     Email: User().Email,
     JobTitle: "",
     Picture: ""
     }
    }

    -----------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    Please click Accept as solution ✅ if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs up.👍

    Thanks,
    ANB


     

     

  • Jose Ramon Profile Picture
    109 on at

    Honestly, right now I don't know if this field can be modified or not, I thought it was an internal field. In case it can be modified, this field is of type People, so like any other field of type People, if you want to update its value you would have to put:

    {
    	'Modified By': {
     '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
     Department: "",
     Claims: "i:0#.f|membership|" & User().Email,
     DisplayName: User().FullName,
     Email: User().Email,
     JobTitle: "",
     Picture: ""
     }
    }

     

  • CU-18081211-6 Profile Picture
    9,272 Moderator on at

    @Anonymous ,

    I can't figure it out your scenario, but changing the 'modified by' column value for a Sharepoint list item can be realized only with a API call (HTTP request) and the easiest way is with a PowerAutomate flow called from inside your app. 

    Here is a great article about how to realize this. 

    Of course the method requires medium knowledges of Power Platform component.  

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 204 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard