Hello friends, today I will talk about how to open and close the new social interaction bar that comes with the sharepoint online modern page structure.
As you can see above, when you create a new sharepoint communication site design from scratch and add a modern page to this site, the social bar feature comes automatically.
Since this is generally desired to be used on sites where every interaction is desired, it may not be used on some sites.
You can turn this feature off using the powershell code below.
$SiteURL = "https://xxx.sharepoint.com/sites/yyyy"
Connect-SPOService -Url $AdminCenterURL -Credential (Get-Credential)Set-SPOSite -Identity $SiteURL -SocialBarOnSitePagesDisabled $True
In the powershell code above, you need to add the domain address of your sharepoint online address to the “xxxx” part, if it is a subsite, your subsite address to the “yyyy” part. Here you can delete the “sites/yyyy” part if you are going to remove it directly from your root sharepoint address.
Connect-SPOService -Url $AdminCenterURL -Credential (Get-Credential)
Set-SPOTenant -SocialBarOnSitePagesDisabled $true
If you want to remove this feature at the Tenant level, it will be enough to run the powershell code above.
After running the Powershell code without any problems, the social bar feature will be turned off as you can see in the image above.
If you want to re-enable this feature, which you turned off later, if you re-execute the “$true” value as “$false” in the same powershell codes, it will be active.