Some fun using resource graph to hunt down duplicate private endpoints in a virtual network.
The query I use is at the bottom of …
[https://github.com/johnthebrit/RandomStuff/blob/master/ResourceGraph/ExampleARG.txt].
Resource Graph is a powerful Azure service that enables you to discover and query all resources in your Azure subscription. It can be used to quickly identify potential issues and opportunities for optimization. In this article, we will look at how you can use Resource Graph to detect and identify duplicate private endpoints in your Azure subscription.
Duplicate private endpoints can lead to unnecessary costs and potential security risks. Therefore, it's important to identify, audit and resolve any such issues as soon as possible. With Resource Graph, you can quickly find any duplicate private endpoints in your subscription. You can then use this information to investigate further, and take the appropriate action to resolve the issue.
The process of using Resource Graph to find duplicate private endpoints involves running a query to find all private endpoints in your subscription. You can then use the results of this query to identify and investigate any duplicate private endpoints. This will allow you to resolve any issues quickly, and ensure the security and efficiency of your subscription.
17 key moments in this video
Apr 9, 2023 — Learn to group, stagger, paginate, and query in parallel to avoid requests being throttled by Azure Resource Graph.
Jul 27, 2020 — What if I create a second Private Endpoint for a single Azure resource and register it to the same Azure Private DNS zone?