
Use Azure AD v2 authentication endpoint.There are currently two approaches to handle app registration and user authorization: You can then implement the API calls in your app.Īt runtime, get authorization from the user and make REST API requests to access the user's mailbox. To use the Outlook REST API to access a user's mailbox data, your app should handle registration and user authorization:įirst, register your app to get access to the Outlook REST API. For simplicity of reference, the rest of this article uses to include accounts in the domains, , MSN.com,, and. Test is by creating an event in just 5 minutes and now stop worrying if you left an OOO message or not.The rest of this article describes common information applicable to all subsets of the Outlook REST API. There is no action required in the”If no” case either since the Flow will just go to the end and stop. Note that there is no step to disabling the OOO since it is done while we enable it (End Time). I need to make sure that the Event Subject contains either AWAY or OUT keyword.Īnd finally, if this is the case we now enable the OOO (Out of Office notification) In that case, I usually have my “away event” at 8am or set for the whole day (00:00). I created a new Flow that I called “ Start out of office if event starts and contains OUT or AWAY”, which will trigger just before an event is about to start. That’s the only pre-requirements I need: a keyword that will be found in a calendar event. My Outlook calendar is well organised and events when I am “not working” on that environment, are clearly showing as “Francois away” or “Francois out”. Thanks to PowerAutomate (Flow) we can do that very simply. When I do the same action 3 times in a week, I need to change it so that it starts being more intelligent and automated.


We all know how to enable the Out of Office Notification in Outlook, this has not changed much from earlier version of Outlook. I also need to tell people emailing me that they should not expect a response that day. Each time I am “away” from that Office 365 environment, MS Teams (or still Skype for Business for some) will notify users that I am “away” automatically but what about emails sent to my inbox?

As a consultant, I use many email address and work for a client on different days/hours that are predefined in advance.
