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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create a 'Get automati...
Power Automate
Answered

Create a 'Get automatic replies configuration' action to check if its enabled (Out of Office)

(0) ShareShare
ReportReport
Posted on by 12

I want to create flow that checks to see if Out of Office is enabled, and to provide a decision from that result.

Categories:
I have the same question (0)
  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Ivan,

    there is a preview action called "Get mail tips for a mailbox".
    If i have understood correctly, you want to check if your mailbox has Autoresponse activated.
    If so, you can check if the "Message"-Property of the "Get mail tips"-Action is empty:
    2019-01-18_14-29-50.png

     

    2019-01-18_14-23-05.png

     

    Hope this helps.

    Best regards
    Stefan

  • Verified answer
    IvanD Profile Picture
    12 on at

    Thanks, my subsequent searches discopvered a blog here, that described exactly that.

    https://flow.microsoft.com/de-de/blog/canada-mailboxes-aad/

     

    Adding the below condition is the real 'gem' that allows the process to work:

    1. Add a condition.
    2. Select edit in advanced more and add an expression like: 
      @not(empty(body('Get_mail_tips_for_a_mailbox')?['AutomaticReplies']?['Message']))
    3. The above condition means that the next action will only run if there is an automatic message present.

    Im my case, i am using this function to set my own Out Of Office automatically every fortnight, and if one already exists, to send me an email/push notification to ask whether it should 'overwrite' the existing settings?

     

    Regards,
    Ivan

     

    1.  

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 573

#2
Valantis Profile Picture

Valantis 407

#3
11manish Profile Picture

11manish 387

Last 30 days Overall leaderboard