ARI 2026.1.14.727
dotnet tool install --global ARI --version 2026.1.14.727
dotnet new tool-manifest
dotnet tool install --local ARI --version 2026.1.14.727
#tool dotnet:?package=ARI&version=2026.1.14.727
nuke :add-package ARI --version 2026.1.14.727
ARI
Azure Resource Inventory .NET Tool - Inventories and documents Azure Tenant resources to a set of markdown files for specified tenant to a specified folder.
Obtain
dotnet tool install -g ari
Commands
Use -h / --help to get the current list of available commands and options.
ari --help
ari command --help
inventory
The inventory command inventories tenants and outputs it's result as markdown files to specified output path.
ari inventory <tenantId> <outputpath> [options]
Quick Start
Running ARI Successfully for the First Time
By default it'll try authenticate using the DefaultAzureCredential which tries to authorize in the following order based on your environment.
- EnvironmentCredential
- WorkloadIdentityCredential
- ManagedIdentityCredential
- SharedTokenCacheCredential
- VisualStudioCredential
- VisualStudioCodeCredential
- AzureCliCredential
- AzurePowerShellCredential
- AzureDeveloperCliCredential
- InteractiveBrowserCredential
Setup Azure App Registration
The recommended way is using a service principal with only the access required for it to document, you can do this by creating an app registration.
- Begin by creating an
App Registrationin Azure Entra for the report generator. This ensures that the report generator has precisely the required access, such as organization-wide read permissions or access to a limited set of subscriptions. - Assign the API permission
https://graph.microsoft.com/Organization.Read.Allto the createdApp Registration. - In my tenant, Admin consent is required for this permission.
- Add a role that allows the
App Registrationto read an organization. You can do this underSubscriptionmanagement in Azure andAccess Control (IAM). AddRole Assignment, find theApp Registrationand give itReadaccess. - Assign a secret to the
App Registrationand make a note of this secret.
With the Azure App Registration now configured, we are ready to proceed.
Configure ARI for Execution
- Create a dedicated folder for the generated report.
- Set the environment variable
AZURE_TENANT_IDto the tenant ID (found in theApp Registrationoverview for your app). - Set the environment variable
AZURE_CLIENT_IDto the client ID (found in theApp Registrationoverview for your app). - Set the environment variable
AZURE_CLIENT_SECRETto the secret noted earlier. - Set the environment variable
AZURE_AUTHORITY_HOSTtohttps://login.microsoftonline.com/.
Run ARI
Assuming all the environment variables are correctly set, follow these steps:
dotnet tool install --global ARI
ari <AZURE_TENANT_ID> <FOLDER_FOR_REPORT>
By following these steps, you should be able to run ARI successfully for the first time. If you encounter any issues, double-check the Azure App Registration setup and ensure that the environment variables are accurately configured.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.1.14.727 | 3,471 | 1/14/2026 |
| 2025.12.17.701 | 4,598 | 12/17/2025 |
| 2025.11.25.672 | 8,543 | 11/25/2025 |
| 2025.11.24.667 | 1,152 | 11/24/2025 |
| 2025.11.23.655 | 990 | 11/23/2025 |
| 2025.9.10.495 | 11,707 | 9/10/2025 |
| 2025.8.6.427 | 6,001 | 8/6/2025 |
| 2025.7.9.390 | 3,917 | 7/9/2025 |
| 2025.7.9.385 | 923 | 7/9/2025 |
| 2025.6.11.339 | 5,072 | 6/11/2025 |
| 2025.6.11.334 | 1,076 | 6/11/2025 |
| 2025.5.14.286 | 5,099 | 5/14/2025 |
| 2025.4.10.238 | 38,484 | 4/10/2025 |
| 2025.4.8.229 | 1,201 | 4/8/2025 |
| 2025.3.13.188 | 4,677 | 3/13/2025 |
| 2025.2.25.158 | 3,540 | 2/25/2025 |
| 2025.2.12.134 | 3,055 | 2/12/2025 |
| 2025.1.20.86 | 4,739 | 1/20/2025 |
| 2025.1.19.83 | 1,097 | 1/19/2025 |
| 2024.11.23.81 | 9,692 | 11/23/2024 |
| 2024.11.4.79 | 3,989 | 11/4/2024 |
| 2024.9.21.75 | 7,151 | 9/21/2024 |
| 2024.3.25.72 | 25,649 | 3/25/2024 |
| 2024.3.19.67 | 1,886 | 3/19/2024 |
| 2024.2.8.62 | 6,694 | 2/8/2024 |
| 2024.2.7.60 | 1,076 | 2/7/2024 |
| 2023.12.28.57 | 4,876 | 12/28/2023 |
| 2023.12.27.54 | 1,199 | 12/27/2023 |
| 2023.11.28.44 | 6,499 | 11/28/2023 |
| 2023.11.28.41 | 999 | 11/28/2023 |
| 2023.11.10.36 | 3,538 | 11/10/2023 |
| 2023.11.9.30 | 964 | 11/9/2023 |
| 2023.10.25.28 | 77,278 | 10/25/2023 |
| 2023.10.16.26 | 1,056 | 10/16/2023 |
| 2023.10.15.24 | 982 | 10/15/2023 |
| 2023.10.15.22 | 1,034 | 10/15/2023 |
| 2023.10.14.17 | 1,099 | 10/14/2023 |
| 2023.10.14.15 | 1,044 | 10/14/2023 |
| 2023.10.13.12 | 1,053 | 10/13/2023 |
| 2023.10.7.10 | 1,021 | 10/7/2023 |
| 2023.10.7.7 | 1,084 | 10/7/2023 |
| 2023.10.7.5 | 1,078 | 10/7/2023 |