Skip to content
AVD-01 Field-tested

Run a read-only AVD audit collector

Collect an Azure Virtual Desktop environment's configuration into CSVs from Cloud Shell, without changing anything.

What it does

A read-only PowerShell collector, run from Azure Cloud Shell, exports an AVD environment’s state into CSVs: host pools, session hosts, VM sizes and utilization, public IPs, NSG rules, storage and FSLogix shares, and reservations. Those CSVs become the evidence for an AVD audit write-up.

Permissions: Global Admin isn’t enough

Global Administrator is an Entra role. It doesn’t grant access to Azure resources. The account running the collector needs at least Reader on the subscription (or subscriptions) that hold the AVD resources. A Global Admin can elevate to manage access, but grant Reader explicitly and remove it when the audit is done.

Running it

  1. Open Cloud Shell (PowerShell) in the client’s tenant.
  2. Confirm the context: Get-AzContext shows the expected tenant and subscription.
  3. Upload and run the collector. It writes a folder of CSVs.
  4. Download the folder.

Reading the findings

FileWhat to look for
public_ips.csvSession hosts or servers with public IPs (see AVD-07)
nsg_open_inbound.csvAny-any or internet-open inbound rules (see AVD-07)
VM utilizationLow average CPU or always-on hosts (see AVD-08)
StoragePremium Files share size, quota and snapshots (see AZ-03)

We run this collector as part of our AVD audit. See also the engineer checklist in AVD-10.

Seeing this in your environment?

We can check for this, and everything around it, as part of an audit.

Ask us about AVD-01

Find out what's really going on in your tenant.

Tell us what you run and what's worrying you. We'll recommend the right audit, and tell you honestly if you don't need one.