How to Enable-Disable Comments in SharePoint Online List?

The new comments feature introduced in SharePoint Online modern lists allows users to comment on SharePoint Online list items.

sharepoint online disable comments on list items

Disable Comments in SharePoint Online List Items

Although comments in SharePoint Online list items is a great new feature, in some scenarios you may want to hide it! E.g. It may cause confusion for end-users of lists that already have a comments field.

How to disable list comments at the tenant level using PowerShell?

To disable list item comments globally at the tenant level, Login as a SharePoint Admin/Global Admin and use the Set-SPOTenant PowerShell cmdlet with CommentsOnListItemsDisabled parameter.

#Connect to SharePoint Online
Connect-SPOService -Url

#Disable comments on list items
Set-SPOTenant -CommentsOnListItemsDisabled $True

This PowerShell disables comments on all lists tenant-wide (not for specific sites). To enable the comments back, use:

#Enable comments on list items
Set-SPOTenant -CommentsOnListItemsDisabled $False
If you get “Set-SPOTenant : A parameter cannot be found that matches parameter name ‘CommentsOnListItemsDisabled’.” error, You have to update your PowerShell module for SharePoint Online! More info here: How to update SharePoint Online PowerShell Module?

SharePoint Online: Disable comments at list level

To disable comments in the SharePoint Online list, do the following:

  • Go to your SharePoint list >> Click on the settings gear icon >> Select List settings
  • on the List Settings page, click on “Advanced”
  • Under the “Comments” section, set the “Allow comments on list items?” to Yes or “No” according to your requirement.
    enable-disable comments in sharepoint online list
  • Click on OK to save the changes.

This turns off comments in the SharePoint Online list.

Salaudeen Rajack

Salaudeen Rajack is a SharePoint Architect with Two decades of SharePoint Experience. He loves sharing his knowledge and experiences with the SharePoint community, through his real-world articles!

Leave a Reply