How to modify the SharePoint Created By value using PnP PowerShell
Whenever you create a list item or a document in SharePoint, the platform automatically adds the information of the user to the Created By column.
Once the file or item is added to the platform, there is no way to change the value of this column through the UI, however it is possible to do it using PnP PowerShell and that’s what I’m explaining in this article.