> For the complete documentation index, see [llms.txt](https://docs.cipp.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cipp.app/user-documentation/email/administration/exchange-retention/policies.md).

# Policies

A retention policy is the container that groups retention tags together and is then applied to a mailbox. A mailbox can have only one retention policy at a time, and the tags in that policy are the retention options its user sees in Outlook. This page lists the retention policies in the selected tenant, alongside [Tags](/user-documentation/email/administration/exchange-retention/tags.md).

## Action Buttons

{% content-ref url="/pages/l1Id8rvMYBXygAHwOIKg" %}
[Add/Edit Policy](/user-documentation/email/administration/exchange-retention/policies/policy.md)
{% endcontent-ref %}

## Table Details

The properties returned are for the Exchange Online PowerShell command `Get-RetentionPolicy`. For more information on the command please see the [Microsoft documentation](https://learn.microsoft.com/powershell/module/exchangepowershell/get-retentionpolicy).

## Table Actions

<table><thead><tr><th>Action</th><th>Description</th><th data-type="checkbox">Bulk Action Available</th></tr></thead><tbody><tr><td>Edit Policy</td><td>Opens <a data-mention href="/user-documentation/email/administration/exchange-retention/policies/policy.md">Add/Edit Policy</a></td><td>false</td></tr><tr><td>Delete Policy</td><td>Opens a modal to confirm you want to delete the policy. A policy that is still applied to at least one mailbox cannot be deleted, and the results panel tells you so, so move those mailboxes onto another policy first.</td><td>true</td></tr></tbody></table>

***

## Feature Requests / Ideas

We value your feedback and ideas. Please raise any [feature requests](https://github.com/CyberDrain/CIPP/issues/new?template=feature.yml) on GitHub.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.cipp.app/user-documentation/email/administration/exchange-retention/policies.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
