This issue may look strange. I will try to explain in several steps.
I have one sharepoint online site with one document library and 4 content types associated to this document library. All content types are office documents.
I want to create one document by using associated content type to document library. So when I select the content type from the new dropdown, office document will open in my machine (Client machine).
I created document and saved back to library. For all the steps above I used email@example.com account.
I followed the same steps to create one more document by using the firstname.lastname@example.org in the same physical machine and saved back to the same document library.
Now if I see the document properties for the document2, eg., modified by, it is showing the email@example.com account only. But in this case it should be firstname.lastname@example.org.
If I remove the email@example.com from the accounts in office document then it is asking for user name and password to open the document. But ideally client will not do this step all the time.
How to open an office document (using content types) with the currently logged in user from the sharepoint site to local machine?