Client-side rules

%3CLINGO-SUB%20id%3D%22lingo-sub-2499485%22%20slang%3D%22en-US%22%3EClient-side%20rules%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2499485%22%20slang%3D%22en-US%22%3E%3CPRE%3E%26lt%3Bp%26gt%3B%3C%2FPRE%3E%3CP%3EIt%20seems%20incredible%20that%20there%20is%20no%20visibility%20into%20client-side%20rules%20(particularly%20via%20PowerShell.)%26nbsp%3B%20Our%20company%20would%20like%20a%20means%20of%20preventing%20client-side%20rules%20that%20forward%20emails%20without%20using%20transport%20rules.%26nbsp%3B%20The%20transport%20rules%20simply%20are%20not%20granular%20enough%20for%20this%20specific%20issue.%26nbsp%3B%20Beyond%20that%2C%20I%20would%20think%20there%20would%20be%20huge%20security%20concerns%20with%20client-side%20rules%20with%20recent%20exploits.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20thoughts%20on%20how%20to%20overcome%20this%20short%20coming%3F%3C%2FP%3E%3CPRE%3E%26lt%3B%2Fp%26gt%3B%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2502708%22%20slang%3D%22en-US%22%3ERe%3A%20Client-side%20rules%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2502708%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F70319%22%20target%3D%22_blank%22%3E%40Michael%20Donovan%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHello!%20You've%20posted%20your%20question%20in%20the%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FCommunity-Discussion%2Fbd-p%2FCommunityQuestions%22%20target%3D%22_blank%22%3ETech%20Community%20Discussion%20space%2C%3C%2FA%3E%20which%20is%20intended%20for%20discussion%20around%20the%20Tech%20Community%20website%20itself%2C%20not%20product%20questions.%20I'm%20moving%20your%20question%20to%20the%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fexchange%2Fbd-p%2FExchange_General%22%20target%3D%22_self%22%3EExchange%20space%3C%2FA%3E-%20please%20post%20Exchange%20questions%20here%20in%20the%20future.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2505015%22%20slang%3D%22en-US%22%3ERe%3A%20Client-side%20rules%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2505015%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F70319%22%20target%3D%22_blank%22%3E%40Michael%20Donovan%3C%2FA%3El%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%20Good%20afternoon.%20I%20believe%20you%20are%20looking%20for%20a%20PowerShell%20cmdlet%20that%20would%20let%20you%20see%20Inbox%20Rules.%20The%20following%20post%20is%20more%20information%20about%20the%20Get-InboxRule%20cmdlet%20(%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fexchange%2Fget-inboxrule%3Fview%3Dexchange-ps%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fexchange%2Fget-inboxrule%3Fview%3Dexchange-ps%3C%2FA%3E)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20two%20ways%20that%20I%20know%20how%20to%26nbsp%3Bprevent%20client-side%20rules%20that%20forward%20emails%3A%3C%2FP%3E%3COL%3E%3CLI%3EControl%20automatic%20external%20email%20forwarding%20in%20Microsoft%20365%20using%26nbsp%3Boutbound%20spam%20filter%20policy%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-365%2Fsecurity%2Foffice-365-security%2Fexternal-email-forwarding%3Fview%3Do365-worldwide%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-365%2Fsecurity%2Foffice-365-security%2Fexternal-email-forwarding%3Fview%3Do365-worldwide%3C%2FA%3E%3C%2FLI%3E%3CLI%3ETransport%20to%20stop%20all%20auto-forwarding%20emails%20-%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-365%2Fbusiness-video%2Fstop-email-auto-forward%3Fview%3Do365-worldwide%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-365%2Fbusiness-video%2Fstop-email-auto-forward%3Fview%3Do365-worldwide%3C%2FA%3E%3C%2FLI%3E%3C%2FOL%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2550162%22%20slang%3D%22en-US%22%3ERe%3A%20Client-side%20rules%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2550162%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%26nbsp%3Bfor%20your%20reply%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F41707%22%20target%3D%22_blank%22%3E%40Eric%20Starker%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20I%20run%20a%20get-inbox%20on%20a%20mailbox%20and%20look%20at%20any%20rules%20with%20the%20value%26nbsp%3Bsupportedbytask%20set%20to%20false%2C%20those%20always%20seem%20to%20match%20the%20client%20side%20rules.%26nbsp%3B%20I%20went%20as%20far%20as%20making%20a%20new%20rule%20client%20side%20and%20converting%20another%20rule%20to%20server%20side.%26nbsp%3B%20And%20I%20discovered%26nbsp%3B%20the%20change%20was%20picked%20up%20by%20my%20one-line%20script.%3C%2FP%3E%3CP%3EGet-InboxRule%20-Mailbox%20%3CMAILBOX%3E%20%7C%20where%20%7B%24_.supportedbytask%20-eq%20%24false%7D%20%7Cselect%20Identity%2C%20Name%3C%2FMAILBOX%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDo%20you%20have%20any%20idea%20what%20the%26nbsp%3Bsupportedbytask%20is%3F%26nbsp%3B%20I%20feel%20like%20I%20have%20stumbled%20onto%20something%20but%20I%20would%20like%20an%20experts%20opinion.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor
<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>
5 Replies

@Michael Donovan 

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. 

@Michael Donovanl,

  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:

  1. 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-forwardin...
  2. Transport to stop all auto-forwarding emails - https://docs.microsoft.com/en-us/microsoft-365/business-video/stop-email-auto-forward?view=o365-worl...

Thanks for your reply @Eric Starker 

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.

Thanks @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.
While I appreciate the question, I am a community manager and not a product expert.

Sorry I can't help you here, but I'm sure you'll get great responses from the experts here!