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 / GetCalendarView not us...
Power Automate
Unanswered

GetCalendarView not using BST

(1) ShareShare
ReportReport
Posted on by 33
Hi 
 
I have a flow that uses a HTTP request using a MSGraph URL GET command. It authenticates using Active Directory OAuth and outputs its data in JSON format. I am doing this to get the calendar events from various different room calendars.
 
https://graph.microsoft.com/v1.0/users/{RoomID}/calendarView?startDateTime={StartDateTime}&endDateTime={EndDateTime}
It works fine and provides a JSON output however it does not factor in BST and uses UTC. I have been looking into various ways to get it to use BST, one of which was using a header: 
Prefer: outlook.timezone="Europe/London"
but it still does not work. I have also used MS Copilot to try and help with this but could not get it to work, I got it stuck in a loop and then it suggested creating a custom connector but my understanding is not good enough to make that work.
 
Can anyone help me to figure out why this happens, but more importantly, how to get around it? Or is this more of an MS graph question?
Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,195 Most Valuable Professional on at
     
    Just to double check. How did you configure the header. Did you set it up like the below?
     
    {
      "Prefer": "outlook.timezone=\"Europe/London\""
    }


     
    Happy to help out 😁

    I share more #PowerAutomate and #SharePointOnline content on my Blog, LinkedIn, Bluesky profile or Youtube Channel
  • PA-15051058-0 Profile Picture
    33 on at
     
    Yes this is what I did but it errored, I got the impression it may be a bug within Power Automate but I was unsure. 
     
    I have ended up doing a compare between current time (UTC) and current time (UK) to determine if it is BST or not.
     
    Thanks for your reply though.
     
  • Expiscornovus Profile Picture
    33,195 Most Valuable Professional on at
    Hi,
     
    Can you share the error message?
     
    This will help troubleshooting your issue.
     
     
    Happy to help out 😁

    I share more #PowerAutomate and #SharePointOnline content on my Blog, LinkedIn, Bluesky profile or Youtube Channel

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 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard