Microsoft-Secure-Score-Assessment-Toolkit

2.2.1

A powerful PowerShell toolkit for assessing Microsoft 365 security posture through the Microsoft Secure Score API. Generate comprehensive, interactive HTML reports with 411+ security controls directly from Microsoft Graph API. Features include real-time data fetching, interactive filtering, floating action buttons, and direct links to configuration portals. Perfect fo
A powerful PowerShell toolkit for assessing Microsoft 365 security posture through the Microsoft Secure Score API. Generate comprehensive, interactive HTML reports with 411+ security controls directly from Microsoft Graph API. Features include real-time data fetching, interactive filtering, floating action buttons, and direct links to configuration portals. Perfect for security assessments, compliance reporting, and continuous security monitoring.
Show more

Minimum PowerShell version

5.1

Installation Options

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

Install-Module -Name Microsoft-Secure-Score-Assessment-Toolkit

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

Install-PSResource -Name Microsoft-Secure-Score-Assessment-Toolkit

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

(c) 2025-present Mohammed Siddiqui. All rights reserved. MIT License.

Package Details

Author(s)

  • Mohammed Siddiqui

Tags

Microsoft365 M365 SecureScore Security Compliance Audit Assessment Graph GraphAPI SecurityCompliance SecurityAssessment SecurityPosture CyberSecurity GRC RiskManagement SecurityControls EntraID AzureAD Defender Purview Intune

Functions

Connect-MicrosoftSecureScore Disconnect-MicrosoftSecureScore Invoke-MicrosoftSecureScore Get-MicrosoftSecureScoreInfo

PSEditions

Desktop Core

Dependencies

This module has no dependencies.

Release Notes

v2.2.1 Encoding Fix

- Fixed non-ASCII characters (bullets, em dashes, smart quotes) displaying as garbled text in reports
- All non-ASCII characters now encoded as HTML numeric entities for reliable rendering

v2.2.0 CSV Export, Bug Fixes, and Quality Improvements

NEW FEATURES
- CSV Export: New -CsvPath parameter exports all control data to CSV for spreadsheet analysis
- Disconnect Function: New Disconnect-MicrosoftSecureScore for proper session cleanup
- No-Open Switch: New -NoOpen parameter suppresses automatic browser launch

BUG FIXES
- Fixed division by zero when MaxScore is 0
- Fixed missing closing div in HTML template causing layout issues
- Fixed JavaScript filter crash in Firefox/Safari (implicit event variable)
- Fixed score of 0 being silently dropped in report metadata
- Fixed internal functions being leaked to user session (namespace pollution)
- Fixed loading overlay never displaying
- Fixed URL mapping using substring match instead of exact match
- Fixed emoji characters showing as garbled text in reports
- Fixed progress bar counting excluded controls incorrectly
- Removed duplicate LinkedIn link in floating action menu
- Removed stale third-party email from help function

IMPROVEMENTS
- O(n^2) array performance replaced with List collection
- Removed redundant Import-Module calls across all functions
- Removed dead JavaScript code (unused functions, setInterval, deprecated APIs)
- Eliminated duplicate HTML stripping code in ComplianceProcessor
- Version now read from manifest instead of hardcoded
- Path validation for ReportPath, LogPath, and CsvPath
- Replaced emoji characters with SVG icons for encoding compatibility
- Updated info function with current features

Full changelog at https://github.com/mohammedsiddiqui6872/Microsoft-Secure-Score-Assessment-Toolkit/blob/main/CHANGELOG.md

FileList

Version History

Version Downloads Last updated
2.2.1 (current version) 6 2/22/2026
2.2.0 7 2/22/2026
2.1.0 54 2/1/2026
2.0.2 244 12/9/2025