Redigera

Dela via


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 or On without IVR Spam filtering is enabled. In case the call is considered as spam, the user gets a "Spam Likely" notification in Teams.
  • 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