URGENT!! How to extract a report of all Azure VMs that have dynamic Private IP addresses assigned?

Sam Turner 1 Reputation point
2021-01-18T21:47:54.067+00:00

Members,

How can I extract a report of all Azure VMs that have dynamic Private IP addresses assigned? Preferably using Azure Resource Graph explorer. Please help.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,586 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Andreas Baumgarten 104K Reputation points MVP
    2021-01-19T07:09:03.76+00:00

    Sorry, my fault. I miss-read the "private/public" IP.

    Maybe this will help:
    https://mihai-albert.com/2020/10/01/get-the-list-of-all-azure-vms-with-all-their-private-and-public-ips/


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    1 person found this answer helpful.
    0 comments No comments

  2. Andreas Baumgarten 104K Reputation points MVP
    2021-01-18T22:33:11.54+00:00

    Maybe this is helpful:
    https://stackoverflow.com/questions/56758465/azure-resource-graph-query-to-find-all-vms-with-public-ips
    Or this one:
    https://learn.microsoft.com/en-us/azure/governance/resource-graph/samples/advanced?tabs=azure-cli#join-vmpip

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten