cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Kosenurm
Helper V
Helper V

Geolocation when on a VPN

Hi 

 

I have an app whereby the user's location is obtained using the standard Longitude and Latitude Location commands. 

 

However, when the user is on a VPN (and at other times), it doesn't display their location correctly. Is there an alternative to get geolocation / Premium Connector?

 

Thanks

K.

5 REPLIES 5
WarrenBelz
Super User
Super User

Hi @Kosenurm ,

Location.Latitude and Location.Longitude should be independent of any network - are you saying you are getting a different result on a VPN?

 

 

Kosenurm
Helper V
Helper V

Hi @WarrenBelz 

 

Yes, but it's intermittent. Sometimes the result is accurate, and sometimes it's widely inaccurate - showing 2 miles away from desired location (using the Harversine formula) when it's actually 70+.  

 

I was thinking it could be the VPN... or firewall?

 

Thanks

K.

HI @Kosenurm ,

Sorry, lost for answers as we do not use a VPN, but we do thousands of locations monthly looking for power poles which are always very accurate down to a few metres.

BCLS776
Super User
Super User

@Kosenurm, try checking the device's Location settings - this sounds like a hardware issue. Some devices use wifi signals as a way to locate and that method is imprecise. See if your device has a choice to use GPS/ GNSS only, which will give the best positioning as long as you have relatively unobstructed view of the sky. GPS does not perform well underground or in/near urban canyon.

 

Hope that helps,

Bryan

_________________________________________________________________________________________
Help the community help more users by choosing to "Accept as Solution" if this post met your needs. If you liked the post and want to show some appreciation, please give it a Thumbs Up.
WarrenBelz
Super User
Super User

@Kosenurm ,

Please note @BCLS776 's comments - I never thought of that as my users as under open sky generally away from all of that.

 

 

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

secondImage

Power Apps Community Call

Please join us on Wednesday, October 20th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (1,725)