How to trigger in Office Read-only yellow ribbon message?

New Contributor


Is there a way how i can show/trigger  in Office (Word, Excel) a yellow ribbon message "Read-only This document was opened in read-only mode..."?

I have my custom WebDAV server where i serve my files (Word, Excel files)


Already tried:

- To return 403 Forbidden on LOCK. (didnt worked)

- Removed MS-Author-Via Header (Didnt worked)


Also is there a way how i can show that Session is expired?

2 Replies
Is there someone who knows it? I thought it's not a difficult question for Microsoft...
You have posted on the Microsoft Learn community board which is all about exams, certification and training. You might get a better response on the Excel community board