Hi All,
the use case /scenario is: a windows application is installed on an azure VM . The application is not a web site, has no integration whatsoever with Azure, is installed as administrator/full trust.
During installation, we can detect that the installation host is an Azure VM. For support purposes, we would like to ascertain the region/location ( e.g., West US , East etc. ) of the host VM , for automated customer support.
Is there a way to query the host VM to get its region/location , without using the Azure REST APIs? without requiring Azure powershell ( they require .. subscriptions and certificates... which are unknown to the installer). Perhaps the Azure SDK has
something?
Amazon Web Services ( AWS) by contrast, provides a well known URL that returns this info via a simple HTTP get request without certificates etc., specifically http://169.254.169.254/latest/dynamic/instance-identity/document
Does Azure have this equivalent? easy to use, no additional downloads required, no certificates etc. ? i've tried Get-AzureLocation , Get-AzureSBLocation, but that requires knowing the subscription and having the certificate as well as azure powershell
, which the installer/app doesn't know/doesn't have./doesn't distribute.
TIA,
Martin