One of the recent updated for Microsoft Lists / SharePoint List Online was the possibility to comment on each item of a list that allows you to interact with other users for that particular item. This is a great feature which will be helpful to many organization and will help users to extend their collaboration. However, it’s possible that some organization may want to disable or enable the option in a programmed scheduled.
At this time, either you enable this option to all your Microsoft 365 tenant or disable. Microsoft is planning for future release to control this option by list or site which will help to create a certain list with this option activated or deactivated.
First, you need to make sure you have the SharePoint Online Management Shell on the latest versions, check the following article to know how to do it –
Install/Update/Uninstall Cmdlets for SharePoint Online – SharePoint Tricks (sharepoint-tricks.com)
After this is installed you need to run the following command depending on what you’re trying to accomplish:
#To disable it run this command Connect-SPOService -Url https://contoso-admin.sharepoint.com/ Set-SPOTenant -CommentsOnListItemsDisabled $true #To enable this run this command Connect-SPOService -Url https://contoso-admin.sharepoint.com/ Set-SPOTenant -CommentsOnListItemsDisabled $true
[…] How to enable/disable the comments on SharePoint Lists / Microsoft Lists […]
When running the command to disable comments on SharePoint lists for the tenant, how long does it take before seeing this deactivated?
That should take a couple of hours since is a tenant setting that is being updated.
[…] tanks to my friend David Ramalho that brought the option to disable comments to my […]
Using Powerautomate, can you send emails to a person field once a comment has been added?
As far as I know, it’s not possible to send an email when a new comment is added to the list item.
This switch on the Set-SPOTenant cmdlet doesn’t seem to exist anymore..
The Set-SPOTenant property is still being used, perhaps you don’t see the CommentsOnListItemsDisabled command. If that the case, you need to update your SharePoint Online Management shell to newer versions.
The PARAM VALUE is $ture for disable or enable?
Set-SPOTenant -CommentsOnListItemsDisabled $true
Hi, the $true parameter will make the comments on list not possible.
great article, but I was searching for a solution to disable this function only for specific lists.
There is a third part solution available to disable comments for specific lists. Here is the Video I have found today on youtube: https://www.youtube.com/watch?v=rk-s2DLg8QE&t=1s
Works great for me and my customers, I am so happy!