This script collects users, groups and Teams of a Microsoft 365 environment on .xlsx file for audit and review purposes
- 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
- 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
- For personal support and queries, please submit a new issue to have it addressed.
- For commercial related questions, please contact me directly for consulting costs.
If you found this project helpful, consider |
---|
buying me a coffee, donate by paypal, sponsor this project or just leave a star⭐ |
Thanks for your support, it is much appreciated! |