Is there a way to check if someone is set as out of office?

We have an automation that is doing UI automation in Outlook to send emails because it needs to see if the “out of office” alert appears in the new email window after entering the recipient.

Ideally we’d like to get away from UI automation in Outlook, but would need a way to check the recipient’s out of office status either with 365 activities or some other method.

you can try getting the calendar of an user and see if they are marked as Out of office.
also have you looked at graph api

image

this is in beta but you can give it a try

also see rest - How to get the "out of office status" from the microsoft graph api? - Stack Overflow

1 Like