Home

Exchange online: Office 365

%3CLINGO-SUB%20id%3D%22lingo-sub-394548%22%20slang%3D%22en-US%22%3EExchange%20online%3A%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-394548%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Team%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20a%20powershell%20script%20that%20i%20could%20use%20to%20extract%20all%20blocked%20domains%20from%20my%20Office%20365%20Exchange%20online%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAppreciate%20your%20expert%20inputs.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-394548%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-400974%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20online%3A%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-400974%22%20slang%3D%22en-US%22%3E%3CP%3EHere's%20how%20to%20get%20those%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EGet-HostedContentFilterPolicy%20-Identity%20'Default'%20%7C%20fl%20Blocked*%2CAllowed*%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-400619%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20online%3A%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-400619%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F58%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20864px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F105866iE47D1C9E92043BFA%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Block%20List.PNG%22%20title%3D%22Block%20List.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-400615%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20online%3A%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-400615%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F58%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E%26nbsp%3BSorry%20i%20was%20referring%20to%20%22Spam%20Filter%22%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-400610%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20online%3A%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-400610%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F58%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E%26nbsp%3BApology%20%2C%20We%20have%20blocked%20some%20Email%20addresses%20and%20Domains%20through%20Connection%20filtering%20and%20I'd%20like%20to%20know%20if%20there's%20a%20script%20that%20i%20could%20use%20to%20extract%20those%20information%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-394802%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20online%3A%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-394802%22%20slang%3D%22en-US%22%3E%3CP%3EBlocked%20how%3F%20By%20end%20users%2C%20by%20transport%20rules%2C%20by%20spam%20filter%20policies%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
WilliamTan30
Contributor

Hi Team,

 

Is there a powershell script that i could use to extract all blocked domains from my Office 365 Exchange online?

 

Appreciate your expert inputs.

 

Thanks!

5 Replies

Blocked how? By end users, by transport rules, by spam filter policies? 

@Vasil Michev Apology , We have blocked some Email addresses and Domains through Connection filtering and I'd like to know if there's a script that i could use to extract those information?

@Vasil Michev Sorry i was referring to "Spam Filter"

Here's how to get those:

 

Get-HostedContentFilterPolicy -Identity 'Default' | fl Blocked*,Allowed*

Related Conversations
Dont see any Contact in Teams
nicb in Microsoft Teams on
2 Replies
Hybrid Exchange duplicate Mailbox's issue
Russellp64 in Office 365 on
0 Replies
OUTLOOK JUNK FOLDER DUPLICATION BUG
Phil Gibbs in Office 365 on
1 Replies
Reporting on Project Online (PWA) Timesheets
Andy Dennis in Project on
3 Replies
Outlook (365) Need Password - Issue
Muhammad Ali Khan in Office 365 on
20 Replies