question

MOHAMMADZAHEERUDDIN-1150 avatar image
0 Votes"
MOHAMMADZAHEERUDDIN-1150 asked KalyanChanumolu-MSFT edited

Export all Azure resources data in CSV file using Resource Graph Explorer

Hi All,

I want to export all Azure Resources (VM, NIC,VNet,Disks,OSDisk, PublicIP, StorageAccount and AKS) details using the Azure Resource Graph Explorer. But it doesnot allow to have more than 4 join conditions. Please assist on how to get the above information from Resources. Also the export to CSV gives only 5000 row data, how to get all data in CSV file.

azure-table-storage
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

KalyanChanumolu-MSFT avatar image
0 Votes"
KalyanChanumolu-MSFT answered

@MOHAMMADZAHEERUDDIN-1150 You may have to achieve this using PowerShell instead of Graph explorer.

Please check if this script helps.

https://github.com/cloudchristoph/AzureInventory/blob/master/Get-AzureInventory.ps1

It currently exports these properties - ResourceName, ResourceGroupName, ResourceType, Sku but you can easily modify the script to include more parameters.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.