Files
m365auditor/README.md
Ivan Carlos ddf55684b6
All checks were successful
Build, Push, Publish / Build & Release (push) Successful in 23s
Update README.md
2026-01-23 02:38:39 +00:00

1.4 KiB

Microsoft 365 Auditor script

This script collects users, groups and Teams of a Microsoft 365 environment on .xlsx file for audit and review purposes

Instructions

  • Save the last release version and extract files locally (download here)
  • Change variables of mainscript.ps1 if needed
  • Update tenantIds.txt with your tenants
  • Run mainscript.ps1 on PowerShell (right-click on file > Run with PowerShell)
  • Follow instructions selecting tenant, authenticate, collect .zip file on $destinationpath
  • If needs help to install or update required modules, run ADMIN-install-modules.ps1 as administrator

Requirements

  • Windows 10+ or Windows Server 2019+
  • PowerShell 5.x (some modules still runs under .NET Framework, PowerShell 7.x uses .NET Core)
  • Modules MicrosoftTeams, ImportExcel, Microsoft.Graph, ImportExcel on PowerShell

🧑‍💻 Consulting and technical support

  • For personal support and queries, please submit a new issue to have it addressed.
  • For commercial related questions, please contact me for consulting costs.
🩷 Project support
If you found this project helpful, consider buying me a coffee
Thanks for your support, it is much appreciated!