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

Iron 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?