Purview Configuration Collector is a PowerShell-based tool that extracts Microsoft Purview configuration into structured CSV datasets for evidence-based analysis.
Microsoft Purview environments are:
- Complex
- Distributed across workloads
- Difficult to analyze consistently
This tool enables:
- Deterministic analysis (no assumptions)
- Repeatable assessments
- Clean input for automation
| Area | Data |
|---|---|
| DLP | Policies, Rules, Conditions |
| Retention | Policies and Rules |
| Information Protection | Label Policies |
| Audit | Admin Audit Configuration |
Purview → PowerShell Extraction → CSV Output → Analysis (Copilot / SOC)
pwsh
cd .\script
.\PurviewDiag.ps1
output/<Tenant>/<Timestamp>/
Each dataset is exported as an independent CSV file.
logs/
Includes transcript, metadata, and warnings.
| Component | Value |
|---|---|
| PowerShell | 7.x |
| Module | ExchangeOnlineManagement |
| Roles | Compliance Admin / Security Admin |
- CSV is the source of truth
- No transformation in the script
- No assumptions
- Analysis happens downstream
This tool is read-only.
No changes are made to tenant configuration.
Sergio Calva