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 / Check for OOO with Mai...
Power Automate
Answered

Check for OOO with Mail Tips is not working

(0) ShareShare
ReportReport
Posted on by 697
So I have a flow that needs to check if a user is OOO to determine which path it takes. I looked this up and several posts/sites tell me to do it like this : 
 
 
This is my Condition : 
The function is : body('Get_mail_tips_for_a_mailbox_(V2)')['value'][0]['automaticReplies']?['message'] and of course null is just null.
I did two tests, one on a person who I know is OOO (and has a message setup) and one who is not, but they both registered as being OOO.
 
I double checked the outputs for the person who is not OOO and automaticreplies is blank : 
 
Did I miss something? Thanks.
Categories:
I have the same question (0)
  • Suggested answer
    David_MA Profile Picture
    14,605 Super User 2026 Season 1 on at
    If the value is null, that means automatic replies are not enabled. I do this differently with a call to the Graph AI to see if they have automatic replies set up:
     
    You can find the Uri, body, scheme and expression I used in the attached file. I find the Graph API call is more reliable than the Power Automate action.
  • VictorIvanidze Profile Picture
    13,081 on at
     
    I've reproduced your flow and it works as it should.  Try to use the classic editor.
    If it will not work, please provide the output of "Get mail tips..." action when OOF is on.
  • CharlesBrewer Profile Picture
    697 on at
     
    Switched to classic and still the same problem. Here is the output (email removed) : 
     
    [
      {
        "mailboxFull": false,
        "externalMemberCount": 0,
        "totalMemberCount": 1,
        "deliveryRestricted": false,
        "isModerated": false,
        "maxMessageSize": 37748736,
        "emailAddress": {
          "name": "",
          "address": "removed@removed.com"
        },
        "automaticReplies": {
          "message": ""
        }
      }
    ]
     
  • Verified answer
    CharlesBrewer Profile Picture
    697 on at
    I fixed it, I changed the Condition/expression : 
     
    Fx : empty(outputs('Get_mail_tips_for_a_mailbox_(V2)')?['body/value'][0]['automaticReplies']['message'])

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 801

#2
Valantis Profile Picture

Valantis 602

#3
Haque Profile Picture

Haque 581

Last 30 days Overall leaderboard