How to hide sync option in sharepoint server subscription edition at web application level

Lokesh Dharmappa 0 Reputation points
2024-10-04T11:54:54.7866667+00:00

we want to hide sync option across the farm on SharePoint sites.

The environment is SharePoint server subscription edition.

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,341 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Ling Zhou_MSFT 17,060 Reputation points Microsoft Vendor
    2024-10-07T02:50:35.66+00:00

    Hi @Lokesh Dharmappa ,

    Thank you for posting in this community.

    I looked up the information and I'm sorry to say that there is no centralized setup for managing the sync button for the entire farm in SharePoint Server Subscription Edition.

    We can only hide the sync button by manually disabling the Offline Client Availability feature for each site.

    User's image

    We are always looking for ways to improve SharePoint, and your feedback and suggestions are very valuable. We suggest that you can make suggestions on this SharePoint Feedback portal to further optimize the management of the sync button on SharePoint Server Subscription Edition at web application level. Your contribution will be highly appreciated.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Ling Zhou_MSFT 17,060 Reputation points Microsoft Vendor
    2024-10-07T09:04:13.24+00:00

    Hi @Lokesh Dharmappa ,

    I found a powershell command that is able to turn off the SharePoint 2019 sync button for all sites. You can try this to see if it works the same for SharePoint server subscription edition.

    Please open the SharePoint server subscription edition management shell as an administrator and run the following command:

    Add-PSSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue
     
    Get-SPSite -limit all | get-SPWeb -limit all | Foreach { $_.ExcludeFromOfflineClient=1;
       $_.Update()
    } 
    

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.