cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Karol
Helper II
Helper II

Working remote from another location than 'default'

Dear Users,

 

I have a question about Security and Office 365. Can I implement something like a PowerApp/Flow (or something else), which will be triggered to the user, which is working from another location than default (remote home/office)? 

I mean, imagine, if someone is working remotely from home in UK, the company office is in UK too. Sometimes our employees are going for holidays to, for example Taiwan, and are logging from that location. I would like to give a chance to this employee to report, that he is going to work from another location than 'default'


May I achieve that somehow? Any ideas or good-practices?

 

Thank you in advance,
Karol

1 ACCEPTED SOLUTION

Accepted Solutions
v-qiaqi-msft
Community Support
Community Support

Hi @Karol,

I think you could achieve this using the Maps control.

Maps require the Geospatial Services setting to be turned on in your environment.

 

You should store the Longitude and latitude of the UK home and compare it with the current location, once it conflicts, you should navigate the user to the confirm screen where he/she should report the current location

1). Set the OnStart property of the App as below:

If(Location.Longitude<>UK.Longitude,Navigate(COnfirmScreen))

Insert the Maps control and set the CurrentLocation property as true.

Set the CurrentLocationLatitude property as below:

Location.Latitude

Set the CurrentLocationLongitude property as below:

Location.Longitude

vqiaqimsft_0-1643964251039.png

 

 

Best Regards,
Qi

View solution in original post

2 REPLIES 2
Karol
Helper II
Helper II

I'm refreshing (kindly ;))

v-qiaqi-msft
Community Support
Community Support

Hi @Karol,

I think you could achieve this using the Maps control.

Maps require the Geospatial Services setting to be turned on in your environment.

 

You should store the Longitude and latitude of the UK home and compare it with the current location, once it conflicts, you should navigate the user to the confirm screen where he/she should report the current location

1). Set the OnStart property of the App as below:

If(Location.Longitude<>UK.Longitude,Navigate(COnfirmScreen))

Insert the Maps control and set the CurrentLocation property as true.

Set the CurrentLocationLatitude property as below:

Location.Latitude

Set the CurrentLocationLongitude property as below:

Location.Longitude

vqiaqimsft_0-1643964251039.png

 

 

Best Regards,
Qi

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (5,583)