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

Check for OOO with Mail Tips is not working

(0) ShareShare
ReportReport
Posted on by 674
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
    12,970 Super User 2025 Season 2 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,073 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
    674 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
    674 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

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

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard