Geolocation

Operations

Get IP To Location Preview

Applies to: S0 and S1 pricing tiers.

This service will return the ISO country code for the provided IP address. Developers can use this information to block or alter certain content based on geographical locations where the application is being viewed from.

Note: This service returns results from IANA and does not necessarily reflect the views of Microsoft Corporation. After May 1st 2019 service will return camelCased properties in the JSON response. Ensure that your application can parse and process responses with camelCased properties.