How to disable sync option on document library?

Contributor

I am using SharePoint Online from O365. We are using modern teamsites with modern document libraries. How can I disable the sync option on a document library programmatically? Is this possible in Office Dev Pnp Template Provisioning or in Office Dev PnP Powershell?

1 Reply