CIPP.app icon

CIPP.app

Manage Microsoft 365 tenants via CIPP.app

Actions619

Transport → Add or Edit Rule

AI-generated

Summary

Create or update a tenant’s Exchange transport rule by sending its name, enabled state, conditions, actions, and optional additional properties to CIPP. Use the condition and action fields to define when the rule applies and what it does; extra JSON properties are merged into the request body.

Inputs

  • Tenant (required) — Select a tenant from the list or enter its domain.
  • Rule Name (required) — Name of the transport rule to create or edit.
  • Enabled — Whether the rule is enabled; defaults to true.
  • Conditions — Optional match criteria, such as sender or recipient, message size, subject or body words, sender IP ranges, and whether to apply to all messages. Comma-separated values are supported where indicated.
  • Actions — Optional effects for matching messages, including applying Office Message Encryption, copying or blind-copying to a recipient, deleting the message, setting importance, or applying an HTML disclaimer.
  • Additional Fields — Optional activation date and comments. Extra Properties accepts a JSON object of additional transport rule properties to merge into the request body.

Output shape

A single item containing the CIPP API response.

The operation sends the selected tenant in the request body. The source pack does not specify a more precise response shape.

Links

Discussion