manage_retention_policies
Configure and manage retention policies for Microsoft 365 content across Exchange, SharePoint, OneDrive, and Teams to control data lifecycle and compliance requirements.
Instructions
Manage retention policies for content across Exchange, SharePoint, OneDrive, and Teams with lifecycle rules.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform on retention policy | |
| policyId | No | Retention policy ID for specific operations | |
| displayName | No | Display name for the retention policy | |
| description | No | Description of the retention policy | |
| isEnabled | No | Whether the policy is enabled | |
| retentionSettings | Yes | Retention policy settings | |
| locations | No | Locations where the policy applies |