I want to create flow that checks to see if Out of Office is enabled, and to provide a decision from that result.
Thanks, my subsequent searches discopvered a blog here, that described exactly that.
https://flow.microsoft.com/de-de/blog/canada-mailboxes-aad/
Adding the below condition is the real 'gem' that allows the process to work:
@not(empty(body('Get_mail_tips_for_a_mailbox')?['AutomaticReplies']?['Message']))
Im my case, i am using this function to set my own Out Of Office automatically every fortnight, and if one already exists, to send me an email/push notification to ask whether it should 'overwrite' the existing settings?
Regards,
Ivan
Hi Ivan,
there is a preview action called "Get mail tips for a mailbox".
If i have understood correctly, you want to check if your mailbox has Autoresponse activated.
If so, you can check if the "Message"-Property of the "Get mail tips"-Action is empty:
Hope this helps.
Best regards
Stefan