Hello,
We have an intranet site containing a hierarchy of documents. Using the browser Edge, clicking on the link to open an Office document (for example a Word document)

it opens a new tab with a URL starting with https://view.officeapps.live.com/op/view.aspx?src=
and it displays an error stating "Word ran into a problem opening this document in a browser"

It happens with any file on this Intranet, and with Word or Excel.
I tried to Repair Office -> same issue
I tried to reset the settings in Edge -> same issue
I removed all extensions in Edge -> same issue
I cleared the cache in Edge -> same issue
I reinstalled Edge -> same issue
Then I tried to test with another site containing Office documents, I found this one https://file-examples.com/index.php/sample-documents-download/sample-doc-download/#google_vignette and clicked on one of the buttons to download a sample file.
It opened a new tab: https://view.officeapps.live.com/op/view.aspx?src=https%3A%2F%2Ffile-examples-com.github.io%2Fuploads%2F2017%2F02%2Ffile-sample_100kB.docx&wdOrigin=BROWSELINK
and this document works for me to display it.
I wonder why it works for the site above but doesn't for my intranet site.
The link seems to be constructed similarly: https://view.officeapps.live.com/op/view.aspx?src=https%3A%2F%2Fwfaueu.docushare.com%2Fdocushare%2Fdsweb%2FGet%2FDocument-1152%2FProcessSchema.docx&wdOrigin=BROWSELINK
I tried to use the Developer Tools I see that for the working site, the image of the document is displayed thanks to this URL: https://pnl1-word-view.officeapps.live.com/wv/ResReader.ashx?n=p1.img&WOPIsrc=http%3A%2F%2Fpnl1%2Dview%2Dwopi%2Ewopi%2Eonline%2Eoffice%2Enet%3A808%2Foh%2Fwopi%2Ffiles%2F%40%2FwFileId%3FwFileId%3Dhttps%253A%252F%252Ffile%252Dexamples%252Dcom%252Egithub%252Eio%253A443%252Fuploads%252F2017%252F02%252Ffile%252Dsample%255F100kB%252Edocx&access_token=1&access_token_ttl=0&z=332794745f5622beb843399e988a12b2d388c97c92ff1860f847b4aeadc5e0a0&v=00000000-0000-0000-0000-000000000802&usid=175ddc33-b800-48d3-abee-1dae5487ee3a&splashscreen=1&build=16.0.14723.41019&waccluster=PNL1
The result for this URL is an error 404 - File or directory not found
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.
Could you help determine what is the root cause of this issue?
And is there a way to make it work?
Thanks,
Cecile