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

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:

  • On Spam filtering is fully enabled. Both Basic and Captcha Interactive Voice Response (IVR) checks are performed. In case the call is considered as spam, the user gets a "Spam Likely" notification in Teams.
  • On without IVR Spam Filtering is partially enabled. Captcha IVR checks are disabled. A "Spam Likely" notification appears. A call might get dropped if it gets a high score from Basic checks.
  • Off Spam filtering is disabled. No checks are performed. A "Spam Likely" notification doesn't appear.

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