This Azure Graph query will list all the VNIC’s in all subscriptions that aren’t connected to Virtual Machines, Network Security Group or Private EndPoints.
-
-
Azure – List all Resource in a subscription.
Here’s a quick script, it loop through the subscriptions matching the -like String, it will then get give all the resource group names, resource names and types, this then output to a .csv file. This will give you an output like this