Closed ksagala closed 8 months ago
@JulianHayward can you advise?
@ksagala please proceed as per the output:
parameters ref
Example:
.\pwsh\azgovvizparallel.ps1 -SubscriptionId4AzContext 'GUID-of-the-subscription'
You may also check if/that the resource provider microsoft.network
is registered for the subscription
@ksagala did this resolve it for you?
Thanks for your advice, with -SubscriptionId4AzContext script works properly for me.
AzGovViz version atest version of AzGovViz 6.3.7
CodeRunPlatform local desktop posh shell 7.4.1
Describe the bug When I execute the script, I have an error and script finish without any data exported:
0 'Available Private Endpoint Types' - Please use another Subscription for the AzContext (current subscriptionId: 'xxx') -> use parameter: -SubscriptionId4AzContext ''
Exception: C:\Scripts\AzureGovWiz\AzGovVizParallel.ps1:34266
Line |
34266 | Throw $throwmsg
| '
~~~| 0 'Available Private Endpoint Types' - Please use another Subscription for the AzContext (current | subscriptionId: '029cb112-892a-4684-9bf3-6a000a0bc1c1') -> use parameter: -SubscriptionId4AzContext | '