script-samples icon indicating copy to clipboard operation
script-samples copied to clipboard

Update README.md

Open ojopiyo opened this issue 1 month ago • 0 comments

The script has been refactored for clarity, consistency, and maintainability. All functions now accept a connection parameter and return standardized objects with DisplayName, UserPrincipalName, Mail, Reason, and Source, simplifying output and CSV exports. Array handling and search queries have been optimized for better performance, and inactive user detection has been restructured with a configurable inactivity threshold. Results from multiple sources are now consolidated into a single report, improving usability for governance audits. Additionally, security best practices have been applied for connection handling, and modular function design supports easier testing, future enhancements, and tenant-specific customization.

ojopiyo avatar Dec 18 '25 18:12 ojopiyo