Skip to content
All projects
Compliance · Insider RiskHome Lab

Microsoft Purview Insider Risk Management

Tenant-wide Data Leaks policy detecting authorized-insider data exfiltration through behavioral analytics and sequence detection

Microsoft PurviewInsider Risk ManagementData Loss PreventionZero Trust

Difficulty

Advanced

Environment

Microsoft 365 tenant (securem365lsb.onmicrosoft.com)

Deployment

Home Lab

Est. Implementation

4-6 hours

Related certifications:SC-400SC-300SC-200MS-102
GitHub
Overview

Executive Summary

This project configures and validates Microsoft Purview Insider Risk Management with a tenant-wide Data Leaks policy, moving from an empty solution instance through analytics enablement, indicator and privacy configuration, and a fully scoped policy that reaches Healthy status with activity scoring actively initiated for a test user.

Every configuration step is backed by a screenshot captured during the lab build, with no invented configuration values, following an evidence-only documentation standard.

Context

Business Problem

Regulated and data-sensitive organizations need visibility into risk posed by authorized insiders — employees who already have legitimate access to sensitive data but who may exfiltrate it accidentally or intentionally, for example before resignation. Perimeter controls such as firewalls and Conditional Access do not address this risk because the actor is an authenticated, authorized user operating within their normal access boundaries.

Without a dedicated insider risk solution, low-signal individual activities such as a SharePoint download, a removed sensitivity label, or a file archived and copied to USB go undetected in isolation, even though the same activities performed in sequence are a strong indicator of intentional data exfiltration.

Business Risks

  • Undetected multi-step exfiltration sequences (download, obfuscate, exfiltrate, delete) by authorized users
  • Departing employees taking sensitive data before resignation
  • Sensitive data such as credit card information leaving the tenant through prioritized SharePoint sites
  • Lack of role-based visibility into insider activity due to unassigned Analyst/Investigator role groups

Compliance Concerns

  • PCI-relevant data handling
  • Regulatory data governance obligations
  • Zero Trust insider threat visibility
Approach

Solution Overview

Enabled analytics at both tenant and user aggregation levels to build a behavioral baseline.

Configured solution-wide settings: privacy/pseudonymization, policy indicators (Office, Device, Defender for Endpoint, Risky browsing), intelligent detections, and domain lists.

Reviewed the seven built-in Insider Risk Management role groups for least-privilege administration.

Built a tenant-wide Data Leaks policy from a Microsoft Quick Policy template, with content prioritization, tenant-specific thresholds, and full sequence detection.

Submitted the policy, confirmed Healthy status, and started activity scoring for a named test user to validate the deployment end-to-end.

Design

Architecture

Architecture Diagram
100%

Architecture diagram placeholder

Insider Risk Management data flow: Office, Device, Defender for Endpoint, and Entra ID Protection signals feed analytics, which drive a scoped Data Leaks policy with sequence detection and test-user activity scoring.
Stack

Technology Stack

Microsoft Purview Insider Risk Management

Core solution for behavioral analytics, indicator configuration, and policy management

Microsoft 365 Unified Audit Log

Source of Office and Device activity indicators

Microsoft Defender for Endpoint

Source of defense-evasion and unwanted-software indicators (P2 required)

Microsoft Purview Data Loss Prevention

Optional trigger and prerequisite for the Data Leaks policy template

Microsoft Entra ID Protection

Identity-risk indicators feeding into insider risk scoring

Microsoft Purview Roles and Scopes

RBAC role groups governing Insider Risk Management administration

Environment

Lab Environment

Tenant
securem365lsb.onmicrosoft.com
Policy Template
Data Leaks (Quick Policy)
Scope
All users, groups, and adaptive scopes
Prioritized Content
Team Site (SharePoint), Credit Card Number (SIT)
Build

Implementation

A phased, expandable walkthrough. Screenshots and evidence can be attached to each phase.

  1. Enabled tenant and user-level analytics to establish a behavioral baseline, and configured pseudonymized usernames for privacy-by-design alert triage.

    • Navigate to Insider Risk Management from the Purview Solutions menu
    • Review the Overview page and recommended actions
    • Configure Analytics settings (tenant + user level insights: On)
    • Configure Privacy settings (pseudonymized usernames selected)
    Screenshots for this phase can be added here.
Automation

PowerShell

Illustrative example snippets — copy or download each script. Production values are placeholders.

Insider Risk Role Group Verification

Verify-InsiderRiskPolicy.ps1
# Connect to Security & Compliance PowerShell (required for Purview role and policy verification)
Connect-IPPSSession -UserPrincipalName admin@securem365lsb.onmicrosoft.com

# Review Insider Risk Management role group membership
Get-RoleGroupMember -Identity "Insider Risk Management"
Get-RoleGroupMember -Identity "Insider Risk Management Analysts"
Get-RoleGroupMember -Identity "Insider Risk Management Investigators"
Evidence

Configuration Screenshots

Click any tile to open the lightbox. Real screenshots will replace these placeholders.

Phase 1

Phase 2

Phase 3

Phase 4

Phase 5

Proof

Validation

  • Analytics enabled (tenant + user level)

    Confirmed via Purview portal settings — Pass

  • Privacy/pseudonymization configured

    Confirmed via Purview portal settings — Pass

  • Office, Device, Defender, Risky Browsing indicators enabled

    Confirmed via Purview portal settings — Pass

  • Role groups reviewed

    Partial — specialized groups have 0 assigned users

  • Policy created from Data Leaks template

    Confirmed via policy wizard — Pass

  • Content prioritization configured

    Confirmed via policy wizard — Pass

  • Triggering event and thresholds configured

    Confirmed via policy wizard — Pass

  • Sequence detection configured

    Confirmed via policy wizard — Pass

  • Policy submitted and reaches Healthy status

    Confirmed in Policies list — Pass

  • Activity scoring started for test user

    Confirmed via Policies action — Pass

Reality

Challenges

Missing role-group alert-view permission

The signed-in session lacked a role group with alert-viewing permission, surfaced directly by a banner on the Policies page; documented as a known limitation rather than resolved in place.

Unconfigured optional connectors

Cloud Apps, Cloud Storage, Microsoft Fabric, and Network indicator categories remained at 0 selected because their underlying connectors were not configured in this lab.

Insight

Lessons Learned

  • Enabling an indicator at the solution-settings level does not guarantee it is available at the policy level — indicator availability can still be individually gated during policy creation.
  • A "Healthy" policy status is a structural validation, not proof of active alerting; explicit test-user scoring is a necessary additional step.
  • Several of the richest indicator categories depend entirely on optional connector prerequisites (Defender for Cloud Apps, Microsoft Fabric, physical badging) that are easy to overlook when following the Quick Policy path.
Outcome

Business Impact

Healthy

Policy Status

126

Indicators Reviewed

Sequence-Based

Detection Model

Test-User Verified

Validation

Capability

Skills Demonstrated

Microsoft Purview Insider Risk ManagementRisk Indicator & Threshold DesignRBAC Role Group ReviewPolicy Lifecycle ManagementEvidence-Based Technical Documentation
Mapping

Related Certifications

Certifications this project maps to are highlighted.

MS-102SC-200SC-300SC-400AZ-900AZ-500SC-100
Reading

Related Blog Articles

Placeholder cards — future TechCertGuide integration.

Source

GitHub Repository

Microsoft-Insider-Risk-Management

Public

Enterprise implementation of Microsoft Purview Insider Risk Management with a tenant-wide Data Leaks policy

Resources

Download Center

Project Case Study

PDF · Available soon

Architecture Diagram

PDF · Available soon

PowerShell Scripts

ZIP · Available soon

Technical Documentation

PDF · Available soon