Discover what language EOP blocked

Dan Chandler-Klein 41 Reputation points
2024-03-04T19:49:45.8933333+00:00

We just turned on Exchange Online Protection and are using a language filter policy. It works mostly great but has caught a couple emails as having a banned language when it does not. When I view the email in message explorer it says "Blocked by organization policy : Language filter from policy". But I can't seem to find where it lists what language triggered the policy. Where can I find that?

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,471 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JimmyYang-MSFT 51,716 Reputation points Microsoft Vendor
    2024-03-05T09:21:08.4033333+00:00

    Hi @Dan Chandler-Klein

    To view the specific language that triggered the language filter policy in Exchange Online Protection, you can use the Exchange Online PowerShell cmdlet Get-HostedContentFilterPolicy. Here are the steps:

    1. Open the Exchange Online PowerShell.
    2. Run the following command to connect to Exchange Online:
    Connect-ExchangeOnline 
    
    1. Run the following command to get a list of all the language filter policies in your organization:
      Get-HostedContentFilterPolicy
    
    1. Find the policy that is causing the issue and note its name.
    2. Run the following command to view the details of the policy:

    Get-HostedContentFilterPolicy -Identity "policy name" | Format-List LanguageBlockList` Replace "policy name" with the name of the policy that you noted in step 4.

    1. This command will display the language(s) that are blocked by the policy. You can compare this with the email that was incorrectly flagged to determine if the language filter policy needs to be adjusted.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.