Skip to main content

Notifications

Dynamics 365 Community / Forums / Field Service forum / Field Service agent ge...
Field Service forum
Suggested answer

Field Service agent geolocation tracking not working if the FS Mobile app is running in the background

Posted on by 40

We are trying to implement live geolocation tracking of Field service agent using Dynamics 365 Field Service. We have set up resources and enabled live location tracking of the resources.

We have also assigned a Field Service Resource security role to the user. We have observed that in iPhone the location gets track only if we sign-out and sign-in to Dynamics 365 Field Service Mobile App and in Anoroid phone, the location only gets track if we open the FS app and stay on that app. If we lock the phone then Geolocation tracking records are not creating in the CRM even if the location of the resource is chaning. 

We are using Dynamics 365 Field Service Mobile app (Power Platform app) not the Xmarin app.

pastedimage1604668591706v2.png

You can see a comparison between them. Both support real-time sharing tech location. 

 https://community.dynamics.com/365/fieldservice/f/dynamics-365-for-field-service-forum 

pastedimage1604668327797v1.png

So expecting the real-time location of the resource even if the phone is lock or FS app running in the background. What we are missing here? Does it not give real-time location if the resource is traveling and the app is running in the background?

Please help us to understand how exactly this works?

 

Thanks in advanced!

  • Suggested answer
    RE: Field Service agent geolocation tracking not working if the FS Mobile app is running in the background

    Hi Vaibhav,

    I understand it has been quite sometime on this thread, but just to confirm the answer with you:

    The location records get created in these conditions:

    1- Once you turn on location tracking

    2- When moving outside of 800 meters radius of the location you are in,  records will get created every 60 seconds until you stop.

    4- After you stop, a few more records will probably get created as it settles and then it will stop

    It effectively created a geofence around wherever you arrive and won't track until you leave the geofence.

    In case you see a different behavior from the above Vaibhav, please feel free to contact Microsoft Support where we can further investigate any unexpected behaviors.

    Hope this helps

  • Vaibhav Ghorpade Profile Picture
    Vaibhav Ghorpade 40 on at
    RE: Field Service agent geolocation tracking not working if the FS Mobile app is running in the background

    Thanks for your response.

    We are not using Woodford solution. We are using Microsoft Dynamics 365 Field Service Power Platform app.  

    So the article shared by you docs.microsoft.com/.../geofencing won't work for us.

    However, we observed that location tracking works if we change our location. Geolocation Tracking entity records get created even if the phone is locked and the app is running in the background.

    Initially, this was not consistent. So really want to understand when exactly location get tracked. When location change event triggers and creates the tracking record?

    Thanks for your help in advanced.

  • Suggested answer
    RE: Field Service agent geolocation tracking not working if the FS Mobile app is running in the background

    Hi Vaibhav,

    What is the Android version you are using and the field service mobile app version?

    Please ensure you have configured the location tracking as per the article below:

    docs.microsoft.com/.../geofencing

    Is there any limitation on the location permissions that are given to the App, for example is it set to "Allow only while using the app" ?

    source.android.com/.../background-location-access

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

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,818 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,147 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans