Get the dynamic private IP address of an Azure RM VM at deployment

This quick post covers how to return the private IP address of the first network interface as an output when deploying an Azure RM VM with a JSON template.  This is helpful when using dynamic IP address assignment for a vNet and not using public IP addresses.

In the JSON template, use the following for the outputs section: