Word is removing author's first & last name on comments in documents automatically and changes it in "author". I know that you can change the behavior by configure document inspector, but you have to do that on a per-document basis. Is it possible to change the document's behavior centrally from, for example, Intune? Or is there a script available to change this?
In Word for Windows, you have to clear the option "Remove personal information from file properties on save" in Trust Center.
If you are saying that new documents which you create have that option enabled, turn it off for the document template you are using (typically Normal.dotm unless you are explicitly using some other template in your organization).