
Hi @JanSp ,
Thanks for the reply.
From SharePoint sight.
When I open a SharePoint document in a Word application, it requires authentication. If an account that has permissions to this SharePoint site can access it. Otherwise, this account cannot access this document. Only accounts with permissions can be verified the authentication. So, if you want to prevent this account from opening files in the site for a period of time afterwards, you could delete his permission in SharePoint.
From Office sight.
Normally one PC is combined with one user account, so the authentication is not frequently.
Microsoft says that when users authenticate in any of the Microsoft 365 web apps or mobile apps, a session is established. For the duration of the session, users won't need to re-authenticate.
In Word Client, the refresh tokens are valid for 90 days, and with continuous use, they can be valid until revoked.
More information about Session timeouts for Microsoft 365.
As to this issue, it is recommended that user sign out his account before close the document file.
Should you have any questions or concerns, please do feel free to contact me.
Yours sincerely,
Renjie Sun
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.