JulianHayward / Azure-MG-Sub-Governance-Reporting

Azure Governance Visualizer aka AzGovViz is a PowerShell script that captures Azure Governance related information such as Azure Policy, RBAC (a lot more) by polling Azure ARM, Storage and Microsoft Graph APIs.
MIT License
817 stars 295 forks source link

Added AuthorisationPermissionMismatch to the exclusion criteria on St… #144

Closed emt2600 closed 1 year ago

emt2600 commented 1 year ago

Added AuthorisationPermissionMismatch to the exclusion criteria on Storage Account Analysis to prevent failure when a databricks storage account is present

MarcelHeek commented 1 year ago

Not sure wheter this is in the same script context, but sometimes I get fatal error on this in the Storage Analysis section with Unexpected Error

.......... careblob get restype=service&comp=properties #1 'Unexpected Error' occurred (trying 10 times); sleep 2 seconds Connection timed out careblob get restype=service&comp=properties #2 'Unexpected Error' occurred (trying 10 times); sleep 3 seconds Connection timed out careblob get restype=service&comp=properties #3 'Unexpected Error' occurred (trying 10 times); sleep 5 seconds Connection timed out Forced DEBUG: careblob get restype=service&comp=properties -> attempt#4 processing: careblob get restype=service&comp=properties uri: 'https://careblob.blob.core.windows.net/?restype=service&comp=properties' Forced DEBUG: careblob get restype=service&comp=properties -> unexpectedError: true careblob get restype=service&comp=properties #4 'Unexpected Error' occurred (trying 10 times); sleep 7 seconds ......... Connection timed out Forced DEBUG: careblob get restype=service&comp=properties -> attempt#11 processing: careblob get restype=service&comp=properties uri: 'https://careblob.blob.core.windows.net/?restype=service&comp=properties' Forced DEBUG: careblob get restype=service&comp=properties -> unexpectedError: true careblob get restype=service&comp=properties #11 'Unexpected Error' occurred (tried 5 times)/exit Exception: /home/runner/work/azure-governance-visualizer/azure-governance-visualizer/tools/pwsh/AzGovVizParallel.ps1:11310 Line | 11310 | $storageAccounts | ForEach-Object -Parallel *** | ~~~~~~~~~ | Error - check the last console output for details