CIPP.app icon

CIPP.app

Manage Microsoft 365 tenants via CIPP.app

Actions619

Spam Filter → Add Spam Filter Template

AI-generated

Summary

Creates a spam filter template in CIPP using the supplied template name and optional PowerShell command.

Inputs

  • Template Name (required) — Name for the spam filter template.
  • PowerShell Command — Optional PowerShell command for the template, entered under Additional Fields.

Output shape

A single API response item.

The source pack omits function bodies, so the exact response fields and request endpoint are not visible.

Examples

Example 1: basic usage

Creates a spam filter template named 'Strict Filtering'. Optional PowerShellCommand is omitted.

Example 2: with additional fields

Creates a spam filter template named 'Custom Filter' with PowerShellCommand set to a PowerShell command string.

Links

Discussion