Jun 29 2021 05:35 PM
<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 using transport rules. The transport rules simply are not granular enough for this specific issue. Beyond that, I would think there would be huge security concerns with client-side rules with recent exploits.
Any thoughts on how to overcome this short coming?
</p>
Jun 30 2021 09:34 AM
Hello! You've posted your question in the Tech Community Discussion space, which is intended for discussion around the Tech Community website itself, not product questions. I'm moving your question to the Exchange space- please post Exchange questions here in the future.
Jun 30 2021 06:06 PM
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:
Jul 14 2021 04:54 PM
Thanks for your reply @EricStarker
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 experts opinion.
Jul 14 2021 04:58 PM
Jul 14 2021 05:01 PM