Forum Discussion
Michael Donovan
Jun 30, 2021Brass Contributor
Client-side rules
<p> It seems incredible that there is no visibility into client-side rules (particularly via PowerShell.) Our company would like a means of preventing client-side rules that forward emails without ...
davidbmarker
Jul 01, 2021Brass Contributor
Good afternoon. I believe you are looking for a PowerShell cmdlet that would let you see Inbox Rules. The following post is more information about the Get-InboxRule cmdlet (https://docs.microsoft.com/en-us/powershell/module/exchange/get-inboxrule?view=exchange-ps)
The two ways that I know how to prevent client-side rules that forward emails:
- Control automatic external email forwarding in Microsoft 365 using outbound spam filter policy
https://docs.microsoft.com/en-us/microsoft-365/security/office-365-security/external-email-forwarding?view=o365-worldwide - Transport to stop all auto-forwarding emails - https://docs.microsoft.com/en-us/microsoft-365/business-video/stop-email-auto-forward?view=o365-worldwide
- Michael DonovanJul 14, 2021Brass ContributorThanks davidbmarker
When I run a get-inbox on a mailbox and look at any rules with the value supportedbytask set to false, those always seem to match the client side rules. I went as far as making a new rule client side and converting another rule to server side. And I discovered the change was picked up by my one-line script.
Get-InboxRule -Mailbox <mailbox> | where {$_.supportedbytask -eq $false} |select Identity, Name
Do you have any idea what the supportedbytask is? I feel like I have stumbled onto something, but I would like an expert's opinion.