Forum Discussion
john john
Aug 24, 2023Steel Contributor
Can we hide the Sync on all the current sites and future sites using UI or using PowerShell
I know that we can hide the Sync button for a document library or for all the document libraries inside a site as mentioned in this link https://www.sharepointdiary.com/2017/08/disable-sync-button-i...
john john
Aug 25, 2023Steel Contributor
ganeshsanapdid you try this command
Set-PnPTenant -DisableListSync $true
as i will get this error
Set-PnPTenant: Field or property "DisableListSync" does not exist.
Aug 25, 2023
john john I highly recommend from turning sync off in that manner. You are asking for trouble. You’ll end up with duplicated data on everyone’s machines with local copies being saved to from recent lists etc.
this was one of the biggest problems with sync verses using the newer link to OneDrive feature was removing sync left files behind in any file that had an offline copy.