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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / List out of office lon...
Power Automate
Unanswered

List out of office longer than 30 days

(0) ShareShare
ReportReport
Posted on by

Hi,

I'm trying to get a flow working that will run every day checking if an event (out of office) is starting that will continue for at least 30 days. I figured out the Get calendar view of events (V3) is good place to start as I get this output:

ghelgesson_0-1713276462506.png

It lists both start and end date as long as start date is on the day the flow is running. I can't figure out how to make use of the start/end dates to sort out the ones I want to pick up. Can I use dateDifference expression somehow? or what would be the best option? 

In the end I want to automate sending an email if I discover any employee that will have an extended leave, so if you think I should use a completely different approach I'm all ears!  

Categories:
I have the same question (0)
  • DJ_Jamba Profile Picture
    2,837 Super User 2025 Season 2 on at
    Re: List out of office longer than 30 days

    Hi @ghelgesson 

    Are you sure you will be able to check the calendars from other staff in your organisation?
    Usually it's not possible unless the account you are running your flow under, has express permission to read all of the other user's calendars.

  • ghelgesson Profile Picture
    on at
    Re: List out of office longer than 30 days

    Hmm.. you might be right about that, at the same time the out of office status is there for everyone to see. I should be able to read that somehow, but realize the normal outlook connector only can give me my own calendars. 

    😞

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
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard