How microsoft/ari works
ARI is a PowerShell module for read-only Azure environment inventory, producing Excel reports and interactive diagrams. The documented user flow starts at Invoke-ARI, which accepts tenant and scope options, collects Azure data, and generates the selected outputs. Optional branches include Security Center, Advisor, Policy, and cost data; automation is also documented. The README establishes these product capabilities, but the provided source excerpts do not expose implementation calls between stages, so those links are marked unverified rather than presented as observed control flow.
Main entry points: Invoke-ARI.ps1 Invoke ARI · Get-ARISubscriptions.ps1 Tenant and scope · InventoryModules Resource inventory · Start-ARIDiagramNetwork.ps1 Network diagrams
Components 17
User entry
- Invoke ARI
Modules/Public/PublicFunctions/Invoke-ARI.ps1
Azure inventory
- Tenant and scope
Modules/Private/1.ExtractionFunctions/Get-ARISubscriptions.ps1 - Resource inventory
Modules/Public/InventoryModules - Management groups
Modules/Private/1.ExtractionFunctions/Get-ARIManagementGroups.ps1 - Cost inventory
Modules/Private/1.ExtractionFunctions/Get-ARICostInventory.ps1 - VM details
Modules/Private/1.ExtractionFunctions/ResourceDetails
Analysis features
- Advisor data
Modules/Private/2.ProcessingFunctions/Invoke-ARIAdvisoryJob.ps1 - Policy data
Modules/Private/2.ProcessingFunctions/Invoke-ARIPolicyJob.ps1 - Security Center
Modules/Private/2.ProcessingFunctions/Invoke-ARISecurityCenterJob.ps1
Reports and diagrams
- Excel report
Modules/Private/3.ReportingFunctions/Start-ARIExcelJob.ps1 - Extra reports
Modules/Private/3.ReportingFunctions/Start-ARIExtraReports.ps1 - Network diagrams
Modules/Public/PublicFunctions/Diagram/Start-ARIDiagramNetwork.ps1 - Organization diagrams
Modules/Public/PublicFunctions/Diagram/Start-ARIDiagramOrganization.ps1 - Draw.io output
Modules/Private/2.ProcessingFunctions/Invoke-ARIDrawIOJob.ps1
Other components
- ARI user
- Azure environment
- Automation Account
Connections 17
- ARI user → Invoke ARI: runs
README.md - Invoke ARI → Tenant and scope: accepts scope
- Tenant and scope → Azure environment: selects subscriptions
- Invoke ARI → Resource inventory: collects resources
- Resource inventory → Azure environment: reads resources
- Invoke ARI → Management groups: supports scope
- Invoke ARI → Cost inventory: optionally collects
- Invoke ARI → VM details: optionally collects
- Invoke ARI → Advisor data: optionally collects
- Invoke ARI → Policy data: optionally collects
- Invoke ARI → Security Center: optionally collects
README.md - Invoke ARI → Excel report: generates report
README.md - Invoke ARI → Extra reports: generates reports
- Invoke ARI → Network diagrams: generates diagrams
README.md - Invoke ARI → Organization diagrams: offers view
README.md - Network diagrams → Draw.io output: exports interactive maps
README.md - Automation Account → Invoke ARI: runs automatically
README.md