By default this page audits Azure through the local server. The server holds the credential and returns only the audit bundle, so no token ever reaches your browser. Nothing is uploaded anywhere.
You need: the Reader role on the subscriptions you want to audit, and Cost Management Reader on the billing scope. Both are read-only. No resource is created or changed at any point.
The two options below are for auditing an estate you cannot reach from this machine, or for passing a point-in-time snapshot to someone else.
Cloud Shell already has the Azure CLI and jq installed, so there
is nothing to install anywhere.
cat > waste-export.sh, press Copy script below,
paste into the terminal, then press Ctrl+D.bash waste-export.sh and wait. It prints what it found.download azure-waste-bundle.json to save it to your machine.
reads inventory, cost and
Advisor recommendations; writes azure-waste-bundle.json
Faster, but it carries no resource state, so the rules that find unattached disks, stopped-but-billing VMs, empty App Service Plans and backendless gateways cannot run. Good for a first look at where the money sits.
The script is safe to run on a schedule — it only reads. A monthly run committed next to your Terraform gives you a diffable record of the estate, which is more useful than a dashboard nobody opens. Re-run it after any large change and compare the recoverable-waste figure.