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

Copper Contributor

Per the reference document, https://learn.microsoft.com/en-us/office/office-365-management-api/office-365-management-activity-ap.... 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.

Thanks

1 Reply
Hi!
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
https://learn.microsoft.com/en-us/office/office-365-management-api/troubleshooting-the-office-365-ma...