ListItem item = list.GetItemById(1);
ctx.Load(item);
ctx.ExecuteQuery();
User user = web.EnsureUser("i:0#.f|membership|[email protected]");
ctx.Load(user);
ctx.ExecuteQuery();
item["Modified"] = DateTime.Now.AddYears(-5);
item["Created"] = DateTime.Now.AddYears(-5);
item["Editor"] = user.Id;
item["Author"] = user.Id;
item.Update();
ctx.ExecuteQuery();One of the often discussed requirements for app model is the need for updating list items without impacting the Modified By or Modified date of the item. In server side code this was done using SystemUpdate method, but we don’t have similar method as such available for app model using remote operations (CSOM or REST).
