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.
Describe the bug
Script throws an error of a specific subscription where it failes to collect the available Private Endpoint Types.
Screenshots
Returned 0 'Available Private Endpoint Types' for location australiacentral
Returned 0 'Available Private Endpoint Types' for location australiasoutheast
Returned 0 'Available Private Endpoint Types' for location koreasouth
Returned 0 'Available Private Endpoint Types' for location japanwest
0 'Available Private Endpoint Types' - Please use another Subscription for the AzContext (current subscriptionId: '9783e0a3-5495-xxxx-xxxx-xxxxxxxxxxxx') -> use parameter: -SubscriptionId4AzContext ''
Exception: /home/runner294/actions-runner/_work/azure-governance-visualizer/azure-governance-visualizer/tools/pwsh/AzGovVizParallel.ps1:34240
Line |
34240 | Throw $throwmsg
| ~~~
| 0 'Available Private Endpoint Types' - Please use another Subscription
| for the AzContext (current subscriptionId:
| '9783e0a3-5495-49ae-84f2-491e9eaa9e6b') -> use parameter:
| -SubscriptionId4AzContext ''
Error: Error: The process '/usr/bin/pwsh' failed with exit code 1
Additional context
Add any other context about the problem here.
AzGovViz version v6.3.4
CodeRunPlatform GitHub Actions
Describe the bug Script throws an error of a specific subscription where it failes to collect the available Private Endpoint Types.
Screenshots![image](https://github.com/JulianHayward/Azure-MG-Sub-Governance-Reporting/assets/84451910/ecbe0daf-6b63-4e06-8f61-e8fd92b4f2e9)
Returned 0 'Available Private Endpoint Types' for location australiacentral Returned 0 'Available Private Endpoint Types' for location australiasoutheast Returned 0 'Available Private Endpoint Types' for location koreasouth Returned 0 'Available Private Endpoint Types' for location japanwest 0 'Available Private Endpoint Types' - Please use another Subscription for the AzContext (current subscriptionId: '9783e0a3-5495-xxxx-xxxx-xxxxxxxxxxxx') -> use parameter: -SubscriptionId4AzContext ''
Exception: /home/runner294/actions-runner/_work/azure-governance-visualizer/azure-governance-visualizer/tools/pwsh/AzGovVizParallel.ps1:34240
Line |
34240 | Throw $throwmsg
| '
Error: Error: The process '/usr/bin/pwsh' failed with exit code 1
~~~| 0 'Available Private Endpoint Types' - Please use another Subscription | for the AzContext (current subscriptionId: | '9783e0a3-5495-49ae-84f2-491e9eaa9e6b') -> use parameter: | -SubscriptionId4AzContext 'Additional context Add any other context about the problem here.