How to enable/disable the comments on SharePoint Lists

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

11 Comments

  1. Robyn Gwinn said:

    When running the command to disable comments on SharePoint lists for the tenant, how long does it take before seeing this deactivated?

    December 18, 2020
    Reply
    • David Ramalho said:

      Hi Robyn,

      That should take a couple of hours since is a tenant setting that is being updated.

      My best,
      David Ramalho

      December 18, 2020
      Reply
  2. james vose said:

    Hello

    Using Powerautomate, can you send emails to a person field once a comment has been added?

    thanks
    James

    January 22, 2021
    Reply
    • David Ramalho said:

      Hi James,

      As far as I know, it’s not possible to send an email when a new comment is added to the list item.

      My best,
      David Ramalho

      February 10, 2021
      Reply
  3. Warren said:

    This switch on the Set-SPOTenant cmdlet doesn’t seem to exist anymore..

    March 22, 2021
    Reply
    • David Ramalho said:

      Hi,

      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.

      My best,
      David Ramalho

      March 22, 2021
      Reply
  4. Usama said:

    Hi,

    The PARAM VALUE is $ture for disable or enable?
    Set-SPOTenant -CommentsOnListItemsDisabled $true
    Thanks

    May 28, 2021
    Reply
    • David Ramalho said:

      Hi, the $true parameter will make the comments on list not possible.

      June 3, 2021
      Reply
  5. Dean said:

    Hello David,

    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!

    June 3, 2021
    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *