PrateekKumarSingh / AzViz

⚡ ☁ Azure Visualizer aka 'AzViz' : A #powershell module to automatically generate Azure resource topology diagrams by just typing a PowerShell cmdlet and passing the name of one or more Azure Resource groups
MIT License
587 stars 146 forks source link

Fix Microsoft managed loadbalancer in other tenant issue #47

Open theneedyguy opened 3 years ago

theneedyguy commented 3 years ago

When trying to visualize a resource group with a resource which is dependent on Microsoft managed services like a load balancer for an Azure Firewall, Network Watcher will include them in the topology. Get-AzResource will then try to get the resource outside of this tenant which causes the process to abort because of authentication issues.

The Microsoft managed load balancers start with the name gsa-

moiaune commented 3 years ago

When a Azure Public IP is deployed for Bastion it will also have an association with a Microsoft managed loadbalancer, but it is then called "DeploymentLB".