Forum Discussion
npaul123
Aug 09, 2023Copper Contributor
How to enable/disable document previews in Sharepoint site on MS365.
Per the reference document, https://learn.microsoft.com/en-us/office/office-365-management-api/office-365-management-activity-api-schema. 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
- 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-management-activity-api#connect-to-the-api