AZURE: List ALL used IPs (public and private) within our subscription/tenant, no matter what they are assigned to (static or dynamic)...

Dirk Melvin 6 Reputation points
2021-06-07T22:51:35.78+00:00

I have searched most of the day today, and I have found where lots have asked how to get a VMs public or private IP, or how to find available IPs, etc.

However, what I am looking for is a way to get a complete list of ALL IPs that are in use within our subscription/tenant. No matter what the IP is assigned to (VM, EndPoint, service, etc.).

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,336 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Sam Cogan 10,772 Reputation points MVP
    2021-06-08T08:46:02.593+00:00

    You can use Azure Resource Graph to do this, but you are going to need a fairly complex query. Here is a great article that details how to do something similar with VM IP's.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.