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?