Inbox Rules for the whole organization for all mailboxes
Inbox Rules for the whole organization for all mailboxes Issue:
advise if there is a way to check mailbox rules for a whole organization.
The above advise is achieved only by the power shell script.
You need to connect to exchange online power shell to complete this process.
Article: https://learn.microsoft.com/en-us/powershell/exchange/exchange-online-powershell-v2?view=exchange-ps#windows
$mailboxes = Get-Mailbox -ResultSize Unlimited
foreach ($mailbox in $mailboxes) {
Get-InboxRule -Mailbox $mailbox.UserPrincipalName | Export-Csv "C:\MailboxRules\$($mailbox.UserPrincipalName).csv" - NoTypeInformation }
Note: Create a folder under C drive with a name "MailboxRules" You will get the output on the csv file after the script runs.