PurviewConfigAnalyser

1.0.3

Microsoft Purview Configuration Analyser - Automated compliance assessment for Sensitivity Labels, Auto-labeling, and Data Loss Prevention policies with comprehensive reporting capabilities.

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name PurviewConfigAnalyser -RequiredVersion 1.0.3

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name PurviewConfigAnalyser -Version 1.0.3

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

© 2025 Abhijeet Karki. All rights reserved.

Package Details

Author(s)

  • Abhijeet Karki

Tags

Purview Compliance Microsoft365 Security Assessment DLP SensitivityLabels Governance

Functions

Test-PurviewCompliance Invoke-PurviewConfigAnalyser Get-PurviewConfig New-CustomControlBook

Dependencies

Release Notes

# PurviewConfigAnalyser v1.0.3

## New in v1.0.3
- [CRITICAL FIX] Fixed all remaining Unicode quote character issues that caused parser errors
- [FIX] Replaced smart quotes (U+2018, U+2019, U+201C, U+201D) with standard ASCII quotes
- [FIX] Fixed "Array index expression missing" errors in string literals
- [FIX] Fixed "Missing argument in parameter list" errors from malformed quotes
- Module now imports successfully without any syntax errors - FINAL FIX

## New in v1.0.2
- [CRITICAL FIX] Fixed syntax errors that prevented module import in v1.0.1
- [FIX] Removed remaining Unicode character causing parser errors
- [FIX] Fixed curly quotes in ReadKey calls that blocked module loading

## New in v1.0.1
- [COMPATIBILITY] Replaced Unicode emoji icons with text equivalents for better PowerShell compatibility
- [FIX] Resolves installation hanging issues in various PowerShell environments
- [IMPROVEMENT] Added comprehensive installation troubleshooting documentation

## Features
- Comprehensive compliance assessment for Microsoft Purview configurations
- Support for Sensitivity Labels, Auto-labeling, and DLP policies
- Advanced parsing for complex nested policy structures
- Excel and CSV reporting capabilities
- 96.3% compliance rate achieved on reference implementation

## Technical Capabilities
- Deep recursive JSON parsing for complex policy conditions
- Case-insensitive property matching
- Support for compound property paths with >> operator
- Enhanced DLP rule parsing for nested SubConditions
- Automated control book validation
- Universal PowerShell environment compatibility

## Requirements
- PowerShell 5.1 or higher
- ImportExcel module 7.0.0 or higher
- Microsoft Purview OptimizedReport JSON export

## Usage
Import-Module PurviewConfigAnalyser
Test-PurviewCompliance -OptimizedReportPath "report.json" -Configuration "AUGov" -OutputPath ".\results"

FileList

Version History

Version Downloads Last updated
2.0.1 12 7/22/2025
1.0.9 7 7/22/2025
1.0.8 8 7/22/2025
1.0.7 7 7/22/2025
1.0.6 7 7/22/2025
1.0.5 7 7/22/2025
1.0.4 6 7/22/2025
1.0.3 (current version) 6 7/22/2025
1.0.2 7 7/22/2025
1.0.1 6 7/22/2025
1.0.0 11 7/22/2025
Show less