Data classification for your Microsoft 365 Enterprise test environment
With the instructions in this article, you configure data classification using Office 365 retention labels in your Microsoft 365 Enterprise test environment.
Click here for a visual map to all the articles in the Microsoft 365 Enterprise Test Lab Guide stack.
Phase 1: Build out your Microsoft 365 Enterprise test environment
If you just want to configure Office 365 retention labels in a lightweight way with the minimum requirements, follow the instructions in Lightweight base configuration.
If you want to configure Office 365 retention labels in a simulated enterprise, follow the instructions in Pass-through authentication.
Testing Office 365 retention labels does not require the simulated enterprise test environment, which includes a simulated intranet connected to the Internet and directory synchronization for a Active Directory Domain Services (AD DS) forest. It is provided here as an option so that you can test automated licensing and group membership and experiment with it in an environment that represents a typical organization.
Phase 2: Create Office 365 retention labels
In this phase, you create the retention labels for the different levels of retention for SharePoint Online documents folders.
Sign in to the Microsoft 365 compliance portal with your global admin account.
From the Home - Microsoft 365 compliance tab of your browser, click Classifications > Labels.
Click Retention labels > Create a label.
On the Name your label pane, type Internal Public in Name your label, and then click Next.
On the File plan descriptors pane, click Next.
On the Label settings pane, if needed, set Retention to On, and then click Next.
On the Review your settings pane, click Create the label.
Repeat steps 3-7 for additional labels with these names:
From the Home > Labels pane, click Publish labels.
On the Choose labels to publish pane, click Choose labels to publish.
On the Choose labels pane, click Add and select all four labels.
On the Choose labels to publish pane, click Next.
On the Choose locations pane, click Next.
On the Name your policy pane, type Example organization in Name, and then click Next.
On the Review your settings pane, click Publish labels, and then click Close.
Note that it might take a few minutes for the retention labels to be published.
Phase 3: Apply Office 365 retention labels to documents
In this phase, you discover the default retention label behavior for files in the Documents folder of a SharePoint Online site and manually change the retention label of a document.
First, create a sensitive-level SharePoint Online team site:
Using a browser on your local computer, sign in to the Office 365 portal using your global administrator account.
In the list of tiles, click SharePoint.
On the new SharePoint tab in your browser, click Create site.
On the Create a site page, click Team site.
In Team site name, type SensitiveFiles.
In Team site description, type SharePoint site for sensitive files.
In Privacy settings, select Private - only members can access this site, and then click Next.
On the Who do you want to add? pane, click Finish.
Next, configure the Documents folder of the SensitiveFiles team site for the Sensitive retention label.
In the SensitiveFiles tab of your browser, click Documents.
Click the settings icon, and then click Library settings.
Under Permissions and Management, click Apply label to items in this library.
In Settings-Apply Label, select Sensitive in the drop-down box, and then click Save.
Next, create a new document in the SensitiveFiles site and change its retention label.
In the documents folder, click New > Word document.
Type some text in the blank document. Wait for the text to be saved.
In the menu bar, click Shared Documents.
Click the Word icon next to the Document.docx file name.
In the right-hand pane, in the Properties section, under Apply retention label, note that the document has had the Sensitive label automatically applied.
Click Edit all.
In the Document.docx pane, under Apply label, select the Highly Confidential label, and then click Save.
See the Configure classification for your environment step in the Information protection phase for information and links to how to deploy Office 365 retention labels in production.
Explore additional information protection features and capabilities in your test environment.
Send feedback about: