title: Obtaining Azure VM scale set private IP addresses through Azure REST API
body: <p>Can you get a list of Azure VM scale set instance private IP addresses through the Azure REST API?</p>
  
  <p>It seems that Microsoft does not publish the VMSS IP configuration objects under the normal methods for retrieving a list of "ipConfigurations".</p>
  
  <p>Here are some relevant API doc pages:</p>
  
  <p><a href="https://docs.microsoft.com/en-us/rest/api/compute/virtualmachinescalesets/listall" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/rest/api/compute/virtualmachinescalesets/listall</a>
  <a href="https://docs.microsoft.com/en-us/rest/api/compute/virtualmachinescalesets/get" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/rest/api/compute/virtualmachinescalesets/get</a>
  <a href="https://docs.microsoft.com/en-us/rest/api/compute/virtualmachines/listall" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/rest/api/compute/virtualmachines/listall</a></p>
  
  <p>In particular, this one only gives you the IP configuration of VMs, not VMSSes:
  <a href="https://docs.microsoft.com/en-us/rest/api/virtualnetwork/networkinterfaces/listall" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/rest/api/virtualnetwork/networkinterfaces/listall</a></p>