How toasterlabs/m365inventory works
M365Inventory is a graphical PowerShell tool for inventorying Microsoft 365 tenants and Azure resources, with Graph-based usage reports as an additional capability. The documented workflow is user → GUI → inventory scripts → tenant and Azure inventory targets. The README also documents Graph API setup and required service modules. Source excerpts are limited to an otherwise empty secondary window, so implementation-level calls and wiring cannot be verified; the edges shown are supported by the README.
Main entry points: Load-Main.ps1 PowerShell scripts · MainWindow.xaml Inventory GUI · Modules Graph usage reports
Components 9
Desktop interface
- Inventory GUI
Resources/Forms/MainWindow.xaml
Inventory workflow
- Startup script
Start-Automaton.ps1 - PowerShell scripts
Resources/Scripts/Load-Main.ps1 - Inventory module
Resources/Modules/M365InventoryAutomaton.psm1 - Graph usage reports
Resources/Modules
Cloud integrations
- Microsoft 365 tenant
- Azure resources
- Microsoft Graph API
Other components
- Administrator
Connections 5
- Administrator → Inventory GUI: uses
README.md - Inventory GUI → PowerShell scripts: launches
README.md - PowerShell scripts → Microsoft 365 tenant: inventories
README.md - PowerShell scripts → Azure resources: inventories
README.md - Graph usage reports → Microsoft Graph API: retrieves reports
README.md