I have successfully integrated Office Online Server for SharePoint Server 2016 and successfully open documents in office online but there is option to edit in browser or open in word option which makes users having edit permission can edit the document.

But my requirement is to give them only read option to those document not edit. So that they can only read in browser. And my question is how to remove edit in browser or open in word option??

1 Answer 1


Use New-SPWOPISuppressionSetting. For example:

New-SPWOPISuppressionSetting -Extension "XLSX" -Action "edit"
  • Its not working in my Office Online Server of SharePoint Server 2016. I think its only applied to Office Web Apps which runs in SharePoint 2013. Oct 17, 2017 at 4:47
  • This cmdlet is used for both OOS and WAC.
    – user6024
    Oct 18, 2017 at 15:25
  • But its not working. I hit the mention code but edit option still there i can easily edit the document. Oct 22, 2017 at 4:59
  • Did you specify the correct extension? I only gave an example.
    – user6024
    Oct 22, 2017 at 5:00
  • I did Following: New-SPWOPISuppressionSetting -Extension DOCX -Action edit New-SPWOPISuppressionSetting -Extension ODT -Action edit New-SPWOPISuppressionSetting -Extension DOCM -Action edit Oct 22, 2017 at 5:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.