Home

List users who have currently setup out of office including start date and end date

Patrick Rote
Occasional Contributor
Hi All,
Just wondering if it's possible to list users who have setup out of office .
Is the any API I can use? e.g
microsof Graph API or does exchange online have an API?
Looked at ms graph didn't see anything that I can use.
I came across using
Get-MailboxAutoReplyConfiguration with PowerShell :thinking_face: but no sure if I can automate it as I want it displayed in SharePoint
Any help would be appreciated
2 Replies

You could run a powershell that runs the following:

Get-Mailbox | Get-MailboxAutoReplyConfiguration

And then use PnP PowerShell to create a list item in SharePoint.

 

https://msdn.microsoft.com/en-us/pnp_powershell/pnp-powershell-overview

 

Or if you want an API:

https://msdn.microsoft.com/en-us/library/office/hh532559(v=exchg.80).aspx

 

 

 

Thanks so much for the reply.
With API option will i be able to use EWS with Exchange online?
Related Conversations
Extentions Synchronization
Deleted in Discussions on
3 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
36 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies