Welcome to deBUG.to Community where you can ask questions and receive answers from Microsoft MVPs and other experts in our community.
0 like 0 dislike
3.1k views
in SharePoint Online by 24 25 33

Is it possible to remove and disable the social bar at the bottom of the SharePoint Modern Pages, I need to remove and disallow the Likes, Comment, Views, and Save for Later options below the SharePoint Modern Pages in Team and Communication sites as below

remove like and comment and view in Modern SharePoint Pages


1 Answer

1 like 0 dislike
by 159 198 381
selected by
 
Best answer

Remove Likes, Comment, Views, and Save for Later options In SharePoint Modern Pages

To remove or disable the social bar at the bottom of modern pages, you have to use PnP PowerShell because there is no GUI to disable it.

1) Disable Social Bar n SharePoint Modern Pages for specific site

  1. Open PowerShell
  2. Run the below cmdlets, one by one

     Connect-PnPOnline -url https://siteURL -interactive
     Set-PnPSite -SocialBarOnSitePagesDisabled $true
    

2) Disable Social Bar n SharePoint Modern Pages for all sites

  1. Open PowerShell
  2. Run the below cmdlets, one by one

     Connect-PnPOnline -url https://TenantURL 
     Set-PnPSite -SocialBarOnSitePagesDisabled $true
    

3) Enable Social Bar n SharePoint Modern Pages for a specific site

  1. Open PowerShell
  2. Run the below cmdlets, one by one

     Connect-PnPOnline -url https://siteURL -interactive
     Set-PnPSite -SocialBarOnSitePagesDisabled $false
    

4) Enable Social Bar n SharePoint Modern Pages for all sites

  1. Open PowerShell
  2. Run the below cmdlets, one by one

     Connect-PnPOnline -url https://TenantURL 
     Set-PnPSite -SocialBarOnSitePagesDisabled $false
    

>Note: you have to install the latest version of the PnP PowerShell.

If you don’t ask, the answer is always NO!
...