Running the script in our our simple QA environment with only 507 items the generated excel report was just black.
Running from Windows in powershell or powershell_ise azure-cli, 2.59.0Resource-Graph Extension Version: 1.0.0
In script AzureResourceInventory.ps1 the following changes were required :
line 636 changed from
$EnvSizeNum = $EnvSize.data.'count' # Original
to
$EnvSizeNum = $EnvSize.'count'
then line 650 :
$Global:Resources += $Resource.data # Original
to
$Global:Resources += $Resource
Running the script in our our simple QA environment with only 507 items the generated excel report was just black. Running from Windows in powershell or powershell_ise
azure-cli, 2.59.0 Resource-Graph Extension Version: 1.0.0
In script AzureResourceInventory.ps1 the following changes were required :
line 636 changed from
$EnvSizeNum = $EnvSize.data.'count' # Original to
$EnvSizeNum = $EnvSize.'count'
then line 650 :
$Global:Resources += $Resource.data # Original to $Global:Resources += $Resource