Implementing Retention Labels and Policies

Earn 25 points (50 with Pro) in two steps

  1. ① Read through the lesson — each section gets a ✓ as you scroll through it.
  2. ② When every section has a ✓, tap Complete lesson.

0 of 11 read · keep scrolling

✦ See fewer ads and earn double points — 50 a lesson instead of 25 — with Pro

Implementing Retention Labels and Policies in Microsoft Purview

Introduction: The Necessity of Data Governance

In the modern digital landscape, organizations generate massive volumes of data every single day. From emails and instant messages to complex project files and financial records, the sheer scale of information can become a significant liability if not managed correctly. Data governance is no longer just an IT concern; it is a fundamental business requirement for legal compliance, risk mitigation, and operational efficiency. If you keep data for too long, you increase your exposure to legal discovery requests and potential security breaches. If you delete data too early, you may violate industry regulations or lose critical business intelligence.

Microsoft Purview provides a centralized framework to manage this data lifecycle through Retention Labels and Retention Policies. By implementing these tools, you can ensure that your organization retains what it must and deletes what it should, all while minimizing the administrative burden on your end-users. This lesson will guide you through the intricacies of these features, helping you understand how to design, deploy, and monitor an effective data management strategy that aligns with your organizational requirements.


Not read yet

Understanding the Difference: Retention Policies vs. Retention Labels

Before diving into the implementation steps, it is vital to distinguish between retention policies and retention labels. While both are used to manage the data lifecycle, they operate at different granularities and serve different purposes within your information architecture.

Retention Policies

Retention policies are designed to be broad, container-level tools. You apply them to entire workloads, such as all Exchange mailboxes, all SharePoint sites, or all OneDrive accounts. These policies are "set and forget"—once configured, they automatically apply to all data within the selected locations without requiring any action from the end-user. They are ideal for baseline compliance requirements, such as a company-wide mandate stating that all emails must be kept for seven years.

Retention Labels

Retention labels, by contrast, are granular and content-specific. They are designed to be applied to individual items, such as a specific document, a single email, or a file within a SharePoint library. Because they are item-level, they allow for much more precise control. You can apply a label to a specific "Project Contract" document that triggers a five-year retention period, while a "Marketing Flyer" in the same folder might have a label that deletes it after one year. Labels can be applied manually by users, automatically based on keywords or sensitive information types, or as part of a default setting on a folder.

Callout: Retention Policy vs. Retention Label Think of a Retention Policy as a "blanket" that covers an entire room (like a SharePoint site), ensuring everything under it follows the same rules. Think of a Retention Label as a "tag" you place on specific boxes within that room. The tag allows you to treat that specific box differently from everything else in the room. Use policies for broad, location-based requirements and labels for specific, content-based requirements.


Not read yet

Designing Your Retention Strategy

Before you begin clicking through the Microsoft Purview portal, you must invest time in strategy and planning. A common mistake is jumping straight into technical configuration without clear business requirements.

Step 1: Identify Your Data Types

Start by cataloging the types of data your organization creates. Engage with your legal, HR, and finance departments to determine the specific retention periods for different categories of information. For example, tax records might require a seven-year retention period, while internal project drafts might only require six months.

Step 2: Determine Scope and Location

Map your data types to the locations where they reside. If your financial records are stored exclusively in a specific SharePoint site, you can target your retention policy directly to that site. If your legal hold data is scattered across email and Teams chats, you will need to ensure your policies cover those specific workloads.

Step 3: Define Lifecycle Actions

For every data category, you need to decide what happens when the retention period expires. Your options generally include:

  • Retain and then delete: Keep the item for a set period and remove it automatically once that time passes.
  • Retain only: Keep the item indefinitely or for a set period, but do not perform an action after the period ends.
  • Delete only: Remove items after a certain age, without any obligation to keep them for a minimum duration.

Not read yet

Implementing Retention Policies: Step-by-Step

Retention policies are the most efficient way to enforce baseline compliance. Follow these steps to configure a policy in the Microsoft Purview compliance portal.

  1. Navigate to the Portal: Log in to the Microsoft Purview compliance portal and select Data lifecycle management > Microsoft 365 > Retention policies.
  2. Create New Policy: Click on New retention policy. Provide a descriptive name that reflects its purpose (e.g., "7-Year Financial Records Policy").
  3. Define Scope: Choose whether the policy is "Adaptive" or "Static." Static policies are based on specific locations, while adaptive policies use queries to dynamically include or exclude users and sites based on attributes like department or location.
  4. Select Locations: Select the workloads you wish to include. You can toggle on Exchange email, SharePoint sites, OneDrive accounts, and Microsoft 365 Groups.
  5. Configure Settings: Define the retention period (e.g., 7 years) and the action to take at the end (e.g., delete items automatically).
  6. Review and Submit: Carefully review your settings. Once the policy is submitted, it can take up to 24 hours to take effect across your tenant.

Tip: Always start with a "test" policy applied to a small set of users or a single SharePoint site. Verify that the policy behaves as expected by checking the audit logs before rolling it out to the entire organization.


Not read yet

Implementing Retention Labels: A Deep Dive

Retention labels provide the surgical precision required for complex compliance landscapes. Implementing them involves a two-stage process: creating the label and then publishing or auto-applying it.

Creating a Retention Label

  1. Navigate to Data lifecycle management > Microsoft 365 > Retention labels.
  2. Select Create a label.
  3. Give the label a clear, user-friendly name (e.g., "Legal Hold - 10 Years").
  4. Define the retention settings. You can set the timer to start based on when the item was created, when it was last modified, or when it was labeled.
  5. If you choose to delete the item after the period, you can also trigger a disposition review, which requires a human to approve the deletion before it occurs.

Publishing vs. Auto-Applying

Once a label is created, it does nothing until it is applied to content. You have two primary ways to make this happen:

  • Publishing Labels: You create a "Label Policy" that makes the labels available to users. Users can then manually apply these labels to documents in Word, Excel, or SharePoint. This is useful for scenarios where human judgment is required (e.g., a user deciding if a document is a "Contract" or a "Draft").
  • Auto-Apply Labels: You create a policy that automatically applies a label based on specific conditions. These conditions can include keywords, sensitive information types (like credit card numbers or social security numbers), or trainable classifiers.

Note: Auto-labeling policies require specific licenses, such as Microsoft 365 E5 or Office 365 E5. Ensure your tenant has the appropriate licensing before attempting to configure auto-labeling rules.


Not read yet

Practical Example: Automating Compliance for Sensitive Data

Let’s look at a real-world scenario. Your organization needs to ensure that any document containing a Social Security Number is automatically retained for 10 years and then deleted.

  1. Create the Label: Create a label named "PII - 10 Year Retention." Set the retention period to 10 years and the action to "Delete."
  2. Create Auto-Apply Policy: Navigate to Label policies > Auto-apply a label.
  3. Define Condition: Choose the "Sensitive information types" condition. Select "U.S. Social Security Number" from the list.
  4. Apply the Label: Select the "PII - 10 Year Retention" label you created earlier.
  5. Target Locations: Select SharePoint and OneDrive.
  6. Deployment: Once active, Purview will scan your environment. Whenever a document is detected that contains an SSN, the system will apply the label, ensuring the document is protected by the 10-year policy.

Not read yet

Using PowerShell for Advanced Management

While the GUI is excellent for most tasks, PowerShell allows for bulk operations and more complex filtering that the portal might not easily support. The ExchangeOnlineManagement and Microsoft.Graph modules are essential here.

Example: Creating a Retention Label via PowerShell

# Connect to Security & Compliance Center
Connect-IPPSSession

# Create a new retention label
New-RetentionComplianceRule -Name "Finance_Records_Rule" -RetentionLabel "Finance_Records_Label" -ContentMatchQuery "Subject:'Invoice'"

# Get status of existing policies
Get-RetentionCompliancePolicy | Select-Object Name, Workload, Enabled

Explanation of the code:

  • Connect-IPPSSession establishes the connection to the backend compliance services.
  • New-RetentionComplianceRule links a specific label to a query. In this example, any item with "Invoice" in the subject line will be subject to the "Finance_Records_Label" settings.
  • Get-RetentionCompliancePolicy is a critical diagnostic command that helps you audit which policies are currently active in your environment.

Not read yet

Best Practices for Information Protection

Implementing retention is not a one-time project; it is an ongoing process of refinement. Follow these industry-standard practices to maintain a healthy environment:

  • Implement Disposition Reviews: For sensitive or critical data, always enable the disposition review feature. This adds a human step in the process, preventing accidental loss of data that might have been mislabeled.
  • Use Descriptive Label Names: Avoid generic names like "Label 1" or "Policy A." Use clear, business-centric names like "Legal_Hold_7Yr" or "Public_Drafts_30Days" so users and admins understand the impact of the policy immediately.
  • Monitor via Audit Logs: Regularly check the Microsoft Purview audit logs to see which labels are being applied and by whom. This helps identify if users are applying labels incorrectly or if auto-labeling rules are too aggressive.
  • Minimize Overlap: Avoid applying multiple policies to the same location if they conflict. If an item is subject to two retention policies with different durations, the system will apply the longest retention period to ensure compliance.
  • Educate End-Users: If you are using manual labels, provide clear documentation and training. If users don't understand why they are labeling a document, they will either ignore the requirement or pick the wrong label.

Not read yet

Common Pitfalls and How to Avoid Them

Even with the best intentions, organizations often hit roadblocks during implementation. Being aware of these pitfalls can save you significant time.

1. The "Default" Trap

Many admins assume that applying a label to a folder will automatically apply it to all existing files. In most cases, it does not. Applying a label to a folder usually only applies that label to new files added to that folder. You must use PowerShell or bulk-edit features to apply labels to existing content.

2. Ignoring "Hold" Conflicts

If an item is on "Litigation Hold" (often used in Exchange), it takes precedence over retention policies. Even if your policy says to delete an item after seven years, the litigation hold will prevent that deletion. Always check for active eDiscovery holds before troubleshooting why a retention policy "isn't working."

3. Over-Reliance on Auto-Labeling

While auto-labeling is powerful, it is not perfect. It relies on pattern matching or classification algorithms that can result in false positives. Always perform a test run on a small library before deploying an auto-labeling policy to your entire SharePoint environment.

4. Excessive Retention

A common mistake is keeping everything forever "just in case." This creates a massive target for attackers and significantly increases the complexity of legal discovery. Work with your legal team to define the minimum required retention period, rather than the maximum.

Warning: Be extremely careful when testing deletion policies. Once a policy is in effect, it can delete data permanently. Always test in a sandbox tenant or a dedicated test site collection before applying policies to production data.


Not read yet

Comparison Table: Retention Features

Feature Retention Policy Retention Label
Scope Entire workload (e.g., all mailboxes) Individual items (e.g., specific files)
Application Automatic Manual or Auto-applied
User Interaction None Can require user action
Granularity Low High
Primary Use Case Baseline compliance Specific data classification

Frequently Asked Questions

Q: What happens if I delete a retention policy? A: If you delete a policy, the retention settings are removed. However, if the policy was keeping data from being deleted, removing it may allow that data to be purged by the system, depending on the age of the files. Always be cautious when removing policies.

Q: Can I change a retention period after a policy is active? A: Yes, you can edit a policy or label at any time. If you increase the retention period, the system will honor the new, longer duration. If you decrease it, the system will apply the new, shorter duration, which may result in data being deleted sooner than previously expected.

Q: Does Purview delete files immediately when the time expires? A: No. After the retention period expires, the system typically runs a job that can take up to seven days to permanently delete the content. Do not expect instantaneous deletion the moment the clock strikes midnight.

Q: Can I use retention labels in Teams? A: Yes, you can apply retention labels to messages in Teams and to files stored in the associated SharePoint site. However, the experience for messages is different from files; messages are governed by the underlying Exchange mailbox storage.


Not read yet

Summary and Key Takeaways

Implementing retention labels and policies in Microsoft Purview is a critical step toward achieving a mature data governance posture. By moving away from manual, ad-hoc data management and toward a systematic, automated approach, you significantly reduce your organization's risk profile.

Key Takeaways:

  1. Strategic Alignment: Always define your business requirements with legal and HR stakeholders before configuring technical settings.
  2. Policy vs. Label: Use Retention Policies for broad, location-based requirements and Retention Labels for specific, content-based requirements.
  3. Test Before Deploying: Always validate your configurations in a controlled environment to avoid accidental data loss.
  4. Lifecycle Management: Ensure you have a clear understanding of the "delete" action and whether a disposition review is necessary for your critical records.
  5. Monitor and Audit: Use the Microsoft Purview audit logs to track the effectiveness of your policies and ensure compliance with internal standards.
  6. Understand Precedence: Remember that litigation holds and eDiscovery holds always override standard retention policies.
  7. Iterate: Data governance is a continuous journey. Review your policies annually to ensure they still meet the evolving needs of your organization and the changing landscape of data regulations.

By following these principles and maintaining a disciplined approach to your configuration, you can effectively manage your organization’s data, ensuring that you remain compliant while keeping your digital environment clean and manageable. The tools provided by Microsoft Purview are powerful, but their true value is realized only when they are applied with a clear strategy and a deep understanding of the underlying data.

Not read yet

Each section gets a ✓ as you scroll through it. Tap the button to jump to the next one.