0

Disable Clutter in Office 365 Mailboxes Using Powershell

Clutter is a feature in Office 365 that moves all of your low priority emails out of your inbox into a dedicated folder. The problem is that some legitimate emails might be marked as low priority and inadvertently be sent to your clutter folder. In this article we’re going to discuss step by step how to disable clutter in Office 365 mailboxes using Powershell.

 

Now, I should mention that there really isn’t an easy way to disable clutter for the entire org (at least that I know of as of the writing of this article). Because of that, we’re going to revert to our trusty ol’ friend Powershell to do the heavy lifting. This will also allow us to automate this process on an ongoing basis so any new people that are onboarding, will get this setting too.

Disable Clutter in Office 365 Mailboxes Using Powershell


<#
.SYNOPSIS
    This script will disable clutter for the entire organization.

.NOTES
    Name: Disable-ClutterForAllUsers
    Author: theSysadminChannel
    Version: 1.0
    DateCreated: 2019-Mar-23

.LINK
    https://thesysadminchannel.com/disable-clutter-in-office-365-mailboxes-using-powershell -
#>

$UserList = Get-Mailbox -ResultSize Unlimited

foreach ($User in $UserList) {
    try {        
            Set-Clutter -Identity $User -Enable: $false -ErrorAction Stop
        
        } catch {
            Write-Error $_.Exception.Message
    }
}

 

This is not the most complicated script in the world and its fairly easy to read, but essentially we’re going to be getting all of the mailboxes in the org and running a foreach loop to disable clutter in Office 365.

Hopefully this article explains how to disable clutter in Office 365 mailboxes using Powershell. If you have any questions feel free to drop a comment and I’ll try to get back to you. Also, if you’re in the mood for more sysadmin content in video form, check out our Youtube Channel @theSysadminChannel or feel free to check out our Office 365 section full of awesome cloud content.

5/5 - (9 votes)

Paul Contreras

Hi, my name is Paul and I am a Sysadmin who enjoys working on various technologies from Microsoft, VMWare, Cisco and many others. Join me as I document my trials and tribulations of the daily grind of System Administration.

Leave a Reply

Your email address will not be published.