cipp_add_scheduled_item
Schedule CIPP functions to run at specified times with optional recurrence, parameters, and tenant scoping. Automate recurring administrative tasks across Microsoft 365 tenants.
Instructions
Create a new scheduled task
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | The CIPP function or command to execute on the schedule (e.g. "Get-CIPPAlerts"). | |
| taskName | Yes | Human-readable name to identify this scheduled task in the CIPP UI. | |
| parameters | No | Arguments passed to the scheduled command, keyed by parameter name. Omit only when the command genuinely takes no arguments — without it the command runs bare. | |
| recurrence | No | Cron expression or friendly recurrence interval (e.g. "0 9 * * 1" for every Monday at 09:00, or "Daily"). Omit for a one-off task. | |
| tenantFilter | No | Optional tenant domain name or ID to scope the scheduled task. Use 'allTenants' to run across every managed tenant. | |
| scheduledTime | Yes | When the task should first run — an ISO 8601 datetime (e.g. "2026-06-01T09:00:00Z") or Unix epoch seconds. Converted to epoch seconds before it is sent to CIPP. |