Is there a way to update the Editor filed of an uploaded file or create the file with specific Editor value upfront?
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 259
- Forks
- 161
- Avg merge
- 10h 33m
- Merged PRs (30d)
- 1
Description
We're using the AppOnly Access to upload file to Document lib, however, the Modified By shown as SharePoint App instead of the display name of the actual App we setup, so we're trying to see if we could update the Editor filed to correct it afterwards.

I saw this link demonstrates a way to update the Modified By through
Set-PnPListItem -List "Demo List" -Identity 1 -Values @{"Editor"="testuser@domain.com"} -UpdateType UpdateOverwriteVersion
So I thought there might be something similar in the lib, so I was trying to update the Editor filed like below,
however got ReadOnly exception
using Microsoft.SharePoint.Client;
using PnP.Framework;

Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the C# example in the issue and reproduce the ReadOnly exception for the Editor field. Compare the requested behavior with the linked Set-PnPListItem PowerShell example and determine whether the library supports setting Editor during or after upload; document the supported result or limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, powershell
- Domain
- backend, cloud
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100