The new comments feature introduced in SharePoint Online modern lists allows users to comment on SharePoint Online 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 https://crescent-admin.sharepoint.com #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
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.
- Click on OK to save the changes.
This turns off comments in the SharePoint Online list.