Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

version 3.1.14 not producing any output in a simple environment without these changes. #179

Closed
naimco opened this issue Apr 11, 2024 · 1 comment

Comments

@naimco
Copy link

naimco commented Apr 11, 2024

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

@naimco
Copy link
Author

naimco commented Apr 11, 2024

Never mind my issues were caused by having Resource-Graph version 1.0.0 installed instead of 2.1.0.
Disregard my bug report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants