Wrong geolocation in application insights

Vishal Goyal 81 Reputation points
2021-04-23T09:29:13.49+00:00

We have integrated Azure Application insights with our bot built using Azure bot framework using node.JS and typescript. Everything looks fine and we can see telemetry data flowing in.

The city and country names are shown wrong for users. Please see attached.

We have no users outside India. We are using bot telemetry SDK in our codebase.

When i used the below URL, it shows my city name correctly, but same is not being captured in application insights.

https://www.maxmind.com/en/locate-my-ip-address

90626-geolocation.png

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,397 questions
Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
871 questions
{count} votes

2 answers

Sort by: Most helpful
  1. bharathn-msft 5,101 Reputation points Microsoft Employee
    2021-06-17T20:04:55.227+00:00

    <<Resurfacing some of the information from comments to here for broader community usage>>

    @Vishal Goyal - Sorry for the experience , it is a known issue which our team is aware. Currently we have dependency on GeoLite2 from MaxMind , since the DB is owned by them to fix this our team is working with them.

    Post further evaluating this with our internal team , it has been called out that one of the workaround we can think of is for customers to enable ingestion of raw IP addresses into Application Insights and do their own geo lookup after the data is ingested.

    However, please be aware that our team is working on procuring an updated version of the IP mapping database. We do not have an ETA at this moment, will offer guidance on that soon.

    Please feel free to circle back if you have any additional queries. Thank you.

    1 person found this answer helpful.
    0 comments No comments

  2. Swami Polnati 0 Reputation points Microsoft Employee
    2024-12-11T00:00:07.4566667+00:00

    Thank you @bharathn-msft for the updates. We have encountered similar issue with the incorrect geo location. This Application Insights returns false positive data for country, province and city for few clients only. This make the situation even tough with the reliability of the data. We are using this for a very important service and need help.

    Is there any service/ end point that we can use for look up based on the LAT, LONG? Please share if there are any.

    Thank you!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.