Skip to content

Commit 17ec2d3

Browse files
Merge pull request #51321 from riswinto/main
add exercises
2 parents a8c1a93 + f117144 commit 17ec2d3

File tree

5 files changed

+235
-1
lines changed

5 files changed

+235
-1
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.purview-manage-records.exercise-create-auto-apply
3+
title: Exercise - Auto-apply retention label using a trainable classifier
4+
metadata:
5+
title: Exercise - Auto-apply retention label using a trainable classifier
6+
description: "Exercise - Auto-apply retention label using a trainable classifier."
7+
ms.date: 07/09/2025
8+
author: wwlpublish
9+
ms.author: riswinto
10+
ms.topic: unit
11+
azureSandbox: false
12+
labModal: false
13+
durationInMinutes: 15
14+
content: |
15+
[!include[](includes/exercise-create-auto-apply.md)]
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.purview-manage-records.exercise-disposition-review
3+
title: Exercise - Configure disposition review for contract retention
4+
metadata:
5+
title: Exercise - Configure disposition review for contract retention
6+
description: "Exercise - Configure disposition review for contract retention."
7+
ms.date: 07/09/2025
8+
author: wwlpublish
9+
ms.author: riswinto
10+
ms.topic: unit
11+
azureSandbox: false
12+
labModal: false
13+
durationInMinutes: 15
14+
content: |
15+
[!include[](includes/exercise-disposition-review.md)]
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
Retention labels let you manage how long content is kept and what happens when that time ends. They're useful when different types of content need different retention settings. You can publish labels for users to apply manually or configure them to apply automatically based on content.
2+
3+
In this exercise, you'll create a retention label for customer contracts and configure it to auto-apply when tax ID numbers are detected. A trainable classifier identifies relevant content, and the label retains it for seven years before deleting it.
4+
5+
**Estimated time to complete**: 15-20 minutes
6+
7+
> [!IMPORTANT]
8+
> To complete this exercise, you need access to Microsoft Purview features through one of these Microsoft 365 licenses:
9+
>
10+
> - A Microsoft 365 E3 license is required to create and publish retention labels.
11+
> - A Microsoft 365 E5 license, or the E5 Information Protection and Governance add-on, is required for auto-apply capabilities.
12+
>
13+
> If your tenant doesn't include these features, some tasks in the exercise might not be available. You can still follow the steps to understand how the configuration works or skip any unsupported tasks.
14+
>
15+
> If you don't have access to these features, you can join the **[Microsoft 365 Developer Program](https://developer.microsoft.com/microsoft-365/dev-program)**. This program provides a free Microsoft 365 E5 developer subscription with access to many Purview capabilities.
16+
17+
## Create and auto-apply a retention label for contract content
18+
19+
Use this task to configure a retention label that helps manage financial content containing tax IDs. The label keeps content for seven years, then deletes it. After creating the label, you'll set up a policy to automatically apply it to content that matches a predefined classifier.
20+
21+
1. Navigate to [Microsoft Purview](https://purview.microsoft.com) and sign in.
22+
1. Go to **Solutions** > **Data Lifecycle Management**.
23+
1. Select **Retention labels**.
24+
1. Select **+ Create a label**.
25+
1. On the **Name your retention label** page, enter:
26+
27+
- **Name**: `Customer contracts - 7 years`
28+
- **Description for admins**: `Auto-applies to contract content with tax IDs. Retains for 7 years, then deletes.`
29+
- **Description for users**: `Use for customer contracts. This label is applied automatically.`
30+
31+
1. Select **Next**.
32+
1. On the **Define label settings** page, select **Retain items forever or for a specific period**, then select **Next**.
33+
1. On the **Define the retention period** page:
34+
35+
- Set the retention period to **7 years**.
36+
- Start retention based on **when items were created**.
37+
38+
1. Select **Next**.
39+
1. On the **Choose what happens after the retention period** page, select **Delete items automatically**, then select **Next**.
40+
1. On the **Review and finish** page, confirm your settings, then select **Create label**.
41+
1. On the **Your retention label is created** page, select **Auto-apply this label to a specific type of content**, then select **Done**.
42+
1. On the **Let's get started** page, enter:
43+
44+
- **Name**: `Auto-apply contracts - Tax ID`
45+
- **Description for admins**: `Automatically applies the Customer contracts label to content containing tax ID numbers.`
46+
47+
1. Select **Next**.
48+
1. On the **Choose the type of content you want to apply this label to** page, select **Apply label to content that matches a trainable classifier**, then select **Next**.
49+
1. On the **Choose a trainable classifier** page, select the checkbox for **Tax**, then select **Next**.
50+
1. On the **Policy Scope** page, leave the default selected, then select **Next**.
51+
1. On the **Choose the type of retention policy to create​**, select **Static**.
52+
1. On the **Choose where to automatically apply the label** page, enable locations:
53+
54+
- Exchange mailboxes
55+
- SharePoint classic and communication sites
56+
- OneDrive accounts
57+
- Microsoft 365 Group mailboxes & sites
58+
59+
1. Select **Next**.
60+
1. On the **Choose a label to auto-apply** page, make sure the **Customer contracts - 7 years** label is selected, then select **Next**.
61+
1. On the **Decide whether to test or run your policy** page, leave the default of **Turn on policy** selected, then select **Next**.
62+
1. On the **Review and finish** page, confirm your settings, then select **Submit**.
63+
1. After your policy is created, select **Done**.
64+
65+
This setup helps ensure that customer contracts containing tax ID numbers are retained consistently without relying on manual labeling. By using a predefined trainable classifier, you can automatically apply the label based on content context, reducing the chance of oversight and supporting your organization's retention requirements.
66+
67+
## Check your work
68+
69+
Review the label and auto-apply policy you created to make sure they're configured as expected.
70+
71+
1. Go to **Data Lifecycle Management** > **Retention labels**.
72+
1. Confirm that `Customer contracts - 7 years` is listed.
73+
1. Open the label and check that:
74+
75+
- The retention duration is set to 7 years
76+
- Retention starts when items are created
77+
- The action after the period is **Delete items automatically**
78+
79+
1. Go to **Retention policies** and confirm that `Auto-apply contracts - Tax ID` is listed.
80+
1. Open the policy and check that:
81+
82+
- The correct label is selected
83+
- The **Tax** classifier is enabled
84+
- All intended Microsoft 365 content locations are selected
85+
- The policy is turned on (not in simulation mode)
86+
87+
These checks help ensure your label is configured correctly and will apply automatically based on content type. Confirming policy settings now can help avoid unexpected gaps in retention coverage.
Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
Retention labels help manage how long content is kept and what happens when that period ends. When content requires review before deletion, you can configure labels to trigger a disposition review. This ensures important items are reviewed by the right people before they're permanently deleted.
2+
3+
In this exercise, you first create a role group that allows selected users to review items marked for disposition. Then you create a retention label for vendor contracts and configure it to start a disposition review after five years. You'll define a review stage, assign a reviewer, and publish the label so it's available in Microsoft 365.
4+
5+
**Estimated time to complete**: 15-20 minutes
6+
7+
> [!IMPORTANT]
8+
> To complete this exercise, you need access to Microsoft Purview features through one of these Microsoft 365 licenses:
9+
>
10+
> - A Microsoft 365 E3 license is required to create and publish retention labels.
11+
> - A Microsoft 365 E5 license, or the E5 Information Protection and Governance add-on, is required for disposition review.
12+
>
13+
> If your tenant doesn't include these features, some tasks in the exercise might not be available. You can still follow the steps to understand how the configuration works or skip any unsupported tasks.
14+
>
15+
> If you don't have access to these features, you can join the **[Microsoft 365 Developer Program](https://developer.microsoft.com/microsoft-365/dev-program)**. This program provides a free Microsoft 365 E5 developer subscription with access to many Purview capabilities.
16+
17+
## Create a role group for disposition reviewers
18+
19+
Before assigning someone as a disposition reviewer, they must be in a role group with the necessary permissions. Use this task to create a role group and assign members who will review content marked for deletion.
20+
21+
1. Navigate to [Microsoft Purview](https://purview.microsoft.com) and sign in.
22+
1. In the Microsoft Purview portal, go to **Settings**
23+
1. Expand **Roles and scopes**, then select **Role groups**.
24+
1. Select **Create role group**.
25+
1. On the **Name the role group** page, enter:
26+
27+
- **Name**: `Disposition Reviewers`
28+
- **Description**: `Grants members permission to review and take action on content marked for disposition.`
29+
30+
1. Select **Next**.
31+
1. On the **Add roles to the group** page, select **Choose roles**.
32+
1. On the **Choose roles** page, select **Disposition Management**, then select **Select** at the bottom of the page.
33+
1. Select **Next**.
34+
1. On the **Add members to the role group** page, select **Choose users** and add the users needed to conduct a disposition review, then select **Select** at the bottom of the page.
35+
1. Select **Next**.
36+
1. On the **Review the role group and finish** page, confirm your settings, then select **Create**.
37+
1. After your role group is created, select **Done**.
38+
39+
The users you added to this role group can now be selected as reviewers when you configure a disposition stage in a retention label. This ensures they have permission to view and act on content pending deletion.
40+
41+
## Create and publish a retention label with disposition review
42+
43+
Use this task to configure a retention label that applies to vendor contracts. The label keeps content for five years, then starts a disposition review so a reviewer can decide whether to delete or retain the item. After you create the label, you’ll publish it so it's available across Microsoft 365.
44+
45+
1. In the Microsoft Purview portal, go to **Solutions** > **Data Lifecycle Management**.
46+
1. Select **Retention labels**.
47+
1. Select **+ Create a label**.
48+
1. On the **Name your retention label** page, enter:
49+
50+
- **Name**: `Vendor agreements - disposition review`
51+
- **Description for admins**: `Applies to vendor contracts. Retains for 5 years, then requires disposition review.`
52+
- **Description for users**: `Use for vendor contracts. Retention ends with review.`
53+
54+
1. Select **Next**.
55+
1. On the **Define label settings** page, select **Retain items forever or for a specific period**, then select **Next**.
56+
1. On the **Define the retention period** page:
57+
58+
- Set the retention period to **5 years**.
59+
- Start retention based on **when items were created**.
60+
61+
1. Select **Next**.
62+
1. On the **Choose what happens after the retention period** page, select **Start a disposition review**, then select **Create stages and assign reviewers**.
63+
1. On the **Create stages and assign reviewers** page:
64+
65+
- Enable **Automatic stage approval**
66+
- Set the automatic disposition approval to **14 days**.
67+
- Select **Add a stage**
68+
- Name the stage `Vendor agreement review`, then select **OK**.
69+
- Choose a user who is a member of the Disposition Reviewers role group you created earlier.
70+
- Select **OK** at the bottom of the reviewers page.
71+
72+
1. Back on the **Choose what happens after the retention period** page, select **Next**.
73+
1. On the **Review and finish** page, confirm your settings, then select **Create label**.
74+
1. After your label is created, select **Publish this label to Microsoft 365 locations**, then select **Done**.
75+
1. On the **Choose labels to publish** page, make sure the **Vendor agreements - disposition review** label is selected, then select **Next**.
76+
1. On the **Policy Scope** page, leave the default selected, then select **Next**.
77+
1. On the **Choose the type of retention policy to create​**, select **Static**.
78+
1. On the **Choose where to publish labels** page, select **All locations. Includes content from Exchange email, Office 365 groups, OneDrive and SharePoint documents.**, then select **Next**.
79+
1. On the **Name your policy** page, enter:
80+
81+
- **Name**: `Vendor agreements disposition policy`
82+
- **Description**: `Apply to vendor contracts that need to be kept and reviewed later.`
83+
84+
1. On the **Finish** page, confirm your settings, then select **Submit**.
85+
1. After your policy is created, select **Done**.
86+
87+
This configuration helps ensure vendor contracts are reviewed before deletion. Disposition review gives your organization a chance to keep important content longer when needed, supporting more flexible retention decisions.
88+
89+
## Check your work
90+
91+
Review the role group, label, and policy you created to make sure they're configured as expected.
92+
93+
1. Go to **Settings** > **Roles and scopes** > **Role groups**.
94+
1. Confirm that `Disposition Reviewers` is listed and includes:
95+
96+
- The **Disposition Management** role
97+
- At least one assigned user
98+
99+
1. Go to **Data Lifecycle Management** > **Retention labels**.
100+
1. Confirm that `Vendor agreements - disposition review` is listed.
101+
1. Open the label and check that:
102+
103+
- The retention duration is set to 5 years
104+
- Retention starts when items are created
105+
- The action after the period is **Disposition review**
106+
- The review stage is named `Vendor agreement review` with automatic approval after 14 days
107+
108+
1. Go to **Retention policies** and confirm that `Vendor agreements disposition policy` is listed.
109+
1. Open the policy and check that:
110+
111+
- The correct label is included
112+
- The policy type is **Static**
113+
- All Microsoft 365 content locations are selected
114+
115+
These steps help ensure that disposition review is properly configured. Verifying the label, policy, and reviewer permissions helps avoid gaps that could delay or block retention decisions.

learn-pr/wwl-sci/purview-manage-records/index.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ uid: learn.wwl.purview-manage-records
33
metadata:
44
title: Manage records and disposition with Microsoft Purview
55
description: "Manage records and disposition with Microsoft Purview."
6-
ms.date: 06/10/2025
6+
ms.date: 07/09/2025
77
author: wwlpublish
88
ms.author: riswinto
99
ms.topic: module
@@ -38,8 +38,10 @@ units:
3838
- learn.wwl.purview-manage-records.plan-retention-disposition
3939
- learn.wwl.purview-manage-records.retention-label-file-plan
4040
- learn.wwl.purview-manage-records.auto-apply-retention-label
41+
- learn.wwl.purview-manage-records.exercise-create-auto-apply
4142
- learn.wwl.purview-manage-records.declare-record
4243
- learn.wwl.purview-manage-records.disposition-review
44+
- learn.wwl.purview-manage-records.exercise-disposition-review
4345
- learn.wwl.purview-manage-records.principles-retention
4446
- learn.wwl.purview-manage-records.knowledge-check
4547
- learn.wwl.purview-manage-records.summary

0 commit comments

Comments
 (0)