I have created a cloud flow to generate figures from accounts and display them as in a word template.
To give a general overview of what the flow is to achieve:
A breakdown / report of time utilisation on a per client basis.
On run, the user is prompted to enter a start and end date, as well as an account name for the flow to filter results to only the required account.
These results are then imported into a word document which is eventually saved within SharePoint, ready to be sent out.
The issue I have run into is; Location services are stopping the flow for being run, displaying the following error "Location services must be enabled for this flow to run". This Flow has run successfully before and has never required location to be enabled.
I've tried enabling Location on both windows and within browser, to no effect, and have also tried using different browsers to see if that changes anything to no luck.
Following on from earlier advice, I attempted to recreate the trigger, which only provide a temporary fix and although the location services error had been resolved, the flow was no longer accepting the provided date format at valid and wont progress further.
What could be causing this location services to be required? going down the route of recreating the trigger does not work and I would greatly appreciate any wisdom shared.
Hey!
ON the PowerAutomate community forum there are several posts about this https://powerusers.microsoft.com/t5/Building-Power-Apps/Location-services-must-be-enabled-to-run-this-flow/td-p/233123. From what I've been seeing, there are some fields that if you use them (like date, username) that are read from the device running the flow. Because it will require to read the device "data", you'll need to provide consent for the flow to access this data (which includes location):
https://learn.microsoft.com/en-us/power-automate/introduction-to-button-trigger-tokens
as you've stated, re-creating the trigger & granting consent on the browser should do the trick. You have another example at https://d365demystified.com/2022/10/29/instant-cloud-flow-asking-for-location-services-to-be-turned-on-quick-tip/
Regards,
André Arnaud de Cal...
291,965
Super User 2025 Season 1
Martin Dráb
230,836
Most Valuable Professional
nmaenpaa
101,156