I have this code below but it doesn't work. Is it possible to change a value of the column "Modified By" in a Sharepoint list with Powershell?

Set-PnPListItem -List "mylist" -Identity "1" -Values @{"Editor" = "[email protected]"}

Gr. P

  • It won't be that simple. The Editor field is a complex object, not just a text string with the email address.
    – teylyn
    Mar 31, 2021 at 22:07
  • Oke I think i will try another way. I saw an article about Microsoft Flow. Thanks for the info.Gr. P Mar 31, 2021 at 22:23

2 Answers 2


Try this:

Set-PnPListItem -List "Demo List" -Identity 1 -Values @{"Editor"="[email protected]"} -UpdateType UpdateOverwriteVersion

-UpdateType Specifies the update type to use when updating the list item. Possible values are "Update", "SystemUpdate", "UpdateOverwriteVersion".

Update: Sets field values and creates a new version if versioning is enabled for the list

SystemUpdate: Sets field values and does not create a new version. Any events on the list will trigger.

UpdateOverwriteVersion: Sets field values and does not create a new version. No events on the list will trigger.


Please use /validateUpdateListItem for updating Modified By field in the Flow:

enter image description here

modifying Modified By and Modified time with Microsoft Flow

  • Can not find compose user in power automate Apr 1, 2021 at 9:47
  • Can you help me? Apr 1, 2021 at 9:48
  • It's just the same "Compose" action, in the demo above, it's renamed to "Compose User" for a better understanding
    – Jerry
    Apr 1, 2021 at 10:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.