You want to use Copilot in Outlook to summarize, draft, or analyze your inbox messages, but your organization applies retention policies that automatically delete or archive items after a set period. Retention policies can remove messages before Copilot processes them, causing incomplete results or errors. This article explains how retention policies interact with Copilot in Outlook and provides steps to configure both tools so they work together without data loss or access issues.
Key Takeaways: Copilot and Retention Policies in Outlook
- Microsoft 365 compliance center > Retention policies > Adaptive scope: Create a scope that excludes Copilot-processed folders from deletion.
- Outlook on the web > Copilot pane > Settings > Data sources: Verify which folders Copilot can access when retention tags are applied.
- Power Automate flow > Trigger: When a new email arrives: Use automation to archive items before retention deletes them, preserving data for Copilot queries.
How Retention Policies Affect Copilot in Outlook
Retention policies in Microsoft 365 are rules that delete, archive, or label email messages after a specified duration. These policies are set by your IT administrator through the Microsoft 365 compliance center. When a retention policy deletes an email before Copilot has indexed or processed it, Copilot cannot return that message in its responses. This can result in incomplete summaries, missing attachments, or errors when you ask Copilot to find information from a specific conversation.
Copilot in Outlook works by scanning the messages currently in your inbox and other selected folders. It uses the Microsoft Graph index to locate content. If a retention policy has moved a message to the Deleted Items folder or permanently removed it, Copilot cannot access that data. The key challenge is timing: retention policies run on a schedule, and Copilot queries are real-time. To avoid conflicts, you must align retention schedules with Copilot’s indexing cycle or archive messages before they are deleted.
Retention Policy Types and Their Impact
There are two main types of retention policies: delete-only and archive-then-delete. Delete-only policies permanently remove messages after a set number of days. These pose the highest risk because once a message is gone, Copilot cannot retrieve it. Archive-then-delete policies move messages to an archive mailbox before deletion. Copilot can still access archived messages if the archive mailbox is included in the user’s Exchange Online license and the archive folder is indexed.
Copilot Data Access Requirements
Copilot requires that messages be present in a user’s mailbox or archive at the time of the query. The Microsoft Graph index refreshes every few minutes, but retention policy deletions happen on a batch schedule that can be hours or days. To ensure Copilot sees all relevant messages, you must either extend the retention period or use a Power Automate flow to copy messages to a separate folder before the retention policy deletes them.
Steps to Configure Retention Policies for Copilot Compatibility
Follow these steps to adjust retention policies so Copilot can access your inbox items without data loss.
- Open the Microsoft 365 compliance center
Go to https://compliance.microsoft.com and sign in with an account that has Compliance Administrator or Exchange Online Administrator permissions. - Navigate to retention policies
In the left navigation pane, select Data lifecycle management > Microsoft 365 > Retention policies. A list of existing policies appears. - Select the policy applied to your inbox
Click the policy name that governs your Inbox folder. If you are unsure which policy applies, check with your IT administrator. - Modify the retention period
Under Retention settings, change the Retention period to a value that gives Copilot enough time to index messages. For example, set it to 90 days instead of 30 days. Click Save. - Create an adaptive scope to exclude Copilot-processed folders
Scroll to Scopes and click Add scope. Choose Adaptive. Name the scope Exclude Copilot Folders. Under Query, enter:NOT (FolderName eq 'CopilotProcessed'). This prevents the retention policy from deleting messages in a folder you designate for Copilot queries. - Apply the scope to your policy
In the policy settings, under Locations, select Exchange email and then choose Included. From the dropdown, pick the adaptive scope you just created. Click Save. - Verify the policy update
Wait 24 hours for the policy to propagate. Then send a test email and check if it remains in your Inbox after the original retention period would have deleted it.
Steps to Set Up a Power Automate Flow to Archive Before Retention Deletes
If you cannot change the retention period, use Power Automate to copy messages to a separate folder before deletion.
- Open Power Automate
Go to https://make.powerautomate.com and sign in with your Microsoft 365 work or school account. - Create a new automated cloud flow
Click Create and then select Automated cloud flow. Name the flow Archive Inbox Before Retention. - Choose the trigger
Search for When a new email arrives from the Outlook connector. Select it and click Create. - Configure the trigger
Set Folder to Inbox. Optionally, add a filter to only archive messages older than a certain number of days. - Add an action to move the email
Click New step. Search for Move email from the Outlook connector. In Message Id, select Message Id from the dynamic content list. In Destination folder, enter Archive or the name of a folder that is not subject to the retention policy. - Save and test the flow
Click Save. Send a test email to your inbox and verify that it moves to the Archive folder within a few minutes.
Common Issues When Using Copilot With Retention Policies
Copilot returns no results for recent messages
This occurs when the retention policy deletes messages before Copilot indexes them. To fix this, ensure the retention period is longer than the Copilot indexing cycle, which is typically 15 minutes. Set the retention period to at least 24 hours for all inbox items.
Copilot shows messages from the archive but not from the inbox
This happens when the retention policy has already moved messages to the archive. Copilot can read archived messages only if the archive mailbox is enabled and indexed. Verify that your Exchange Online license includes an archive mailbox. In Outlook on the web, go to Copilot pane > Settings > Data sources and ensure Archive mailbox is checked.
Retention policy still deletes messages after you create an adaptive scope
The adaptive scope may not apply to all folders. Double-check the scope query syntax. Use NOT (FolderName eq 'CopilotProcessed') exactly. Also verify that the policy is applied to the correct location. In the compliance center, open the retention policy and confirm that Exchange email is listed under Locations and that the adaptive scope is selected.
| Item | Retain and Delete Policy | Archive and Delete Policy |
|---|---|---|
| Description | Permanently deletes messages after a set period | Moves messages to archive mailbox then deletes after a second period |
| Copilot access after deletion | No access | Access through archive mailbox if indexed |
| Recommended retention period | 90 days or longer | 30 days archive, 60 days delete |
| Best for | Compliance-heavy environments with strict deletion rules | Environments where Copilot needs historical data |
You can now configure retention policies in the Microsoft 365 compliance center to avoid deleting messages before Copilot indexes them. Use adaptive scopes to exclude specific folders from deletion. If you cannot change retention periods, set up a Power Automate flow to archive messages automatically. For advanced control, combine adaptive scopes with a Power Automate flow that moves messages to a folder excluded from deletion. This ensures Copilot can always access your full inbox history.