2026-08-29 · 15 min read · Infrastructure Revamp

Empowering SMBs: Your Microsoft Purview Compliance Setup Guide for Data Protection

Secure data in the cloud with Microsoft Purview compliance setup guide for SMBs.

In today's fast-evolving digital landscape, Small to Medium-sized Businesses (SMBs) face unprecedented challenges: a growing volume of data, the rapid adoption of AI technologies, and an ever-tightening web of regulatory requirements. Accidental data breaches, compliance fines, and reputational damage are significant risks that can cripple an SMB. This is where a robust Microsoft Purview compliance setup guide becomes indispensable. Microsoft Purview offers a comprehensive suite of solutions designed to help your organization gain visibility into its data, safeguard sensitive information wherever it lives, and efficiently manage compliance risks.

As your trusted Azure architects at SkyCore Solutions, we've developed this guide to walk you through establishing a foundational Microsoft Purview compliance setup. By the end of this guide, you will have configured essential data classification, labeling, and data loss prevention capabilities, significantly enhancing your SMB's data security and compliance posture.

Prerequisites

Step 1: Access and Initial Configuration of the Microsoft Purview Portal

The Microsoft Purview portal is your unified command center for data security, governance, and compliance. While many advanced Purview features are best configured through the portal due to their visual nature and integrated workflows, establishing a PowerShell connection is crucial for scripting, automation, and specific administrative tasks.

First, connect to the Microsoft Purview Compliance PowerShell session. This session allows you to manage many of the underlying components that Purview orchestrates, such as Information Protection (including sensitivity labels) and Data Loss Prevention policies.

Connect-IPPSSession -UserPrincipalName "admin@yourdomain.com"

Portal alternative: Navigate directly to compliance.microsoft.com using an account with appropriate administrative permissions. The Purview portal provides a streamlined interface for exploring and configuring all Purview solutions. Familiarize yourself with the left-hand navigation pane to locate Data classification, Information Protection, and Data loss prevention sections.

Run this to verify: After connecting, you can verify your session by running a simple cmdlet, for example:

Get-Label
Common pitfall: Licensing and Permissions
Many Microsoft Purview features require specific Microsoft 365 licenses (e.g., Microsoft 365 Business Premium, E3, E5) and appropriate administrative roles (e.g., Global Administrator, Compliance Administrator, Information Protection Administrator). Without the correct licensing and permissions, certain features may not be visible or configurable, leading to unexpected errors or limitations. Always ensure your administrative accounts and target users are properly licensed.

Step 2: Identify and Classify Sensitive Data with Sensitive Information Types (SITs)

The cornerstone of any effective compliance strategy is understanding your data. Microsoft Purview's Sensitive Information Types (SITs) enable you to identify sensitive data across your digital estate, whether it's credit card numbers, national identification numbers, or custom intellectual property. SMBs should start by leveraging the extensive library of built-in SITs before considering custom ones.

While creating custom SITs is primarily a portal-driven experience for visual pattern matching and testing, you can list existing SITs via PowerShell to understand what's available.

Get-DlpSensitiveInformationType | Format-Table Name, Description

Portal alternative: For identifying and creating SITs, the Purview portal offers a superior, more intuitive experience. Navigate to Data classification > Sensitive info types. Here, you can review the hundreds of built-in SITs, test them against example content, and create custom SITs using dictionaries, regular expressions, or functions. For most SMBs, starting with a review of relevant built-in SITs is highly recommended to cover common sensitive data patterns like credit card numbers, social security numbers, or health information.

Run this to verify: After reviewing built-in SITs or creating a custom one in the portal, you can run the `Get-DlpSensitiveInformationType` command again to confirm that new or specific SITs are now listed.

Step 3: Create and Publish Sensitivity Labels for Data Protection

Microsoft Purview Information Protection (MPIP) uses sensitivity labels to classify and protect sensitive data. These labels allow you to apply flexible protection actions such as encryption, visual markings (headers, footers, watermarks), and access restrictions to documents, emails, and even Teams meetings. For SMBs, we recommend starting with a simple, clear hierarchy of labels.

Here's how to create and publish sensitivity labels using PowerShell (after connecting your IPPSession from Step 1):

# 1. Create a basic 'Confidential - All Employees' label
New-Label -Name "Confidential - All Employees" -DisplayName "Confidential - All Employees" -Tooltip "This content is confidential and intended for all employees." -Comment "Used for general internal confidential information." -Priority 10

# 2. Configure visual marking for the 'Confidential - All Employees' label (e.g., a footer)
Set-Label -Identity "Confidential - All Employees" -AddFooter "True" -FooterText "%%LABEL%% - SkyCore Solutions Confidential" -FontSize 9 -FontColor "#808080" -Alignment "Center"

# 3. Create a more restrictive 'Highly Confidential - Internal Only' label with encryption
New-Label -Name "Highly Confidential - Internal Only" -DisplayName "Highly Confidential - Internal Only" -Tooltip "This content is highly confidential and restricted to internal SkyCore Solutions employees. It will be encrypted." -Comment "Used for highly sensitive internal information requiring encryption." -Priority 20

# 4. Configure encryption for 'Highly Confidential - Internal Only' label
# This grants Full Control to members of a specific Microsoft 365 group (e.g., 'InternalOnlyGroup')
$accessRights = New-CsCustomPermissions -Users "InternalOnlyGroup@yourdomain.com" -AccessRights FullControl
Set-Label -Identity "Highly Confidential - Internal Only" -EncryptionEnabled $true -CustomPermissions $accessRights -AddWatermark "True" -WatermarkText "HIGHLY CONFIDENTIAL" -AddHeader "True" -HeaderText "%%LABEL%%"

# 5. Create a label policy to publish these labels to users
New-LabelPolicy -Name "SMB Standard Labels" -Labels @("Confidential - All Employees", "Highly Confidential - Internal Only") -Force

# 6. Publish the label policy
Publish-LabelPolicy -Identity "SMB Standard Labels"

Portal alternative: For a more visual and guided setup, navigate to Information Protection > Labels and Information Protection > Label policies in the Purview portal. This interface allows you to define label settings (visual marking, encryption, auto-labeling), test them, and then publish them to specific users or groups. For SMBs, this is often the easiest way to create and manage labels.

Run this to verify: To confirm your label policies are published, you can use:

Get-LabelPolicy | Format-Table Name, Labels, IsPublished
Pro tip: Start simple, then expand.
For SMBs, begin with a small set of clear, actionable sensitivity labels (e.g., Public, General, Confidential, Highly Confidential). Avoid over-complication initially. Focus on user adoption and understanding. As your organization matures, you can introduce more granular labels or automatic labeling policies based on SIT detections. Implement in "test mode" or with a small pilot group first.

Step 4: Configure Microsoft Purview Message Encryption

Email is a primary vector for sharing sensitive information, often externally. Microsoft Purview Message Encryption (M365 ME) allows you to send encrypted emails and attachments to anyone, inside or outside your organization, ensuring only authorized recipients can read the content. M365 ME is largely automatic for eligible tenants, but you often need transport rules to enforce encryption based on content or recipient.

While the core M365 ME service is typically enabled by default with your Microsoft 365 license, you can configure transport rules in Exchange Online to automatically apply encryption. This example creates a rule to encrypt emails containing the custom sensitive info type "Project Confidential Info" (assuming you created one in Step 2) when sent externally.

# Connect to Exchange Online PowerShell if not already connected
Connect-ExchangeOnline -UserPrincipalName "admin@yourdomain.com"

# Create a transport rule to encrypt outbound emails containing a specific SIT
New-TransportRule -Name "Encrypt Outbound Project Confidential" `
    -Comments "Automatically encrypts emails containing 'Project Confidential Info' SIT when sent outside the organization." `
    -SentToScope "NotInOrganization" `
    -ApplyClassification "Project Confidential Info (Encrypt)" `
    -SetSCL -1 `
    -RuleErrorAction "Stop" `
    -Enabled $true

Portal alternative: Navigate to the Exchange admin center (admin.exchange.microsoft.com) > Mail flow > Rules. Here, you can create new rules and select actions such as "Modify the message security > Apply Office 365 Message Encryption and rights protection" or "Apply a rights management template" based on conditions like sender, recipient, or sensitive information contained in the message. This portal approach provides a visual builder for complex mail flow rules.

Run this to verify: To list existing transport rules and check their status:

Get-TransportRule | Format-Table Name, State, Conditions

Step 5: Implement Data Loss Prevention (DLP) Policies

Microsoft Purview Data Loss Prevention (DLP) policies are critical for preventing accidental oversharing of sensitive information. DLP can monitor and restrict data sharing across various locations, including Exchange Online, SharePoint Online, OneDrive for Business, and Microsoft Teams. For SMBs, starting with a basic policy that detects and alerts on common sensitive data is a smart move, initially in audit mode.

Here's how to create a DLP policy using PowerShell (after connecting your IPPSession from Step 1):

# 1. Create a new DLP compliance policy in Audit mode
New-DlpCompliancePolicy -Name "SMB Standard DLP Policy" `
    -Comment "DLP policy for detecting common sensitive information across M365 services." `
    -Identity "SMB Standard DLP Policy" `
    -PolicyScope "All" `
    -Mode "AuditAndNotify" `
    -Enabled $true

# 2. Add a rule to the DLP policy to detect US Social Security Numbers (SSN)
New-DlpComplianceRule -Policy "SMB Standard DLP Policy" `
    -Name "Detect US SSN" `
    -ContentContainsSensitiveInformation @(@{Name="U.S. Social Security Number (SSN)"; minCount="1"}) `
    -AccessScope "External" `
    -BlockAccess "False" `
    -BlockAccessExternal "False" `
    -NotifyUser "Owner,PolicyTip" `
    -IncidentReportEmail "complianceadmin@yourdomain.com" `
    -Priority 100 `
    -RuleMode "Audit" `
    -Enabled $true

Portal alternative: Navigate to Data loss prevention > Policies in the Purview portal. Click "Create policy" to use a template (e.g., "Financial > U.S. Personally Identifiable Information (PII) Data") or a custom policy. The portal provides a wizard-like experience to define locations, conditions (which SITs to detect), and actions (block, audit, notify). This is often simpler for SMBs configuring their first policies.

Run this to verify: To list your DLP policies and their associated rules:

Get-DlpCompliancePolicy | Format-Table Name, Mode, PolicyScope
Get-DlpComplianceRule -Policy "SMB Standard DLP Policy" | Format-Table Name, ContentContainsSensitiveInformation, RuleMode
Common pitfall: Deploying DLP in Enforce Mode Too Soon
Immediately deploying DLP policies in "Enforce" mode can lead to significant user frustration and disruptions. Always start with "Audit" or "AuditAndNotify" mode. This allows you to monitor policy matches, identify false positives, and fine-tune your rules without impacting user productivity. Transition to enforcement gradually after you're confident in your policy's accuracy.

Step 6: Monitor Compliance Activity with Audit Logs and Activity Explorer

A robust compliance setup isn't a one-time configuration; it requires continuous monitoring. Microsoft Purview provides unified audit logs and the Activity explorer to help you track user activities, discover how sensitive data is being used, and identify potential compliance risks or policy violations.

You can search the unified audit log using PowerShell to retrieve specific activities. This example searches for all file deletion activities in SharePoint Online by a specific user.

# Search for file deletions by a specific user in SharePoint Online
Search-UnifiedAuditLog `
    -Operations "FileDeleted" `
    -UserIds "user@yourdomain.com" `
    -StartDate (Get-Date).AddDays(-7) `
    -EndDate (Get-Date) `
    -ResultSize 1000 | `
    Format-Table CreationDate, UserIds, Operations, Workload, ObjectIds

Portal alternative: The Purview portal offers visual and user-friendly tools for monitoring. Navigate to Audit > Audit search to search the unified audit log with various filters for activities, users, dates, and workloads. For deeper insights into sensitive data, use Data classification > Activity explorer. Activity explorer provides a visual dashboard to see where sensitive data resides, how it's being used, and which sensitivity labels are being applied, giving you an immediate overview of data interactions.

Run this to verify: Execute the PowerShell command above, adjusting the -UserIds and -Operations as needed for recent activity in your tenant. You should see audit records if the specified user performed the operation within the timeframe. Similarly, navigating to Activity explorer in the Purview portal should populate with data over time, confirming that auditing is active and reporting information.

When to bring in a consultant

While this guide provides a solid foundation for your Microsoft Purview compliance setup, certain scenarios warrant professional assistance. If your SMB operates in a highly regulated industry (e.g., healthcare, finance) with complex compliance requirements, deals with a hybrid Active Directory environment, needs advanced custom sensitive information types, or requires integration with third-party applications, a specialized consultant can be invaluable. SkyCore Solutions can provide expert guidance in these areas, ensuring your Purview deployment is optimally configured for your unique business needs and minimizes compliance risk. Don't hesitate to reach out if you find yourself navigating these complexities.

Book a free consultation

References