This chapter covers the configuration of sensitivity labels in Microsoft Purview Information Protection, a core topic in the MS-102 exam domain 'Security Threats' (Objective 3.3). You will learn how to create, configure, publish, and manage sensitivity labels to protect data across Microsoft 365 services. Approximately 15-20% of exam questions touch on sensitivity labels, including their configuration, auto-labeling policies, and integration with Microsoft Defender for Cloud Apps. Mastery of this topic is critical for passing the MS-102 exam and for real-world data protection administration.
Jump to a section
Imagine a large corporate office with filing cabinets in every department. Each cabinet has drawers labeled with color codes: red for 'Highly Confidential,' yellow for 'Internal Only,' green for 'Public.' The office manager (the admin) defines these labels and their rules—e.g., red documents must be locked with a special key (encryption) and can only be accessed by executives (specific users). When an employee creates a document, they choose a label from a dropdown menu, and the system automatically applies the corresponding color and lock (encryption). If someone tries to copy a red document to a USB drive, the lock prevents it (protection). The manager can also set rules that automatically apply a yellow label to any document containing the word 'budget' (auto-classification). Crucially, the labels travel with the document: if a red-labeled document is emailed to a partner outside the office, it remains locked and can only be opened by authorized recipients (persistent protection). In this analogy, the admin configures the labels, their rules, and the automatic application policies in a central console (Microsoft Purview compliance portal). The labels are not just stickers—they are executable rules that enforce encryption, access restrictions, and visual markings wherever the document goes.
What Are Sensitivity Labels and Why Do They Exist?
Sensitivity labels are the cornerstone of Microsoft Information Protection (MIP). They are metadata tags that classify and optionally protect data based on business sensitivity. Unlike Azure Information Protection (AIP) labels which are deprecated for unified labeling, sensitivity labels are built into the Microsoft 365 compliance center and work across Office apps, SharePoint, OneDrive, Microsoft Teams, and Microsoft Defender for Cloud Apps. They exist to help organizations enforce data loss prevention (DLP), encryption, and access control policies consistently across their digital estate.
How Sensitivity Labels Work Internally
When a label is applied to a document or email, it embeds a metadata header (e.g., MSIP_Label_GUID) that persists even when the file moves outside the organization. This metadata is used by all MIP-aware applications to enforce the label's defined actions. The label can also trigger encryption via Azure Rights Management (Azure RMS), which uses a symmetric key to protect the content. The encryption is persistent: only authorized users (as defined in the label's encryption settings) can decrypt and read the content, regardless of where the file is stored.
Key Components and Default Values
- Label Settings: Each label can include:
- Name and description: User-facing text (up to 256 characters).
- Display color: Optional, for visual marking (12 predefined colors).
- Protection settings: Encryption (via Azure RMS), content marking (header/footer/watermark), and auto-labeling (file-based or app-based).
- Marking: Add a custom header, footer, or watermark with dynamic fields like {$If.Applied}.
- Encryption: Configurable with user-defined permissions (e.g., specific users/groups) or admin-defined permissions (e.g., "View-Only"). Default is no encryption.
- Auto-labeling: Rules that automatically apply a label based on sensitive info types (e.g., credit card numbers) or trainable classifiers. Default: not enabled.
- Sub-labels: Labels can be nested under parent labels for organizational hierarchy. Up to 500 labels total per tenant.
Configuration via PowerShell and Compliance Center
To configure labels via PowerShell, use the Set-Label cmdlet from the Exchange Online Protection module. Example:
Set-Label -Identity "Confidential" -ApplyContentMarkingHeaderText "CONFIDENTIAL" -ApplyContentMarkingHeaderFontColor "Red"To publish labels to users, create a label policy:
New-LabelPolicy -Name "All Users Policy" -Labels "Confidential", "Highly Confidential" -Settings @{ "EnableEncryption" = $true }In the Microsoft Purview compliance portal, navigate to Solutions > Information Protection > Labels to create and manage labels. The policy wizard steps through selecting labels, assigning users/groups, and configuring policy settings like default label for documents and mandatory labeling.
Interaction with Related Technologies
Microsoft Defender for Cloud Apps: Uses sensitivity labels to control access and apply DLP actions on cloud apps (e.g., block download of labeled files).
Data Loss Prevention (DLP): DLP policies can trigger on sensitivity labels (e.g., block sharing of labeled emails externally).
Microsoft Purview Data Map: Sensitivity labels can be applied to data assets in Azure Purview for unified data governance.
Microsoft Information Protection SDK: Developers can integrate labeling into custom applications.
Auto-Labeling Policies
Auto-labeling policies can be configured at the tenant level to automatically apply labels to files at rest (SharePoint, OneDrive) or emails in transit (Exchange). These policies use conditions such as sensitive info types (e.g., SSN, credit card) or trainable classifiers (e.g., "Offensive Language"). Auto-labeling runs on a schedule (default: every 15 minutes) and can simulate labeling first to avoid unintended consequences. Important: Auto-labeling does not apply encryption by default—you must configure the label to encrypt.
Advanced Settings and Timers
Label priority: Labels can be ordered; higher priority labels override lower ones during auto-labeling.
Mandatory labeling: Enforced via a policy setting; users cannot save unlabeled documents.
Justification: Users can be required to provide a reason for downgrading a label.
Help desk URL: Custom link for users who need help with labels.
Default share link type: For SharePoint/OneDrive, you can set the default sharing link type (e.g., "People with existing access") for labeled content.
Verification and Monitoring
Use the Activity explorer in Purview to monitor label usage. For troubleshooting, check the Microsoft 365 audit log for events like LabelApplied, LabelRemoved, or FileAccessed. The Get-AuditLog cmdlet can retrieve these logs. Also, the Information Protection scanner (on-premises) can discover and label files on file shares, but this is deprecated in favor of Microsoft Purview Data Map.
Common Configuration Pitfalls
Encryption conflicts: If a label applies encryption and the user tries to share via a link, the link may not work unless the label is configured to allow sharing.
Auto-labeling not triggering: Ensure the scheduled scan is enabled and the label has the correct condition.
Labels not appearing in apps: Verify the label policy is published to the correct users and that the app version supports unified labeling (Office 365 ProPlus or later).
Exam-Relevant Details
Default label: Can be set per policy; if no default is set, users see no label.
Sub-labels: Cannot have their own sub-labels (max one level).
Deletion: Deleting a label does not remove it from already labeled content; it becomes an orphaned label.
Priority: In auto-labeling, if multiple conditions match, the label with the highest priority (lowest number) is applied.
Simulation mode: Auto-labeling policies can run in simulation to see how many items would be labeled without actually applying the label.
Step-by-Step: Creating and Publishing a Sensitivity Label
Create the label: In the Purview compliance portal, go to Information Protection > Labels > Create a label. Provide a name, description, and color.
Define protection settings: Choose if encryption is applied. If yes, configure permissions (e.g., "All users in the organization" or specific groups).
Configure content marking: Add header, footer, or watermark text.
Set auto-labeling rules: Optional — specify conditions for automatic application.
Publish the label: Create a label policy, select the label, assign users/groups, and configure policy settings (default label, mandatory labeling).
Test and monitor: Use the Activity explorer to verify labels are applied.
PowerShell Automation for Bulk Operations
# Create a label
New-Label -Name "Confidential" -DisplayName "Confidential" -Tooltip "This data is confidential." -ContentType "File, Email"
# Set encryption
Set-Label -Identity "Confidential" -EncryptionEnabled $true -EncryptDoNotForward $true
# Publish label to all users
New-LabelPolicy -Name "All Users" -Labels "Confidential" -ExchangeLocation "All" -ModernGroupLocation "All" -OneDriveLocation "All" -SharePointLocation "All"Integration with Teams and SharePoint
Sensitivity labels can classify and protect content in Teams sites and SharePoint sites. When applied to a team or site, the label determines the site's privacy (public/private) and external sharing settings. For example, a "Highly Confidential" label might block external sharing entirely. This is configured in the label's site settings (under "Sites and groups" in the label creation wizard).
Key Numbers and Defaults
Maximum number of labels: 500.
Maximum sub-label depth: 1.
Default auto-labeling scan interval: 15 minutes.
Default label policy priority: Lower number = higher priority.
Maximum characters in label name: 256.
Maximum characters in tooltip: 512.
Exam Focus: What MS-102 Tests
MS-102 Objective 3.3 expects you to:
Configure sensitivity labels and their settings (encryption, marking, auto-labeling).
Create and manage label policies.
Understand the difference between manual, default, and auto-labeling.
Know how labels interact with DLP and Microsoft Defender for Cloud Apps.
Troubleshoot label application issues.
Common wrong answers include confusing sensitivity labels with retention labels (retention labels are for data lifecycle, not protection) or assuming encryption is mandatory (it is optional). Another trap: thinking auto-labeling applies to all content automatically (it requires conditions). The exam also tests that sub-labels cannot have their own sub-labels.
Edge Cases
Orphaned labels: If a label is deleted but still applied to content, the content retains the label metadata but loses any configured protection (encryption remains if applied).
Label conflicts: If a user manually applies a label that contradicts auto-labeling, the manual label takes precedence unless auto-labeling is set to enforce.
Guest access: Labels can be configured to restrict access to specific users, including guests, but guest access requires the label to explicitly include guest accounts.
Real-World Deployment Scenarios
Scenario 1: Financial Services Firm A financial firm uses sensitivity labels to enforce encryption on all documents containing client financial data. They create a label "Client Confidential" with encryption and auto-labeling that triggers on credit card numbers and SSNs. The label policy is published to all employees, with a default label of "Internal" and mandatory labeling. The auto-labeling policy runs daily on SharePoint and OneDrive. Misconfiguration: an admin set the auto-labeling to apply to "All" content without conditions, causing false positives and user complaints.
Scenario 2: Healthcare Organization A hospital uses labels to comply with HIPAA. They create a label "PHI" with encryption and visual markings (watermark: "Protected Health Information"). The label is published to clinical staff only. They also configure a DLP policy that blocks external sharing of PHI-labeled documents. Common issue: users forget to apply the label manually, so the hospital enables mandatory labeling for all clinical staff.
Scenario 3: Government Agency A government agency uses multiple classification levels: "Official," "Secret," and "Top Secret." Each label has different encryption permissions (e.g., "Top Secret" only accessible by a specific security group). They use sub-labels under each parent label for different departments. The auto-labeling policy uses trainable classifiers to detect classified content. Performance: with 10,000+ users, the label policy takes up to 24 hours to propagate fully.
Troubleshooting Tips
Labels not appearing in Office apps: Check the label policy assignment and ensure the user is included. Also verify that the app is connected to the internet and the user is logged in with a work/school account.
Encryption not working: Confirm the label has encryption enabled and the user has the correct permissions. Use the Rights Management Service (RMS) logs to check.
Auto-labeling not applying: Check the auto-labeling policy status in the compliance center. Ensure the scan is enabled and the condition is met.
Summary of Key Takeaways
Sensitivity labels classify and protect data persistently.
Encryption is optional and uses Azure RMS.
Labels are published via label policies to users/groups.
Auto-labeling uses conditions (sensitive info types or classifiers).
Labels integrate with DLP, Defender for Cloud Apps, and Teams/SharePoint.
Maximum 500 labels, sub-labels only one level deep.
Mandatory labeling ensures all content is labeled.
Deleted labels become orphaned on existing content.
The exam tests configuration steps and common pitfalls.
FAQ
Q: Can sensitivity labels encrypt emails? A: Yes, when applied to emails, the label can enforce encryption via Azure RMS, including 'Do Not Forward' or 'Encrypt-Only' options.
Q: What happens if a label is deleted? A: The label is removed from the admin interface, but any content that had the label retains the label metadata. The protection (encryption) remains intact, but you cannot manage the label anymore.
Q: How do I force users to label all documents? A: Enable mandatory labeling in the label policy. Users cannot save unlabeled documents or send unlabeled emails.
Q: Can I use sensitivity labels with on-premises data? A: Yes, via the Microsoft Information Protection scanner (deprecated) or by using Azure Information Protection unified labeling client (also deprecated). For modern approach, use Microsoft Purview Data Map.
Q: What is the difference between a label and a label policy? A: A label defines the classification and protection settings. A label policy publishes the label to specific users and configures policy-level settings (default label, mandatory labeling).
Q: Do sensitivity labels work in Microsoft Teams? A: Yes, labels can be applied to Teams sites and groups, controlling privacy and sharing settings. Labels can also be applied to individual messages and files within Teams.
Q: How often does auto-labeling scan? A: By default, auto-labeling policies scan new and modified content every 15 minutes. You can also trigger a manual scan.
Q: Can I create a label that automatically applies encryption? A: Yes, when creating a label, enable encryption and configure permissions. The encryption is applied when the label is applied manually or automatically.
Q: What is the maximum number of sub-labels? A: A parent label can have multiple sub-labels, but sub-labels cannot have their own sub-labels (max depth of 1).
Q: How do I test an auto-labeling policy before applying? A: Set the policy to simulation mode. It will report how many items would be labeled without actually applying the label.
Quiz
1. Question: An administrator wants to ensure that all documents containing credit card numbers are automatically labeled as "Confidential." What should they configure? - A. A DLP policy - B. An auto-labeling policy with a sensitive info type condition - C. A retention label policy - D. A manual label policy with default label Answer: B. An auto-labeling policy can automatically apply a label based on sensitive info types like credit card numbers. DLP policies do not apply labels; they enforce actions.
2. Question: A sensitivity label is configured with encryption. What happens when a user with the label applied sends the document to an external recipient? - A. The external recipient can open the document without restrictions. - B. The external recipient can open the document only if they have the encryption key. - C. The external recipient receives a link to the document. - D. The email is blocked by DLP. Answer: B. The encryption persists; the external recipient must be authorized in the label's encryption settings to open the document.
3. Question: Which of the following can be a condition for auto-labeling? - A. File size greater than 10 MB - B. Sensitive info type - C. User department - D. File name pattern Answer: B. Auto-labeling conditions include sensitive info types and trainable classifiers. File size, user department, or file name are not valid conditions.
4. Question: An administrator deletes a sensitivity label that was applied to 500 documents. What happens to those documents? - A. The label is removed from all documents. - B. The documents become unreadable. - C. The documents retain the label metadata but cannot be managed. - D. The documents are moved to a quarantine. Answer: C. Deleting a label does not remove it from existing content; the metadata remains but the label cannot be edited or reapplied.
5. Question: What is the maximum number of sensitivity labels allowed in a tenant? - A. 100 - B. 250 - C. 500 - D. 1000 Answer: C. The maximum is 500 labels per tenant.
Meta Title
Sensitivity Labels Admin Configuration MS-102 | Purview Guide
Meta Description
Master sensitivity labels for MS-102 exam: configuration, auto-labeling, encryption, and policies. Learn key settings, defaults, and exam traps.
Estimated Read Minutes
25
Create Sensitivity Label in Purview
Navigate to Microsoft Purview compliance portal > Information Protection > Labels. Click 'Create a label'. Provide a name (e.g., 'Confidential'), description, and choose a display color. The name is user-facing and must be unique within the tenant. The description appears in Office apps when users hover over the label. The color helps users visually identify the label. This step defines the label's identity before any protection settings.
Configure Protection Settings
In the label creation wizard, define protection settings. Enable encryption if needed: choose 'Configure encryption settings' then select permissions (e.g., 'All users in the organization' or specific users/groups). For content marking, add a header, footer, or watermark (e.g., 'CONFIDENTIAL' in red). Encryption uses Azure RMS to protect content persistently. Marking adds visual indicators but does not enforce access control.
Define Auto-Labeling Rules
Optionally, configure auto-labeling for files and emails. Choose conditions such as sensitive info types (e.g., 'U.S. Social Security Number') or trainable classifiers. You can also set a priority order for multiple conditions. Auto-labeling runs on a schedule (default 15 minutes). This step is optional; manual labeling is always available.
Publish Label via Label Policy
After creating the label, publish it by creating a label policy. Select the label(s) to include, then assign users/groups (e.g., 'All users'). Configure policy settings: default label (e.g., 'Internal'), mandatory labeling (users must label), justification for downgrading, and help desk URL. The policy propagates to users within 24 hours typically.
Test and Monitor Label Application
Use the Activity explorer in Purview to monitor label usage. Look for events like 'LabelApplied' or 'LabelRemoved'. You can also use the audit log to track label changes. For auto-labeling, run a simulation first to see how many items would be labeled. Verify that labels appear in Office apps (Word, Excel, Outlook) and that encryption works as expected.
Enterprise Scenario 1: Multinational Corporation with Data Residency Requirements
A global company needs to ensure that sensitive financial data is only accessible from within the EU. They create a sensitivity label 'EU-Only' with encryption that restricts access to users from a specific Azure AD group containing EU employees. They publish the label to all users and set a default label of 'Internal'. Auto-labeling is configured to apply 'EU-Only' to any document containing EU personal data (e.g., German Tax ID). The auto-labeling policy scans SharePoint and OneDrive every 15 minutes. A common problem: users in the US accidentally tag documents as 'EU-Only', preventing themselves from accessing them. The solution is to train users and use mandatory labeling with justification. Performance: with 50,000 users, label policy propagation takes up to 48 hours.
Enterprise Scenario 2: Law Firm Protecting Client Confidentiality
A law firm must protect client-attorney privileged information. They create multiple sensitivity labels per client (e.g., 'Client A - Confidential') with encryption that restricts access to the specific legal team. Each label has a unique encryption permission set. They use sub-labels under a parent label 'Privileged' for organization. Auto-labeling is not used due to the risk of misclassification; instead, mandatory labeling is enforced. A challenge: when a lawyer leaves the firm, removing them from the label's encryption group revokes access to all previously labeled documents. The firm uses Azure AD dynamic groups to automatically manage membership. Misconfiguration: an admin accidentally publishes the label to all users, causing unauthorized access. The fix is to scope the label policy to only the legal department.
Enterprise Scenario 3: Government Agency with Multiple Classification Levels
A government agency uses labels for 'Unclassified', 'Confidential', 'Secret', and 'Top Secret'. Each label has different encryption and marking settings. 'Top Secret' requires a hardware security module (HSM) for encryption keys (via Azure Information Protection premium). They use auto-labeling with trainable classifiers to detect classified content. A critical issue: if an auto-labeling policy applies a higher classification than intended, it can lock out users. They run all auto-labeling in simulation mode for a week before enabling. They also integrate with Microsoft Defender for Cloud Apps to block download of 'Top Secret' files to personal devices. The agency has 100,000 users; label policy changes take up to 72 hours to fully propagate. They monitor using the Activity explorer and set up alerts for label downgrade attempts.
Exam Focus: MS-102 Objective 3.3 – Sensitivity Labels
The exam tests your ability to configure sensitivity labels and label policies, understand auto-labeling, and integrate with other services. Specific sub-objectives include:
Create and configure sensitivity labels (encryption, marking, auto-labeling).
Manage label policies (publishing, settings, mandatory labeling).
Understand the difference between manual, default, and auto-labeling.
Know how labels interact with DLP, Microsoft Defender for Cloud Apps, and Teams/SharePoint.
Top 4 Wrong Answers Candidates Choose
Confusing sensitivity labels with retention labels: Many candidates think sensitivity labels control data retention. In reality, retention labels manage data lifecycle (retention/deletion). The exam explicitly tests this distinction.
Assuming encryption is mandatory: Some think all sensitivity labels encrypt. Encryption is optional. You must explicitly enable it. The exam may present a scenario where a label is created without encryption and ask what protection it provides.
Thinking auto-labeling applies to all content: Auto-labeling requires conditions (sensitive info types or classifiers). The exam might describe an auto-labeling policy with no conditions and ask if it will label everything. The answer is no—it will label nothing.
Believing sub-labels can have sub-labels: The maximum depth is one level. A sub-label cannot have its own sub-label. The exam may ask about the hierarchy limit.
Specific Numbers and Terms to Memorize
Maximum labels: 500.
Maximum sub-label depth: 1.
Default auto-labeling scan interval: 15 minutes.
Encryption technology: Azure Rights Management (Azure RMS).
Policy propagation time: up to 24 hours (typically).
Mandatory labeling: prevents saving unlabeled documents.
Justification: required for downgrading labels.
Help desk URL: custom link in label policy.
Edge Cases and Exceptions
Orphaned labels: If a label is deleted, existing content retains the label metadata but the label cannot be edited. Encryption remains.
Label priority in auto-labeling: If multiple conditions match, the label with the highest priority (lowest number) is applied.
Simulation mode: Auto-labeling policies can run in simulation without applying labels.
Guest access: Labels must explicitly include guest accounts for encryption permissions.
How to Eliminate Wrong Answers
If a question mentions 'retention' or 'deletion,' it's likely about retention labels, not sensitivity labels.
If the question asks about 'automatic labeling,' check if conditions are specified. If no conditions, it's manual or default labeling.
If the question involves 'encryption,' confirm the label has encryption enabled. If not, the answer is no encryption.
For sub-label questions, remember the single-level limit.
Exam Strategy
Read the scenario carefully. Identify whether the requirement is classification/protection (sensitivity label) or lifecycle management (retention label). Note any mention of encryption, visual marking, or auto-classification. For policy questions, focus on the publishing scope and settings like default label and mandatory labeling. Use the process of elimination: if an option contradicts a known limit (e.g., sub-label depth), discard it immediately.
Sensitivity labels classify and protect data; encryption is optional.
Maximum 500 labels per tenant; sub-labels only one level deep.
Auto-labeling requires conditions (sensitive info types or classifiers).
Label policies publish labels to users; mandatory labeling forces labeling.
Deleted labels become orphaned on existing content.
Labels integrate with DLP, Microsoft Defender for Cloud Apps, and Teams/SharePoint.
Default auto-labeling scan interval is 15 minutes.
These come up on the exam all the time. Here's how to tell them apart.
Sensitivity Labels
Classify and optionally protect data (encryption, marking).
Used for data governance and security.
Encryption is persistent across locations.
Can be applied manually, automatically, or as default.
Integrates with DLP and Defender for Cloud Apps.
Retention Labels
Manage data lifecycle (retention and deletion).
Used for compliance and records management.
No encryption capabilities.
Applied via policies (automatic or manual).
Integrates with Microsoft 365 compliance center.
Mistake
Sensitivity labels always encrypt the content.
Correct
Encryption is optional and must be explicitly configured in the label's protection settings. A label can be used solely for classification without any encryption.
Mistake
Auto-labeling applies to all files automatically.
Correct
Auto-labeling requires conditions (sensitive info types or trainable classifiers). Without conditions, no automatic labeling occurs.
Mistake
Sensitivity labels are the same as retention labels.
Correct
Sensitivity labels classify and protect data (encryption, marking). Retention labels manage data lifecycle (retention and deletion). They serve different purposes.
Mistake
Sub-labels can have their own sub-labels.
Correct
Sub-labels can only be one level deep. A parent label can have multiple sub-labels, but a sub-label cannot have its own sub-labels.
Mistake
Deleting a label removes it from all content.
Correct
Deleting a label only removes it from the admin interface. Existing content retains the label metadata, but the label can no longer be managed or edited.
Reveal each answer, then mark whether you got it right. Score 60%+ to unlock the next chapter.
A sensitivity label classifies and protects data (e.g., encryption, visual marking). A retention label manages data lifecycle (e.g., how long to keep data, when to delete). They are separate concepts in Microsoft Purview. Sensitivity labels are for security; retention labels are for compliance.
Yes, sensitivity labels can be applied to emails in Outlook for Windows, Mac, web, and mobile. They can enforce encryption (e.g., Do Not Forward) and visual markings. The label is embedded in the email metadata.
Create an auto-labeling policy in the Purview compliance portal. Select a sensitivity label, then add a condition for sensitive info type 'Credit Card Number'. The policy will scan SharePoint and OneDrive every 15 minutes and apply the label to matching documents.
The label is removed from the admin interface, but any content that had the label retains the label metadata. The protection settings (encryption) remain intact. You cannot edit or reassign the label. To remove it from content, you must apply a different label.
Yes, sensitivity labels can be applied to Teams sites (teams) to control privacy (public/private) and external sharing. They can also be applied to individual messages and files within Teams via the labeling client.
Mandatory labeling requires users to apply a label before saving a document or sending an email. It is enabled in the label policy settings under 'Use this default label' and 'Require users to apply a label to their email and documents'.
Check that the user is assigned to a label policy. Verify the Office app is up to date (version 1908 or later). Ensure the user is signed in with a work/school account. Clear the Office cache (e.g., delete %localappdata%\Microsoft\Office\16.0\Licensing).
You've just covered Sensitivity Labels: Admin Configuration — now see how well it sticks with free MS-102 practice questions. Full explanations included, no account needed.
Done with this chapter?