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 / Out of Office - Get Ma...
Power Automate
Unanswered

Out of Office - Get Mail Tips for all mailbox (V2)" not working for scenario

(0) ShareShare
ReportReport
Posted on by
Get Mail Tips for a mailbox (V2)" limitation:
 
I wanted to setup a Flow to turn on my OOO when a public holiday is coming up.  The setup would setup a scheduled OOO on the day of the holiday and switch off again, via schedule. I also wanted the flow to detect if the OOO was already setup, Say I'm on annual leave, but a public holiday falls in the middle of my leave I don't want it overridden by the flow.
 
OBJECTIVE
- Auto-set Out of Office (OOO) for [Country] public holidays
- Check existing OOO before setting new one
- Prevent duplicate/conflicting OOO messages
FLOW COMPONENTS
1. Holiday Check:
  - HTTP request for [Country] holidays
  - Filter upcoming holidays
  - Get next holiday
  - Check if within 5 days
2. OOO Timing (Central European Time):
  - Start: Midnight on holiday (23:00 UTC previous day)
  - End: Midnight after holiday (22:59 UTC same day)
3. OOO Status Check:
  Wanted:
  - Check current OOO status
  - Check scheduled OOO
  - Prevent conflicts
  Available (Get Mail Tips):
  - Only shows current OOO status
  - Returns empty if no active OOO
  - Cannot see scheduled OOO
LIMITATIONS
- Get Mail Tips insufficient for requirements
- Cannot detect future scheduled OOO
- Risk of overlap with manual OOO settings
Note: Full OOO status check would require Microsoft Graph API integration
 
Actual Behavior:
1. Returns "automaticReplies":
   - Empty object {} if no OOO is currently active
   - Current OOO message if active

2. Does NOT show:
   - Scheduled OOO settings
   - Future scheduled messages
   - Start/End times
Sample Output( when, When automatic replies enabled but have set a future scheduled start and end time):
```json
{
 "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.mailTips)",
 "value": [
 {
   "mailboxFull": false,
   "externalMemberCount": 0,
   "totalMemberCount": 1,
   "deliveryRestricted": false,
   "isModerated": false,
   "maxMessageSize": 52428800,
   "emailAddress": {
     "name": "",
     "address": "email@domain.com"
   },
   "automaticReplies": {}
 }
 ]
}
```
 
Impact:
- Cannot detect scheduled future OOO
- May conflict with manually set scheduled OOO
- Limited to current active/inactive status only
Would you like this documentation in a specific format?
Categories:
I have the same question (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

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

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard