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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / using utcNow() results...
Power Automate
Unanswered

using utcNow() results in "Location Service must be enabled to run this flow" message

(0) ShareShare
ReportReport
Posted on by 292

I have an instant (manual) flow that runs great until I use the function utcNow() to get the current date/time.  

This only started happening a day or two ago.  I've used utcNow() successfully for years.  Initially it seemed to only occur in one specific env, but now I get the error in all environments.

 

Also once I delete the Action that calls utcNow(), the error persists. I  have to delete the trigger action and recreate it, then it runs fine.  Until I call utcNow() again.

Categories:
I have the same question (0)
  • Verified answer
    fchopo Profile Picture
    8,003 Moderator on at

    Hi @MelissaReed 

    In which action are you using the expression? I just did a test on my tenant (located in Europe) and is working fine (using utcNow() in a "Compose" action).

    Probably the error is related to using the Location trigger. Please be sure to set the status of the Location to On, then re-run Flow to see if the problem exists:

    18.PNG

     

     

    Regards,

    Ferran

     

  • MelissaReed Profile Picture
    292 on at

    I'm marking this as solved though I personally ran into a wall -- Location Services is blocked by the desktop administrator.  Working to get an exception on that.

     

    What I don't understand is why there isn't the ability to fetch current datetime without requiring Location Services.  I get that it's probably because it wants to know my time zone and that's convenient but those of us without the ability to turn on Location Services are stuck.      Is there such a function I could use as a workaround?

     

  • LP-16090700-0 Profile Picture
    2 on at
    Did you find any solution in the end? I am getting the same issue as my org also block Location Services.

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 hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard