Configure spam filtering for calls in Microsoft Teams

In Microsoft Teams, admins can configure spam filtering for inbound calls from the Public Switched Telephone Network (PSTN). Teams can detect potential spam calls and notify users with a "Spam Likely" notification.

Spam filtering for calls isn't the same as blocking inbound calls. For more information, see Block inbound calls.

Using the Teams admin center

  1. Sign in to the Microsoft Teams Admin Center.

  2. Go to Calling Policies.

  3. Select the policy you want to edit (e.g., Global or a custom policy).

  4. Find the Spam Filtering setting. This setting allows you to control the type of spam filtering available on incoming calls. This setting is on by default. This setting has three options:

    1. On Spam filtering is enabled. In case the call is considered as spam, the user gets a "Spam Likely" notification in Teams, filtering may include basic and captcha interactive voice response (IVR) checks.

    2. On without IVR Spam filtering is enabled. In case the call is considered as spam, the user gets a "Spam Likely" notification in Teams, No IVR checks are performed.

    3. Off Spam filtering is disabled. No checks are performed. A "Spam Likely" notification doesn't appear.

  5. Set it to the option of your choice

  6. Save changes.

Using PowerShell

To configure spam filtering for calls in Teams, use the -SpamFilteringEnabledType parameter with the following cmdlets:

For example, this script enables spam detection for the global policy:

Set-CsTeamsCallingPolicy -Identity Global -SpamFilteringEnabledType Enabled

Block inbound calls

Routing inbound calls

Configure calling policies in Microsoft Teams