Can i update a list item without affecting the Modified By and Modified Date

john john Pter 320 Reputation points
2024-09-12T22:32:26.0866667+00:00

I have a custom list named WorkOrders inside our SharePoint online tenant. now this custom list contain around 10K items. and i want to do some modifications to existing list items, as follow:-

1- I want to add a new custom column named Media.

2- Based on some calculation from another list i want to update this custom column Media.

but the ModifiedBy and Modified date for the work order items are important to us, and we do not want to affect those 2 fields when updating the new custom column.. so is there a way to update a list item without affecting the Modified By and Modified Date, by using:-

1- SharePoint Rest API

2- Pnp PowerShell

3- Pnp SDK

4- Power Automate

any advice?

SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,968 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. RaytheonXie_MSFT 35,386 Reputation points Microsoft Vendor
    2024-09-13T01:40:11.0433333+00:00

    Hi @john john Pter

    I would recommend you to use manual Power Automate trigger to keep all the system fields the same as previous when you update the list item. You could refer to following steps

    https://evolvous.com/learn-from-expert/how-to-modify-sharepoint-item-without-changing-its-default-columns-value/


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.