An improved script to exclude permissions of system accounts and accounts that contain "S-1-5-21"
Office 365 Reporting PowerShell Scripts