cipp_set_email_forwarding
Configure email forwarding on a Microsoft 365 mailbox to redirect incoming messages to another address. Can also disable existing forwarding by omitting the target address.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tenantFilter": "<tenantFilter>",
"upn": "<upn>"
},
"name": "cipp_set_email_forwarding"
}
}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. |