-
Notifications
You must be signed in to change notification settings - Fork 392
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
Not all data present in excel #206
Comments
Hello @BrandonCline85 Looks like something that should be fixed already. Can you run the version 3.1.38 with -Debug and see how many Jobs run at the same time during the "Processing Inventory" ? |
Yes, I can run that and paste the output here. It might be tomorrow before I can get to it though. |
Thanks for the output. The incorrect numbers are just in the Overview tab or in the Key Vault tab there is indeed only 10 different key vaults? |
On the NSG's it is showing 13 on the overview, 63 in the tab and the azure portal only has 24 |
Key vaults it shows 10 in the overview, 56 in the tab and there are 13 in the azure portal |
Yes, because the script will add one line for each "Access Policy" in the Key Vault tab and for NSG it will add one line for each "Security Rule". But the number of unique resources in these tabs are 13 or 24 (for the NSG) and 10 or 13 (for the key vaults)? |
Correct. |
Hello, I just released the version 3.5. and since we changed a lot of how the script works (it's no longer a script, but a Powershell Module) and we completely remove the need of az cli as we changed 100% to powershell. This might have changed the previous behavior. Do you mind and give a try to new version so we can validate if this issue is fixed? Thanks |
Thanks for the update. I’m off work today but I will check tomorrow and let you know.
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Claudio Merola ***@***.***>
Sent: Monday, September 2, 2024 1:17:08 PM
To: microsoft/ARI ***@***.***>
Cc: BrandonCline85 ***@***.***>; Mention ***@***.***>
Subject: Re: [microsoft/ARI] Not all data present in excel (Issue #206)
Hello, I just released the version 3.5. and since we changed a lot of how the script works (it's no longer a script, but a Powershell Module) and we completely remove the need of az cli as we changed 100% to powershell. This might have changed the previous behavior.
Do you mind and give a try to new version so we can validate if this issue is fixed?
Thanks
—
Reply to this email directly, view it on GitHub<#206 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BIVFWFBPTNGU4RZPW26AAHTZUSTSJAVCNFSM6AAAAABMO2VU62VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRVGE3TGOBYGM>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Key Vaults is still showing only 10 items in the spreadsheet and there are 13 currently being used. Azure Firewall is only displaying 1 firewall in the spreadsheet, when there are 2 in place. Please let me know if you need any further info from me. Thanks. |
Testing with version 3.5: PostgreSQL Flexible appears as 0 but should be 7. |
@BrandonCline85 , does the missing Key Vaults have Access Policies configured? @dersteppenwolf, that is just in the Overview or the PostgreeSQL Flexible sheet is also empty? |
Both |
@Claudio-Merola yes there are access policies configured on 10 of them. I'm guessing that is why the other 3 didn't show up in the report. |
@BrandonCline85 , got it. It should be fixed in the next version (3.5.1). We intend to release it next week. Can you check if the resource type of the PostgreeSQL Flexible you have in your environment is: "Microsoft.DBforPostgreSQL/flexibleServers"? You can check that in the "JSON View" of any your resources. |
|
That is strange. Can you run the script adding the "-Debug" parameter and post the output here? |
Command: Invoke-ARI -TenantID xxxx -DiagramFullEnvironment -ReportDir “C:\tmp\AzureResourceInventory\” -QuotaUsage -SecurityCenter -Debug Some examples from the output: DEPURACIÓN: 7:50:07 a. m. - GetAzureRmAccessTokenCommand end processing. DEPURACIÓN: 2024-09-05_07_52_26 - Running Module: 'CosmosDB'. Lines Count: 23 ADVERTENCIA: Algunos nombres de comando importados del módulo 'AzureResourceInventory' incluyen verbos no aprobados que podrían dificultar su reconocimiento. Para encontrar los comandos con verbos DEPURACIÓN: 2024-09-05_07_52_53 - Checking if Should Generate Advisory Sheet. |
That is odd. "Running Module: 'POSTGREFlexible'. Lines Count: 7" This indicate the Postgree Flexible itself was processed correctly and 7 lines should have been added to the Excel file. The PostgreeSQL Flexible sheet is totally blank and no resources are present? or it has the column titles and there is no resources? |
The sheet es totally blank. |
Hey @dersteppenwolf I just published the version 3.5.1 of the module and this issue should be fixed. Can you try to upgrade your version of the module and try again? Thanks |
The command takes too much time and doesn't finish. |
Are you running the script with "-Debug" so we can see what the script is doing? |
This Issue is stale and may be automatically close soon. |
The sheet is again totally blank. Version: Get-InstalledModule -Name AzureResourceInventory Command: Invoke-ARI -TenantID xxx -DiagramFullEnvironment -ReportDir “C:\tmp\AzureResourceInventory\” -QuotaUsage -SecurityCenter -Debug Log: DEPURACIÓN: 2024-10-16_20_40_19 - Running Module: 'POSTGREFlexible'. Lines Count: 7 |
When running versions 3.1.13 and 3.1.38, I'm noticing discrepancies in the output for resources, with some resources not displaying the correct amounts. Is there a workaround for this, or is it a new issue?
The text was updated successfully, but these errors were encountered: