Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 72oWb8UfyrVbBTAprnN1Ea
Power Automate - Building Flows
Answered

Check for OOO with Mail Tips is not working

Like (0) ShareShare
ReportReport
Posted on 28 Mar 2025 17:10:41 by 607
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.
  • Verified answer
    CharlesBrewer Profile Picture
    607 on 28 Mar 2025 at 20:57:52
    Check for OOO with Mail Tips is not working
    I fixed it, I changed the Condition/expression : 
     
    Fx : empty(outputs('Get_mail_tips_for_a_mailbox_(V2)')?['body/value'][0]['automaticReplies']['message'])
  • CharlesBrewer Profile Picture
    607 on 28 Mar 2025 at 19:58:58
    Check for OOO with Mail Tips is not working
     
    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": ""
        }
      }
    ]
     
  • VictorIvanidze Profile Picture
    12,133 on 28 Mar 2025 at 19:40:56
    Check for OOO with Mail Tips is not working
     
    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.
  • Suggested answer
    David_MA Profile Picture
    10,199 Super User 2025 Season 1 on 28 Mar 2025 at 17:31:22
    Check for OOO with Mail Tips is not working
    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.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,513 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,636 Most Valuable Professional

Leaderboard
Loading complete