web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / GPS Location Enable check
Power Apps
Answered

GPS Location Enable check

(0) ShareShare
ReportReport
Posted on by 116
Hi All,

Currently powerapps only asked Location permission at the first time use the app, but after that it won't asked to enable GPS anymore. If I want to create the app always keep asking the the location enabled from the user device, is it possible?

The idea is, when user re-open the app always check the GPS location off/on.

Thanks,
Categories:
I have the same question (0)
  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @daroot,

    If you want to the app always being asking the the location enabled from the user device, I afraid that there is no way to achieve your needs in PowerApps currently.

    Currently, within PowerApps, the Location permission would be asked only when a user accesses the location information for the first time.

    If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:

    https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

     

    Best regards,

    Kris

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I see the thread is several months old...

    but, why not test
    location.whatever>0.  

    If you are greater than 0, gps is turned on.

    if your are less than 0, well, no gps.

    hope that helps

  • kempra Profile Picture
    2 on at

    Here is my Solution: 

     

    // Viewpoint Home

    Set(_homeLocation;BingMaps.GetLocationByPoint(XX.XXX; YY.YYY));;

     

    // Get the current Position of the User
    Set(_currentLocation;Location.Latitude&","&Location.Longitude);;

     

    // Check have the calculate diastance a Error or is Blank

    Set(_gpsIsActiv; If(!IsBlankOrError(BingMaps.GetRoute(_companyLocation.point.coordinates.combined;

    _currentLocation).travelDistance); true; false));;

     

    in Amerika change the ; in ,

    becurse i life in Europa

     

    I hope this is helpfull

     

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 413

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
timl Profile Picture

timl 315 Super User 2026 Season 1

Last 30 days Overall leaderboard