cipp_set_email_forwarding
Configure email forwarding on a mailbox to redirect all incoming messages to another address. Reversible but high-impact due to data exfiltration risk.
Instructions
⚠ HIGH-IMPACT. Configures email forwarding on a mailbox, silently redirecting the user's incoming mail to another address. This is a common data-exfiltration vector. Reversible by removing the forwarding rule. Confirm with the user before invoking.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| upn | Yes | User Principal Name of the mailbox to configure forwarding on. | |
| keepCopy | No | When true (default), a copy of each forwarded message is retained in the original mailbox. | |
| forwardTo | No | Email address to forward incoming messages to. Omit this parameter to disable forwarding. | |
| tenantFilter | Yes | Tenant domain name or ID to scope the operation. Use 'allTenants' to target every managed tenant. |