How to enable/disable document previews in Sharepoint site on MS365.

Copper Contributor

Per the reference document, Admin can set/unset file previews in site according to 

PreviewModeEnabledSet enum value. 

However, I don't see such an option in Sharepoint Admin page. 

Can anyone guide on the appropriate permission/page to enable/disable file previews in a site.


1 Reply
It's not in the admin panel but API, So you can use powershell, HTTP etc:

Follow this and you should get an Idea how to use it