Home

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

Highlighted
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
Highlighted

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

 

 

 

Highlighted
Thanks so much for the reply.
With API option will i be able to use EWS with Exchange online?
Related Conversations
Office 365 users in teams meeting show as guest
henhen59 in Microsoft Teams on
1 Replies
Using comments in office documents in teams
eddyyeah in Microsoft Teams on
2 Replies
Teams Error Message at the initial start
ThomasSteibl in Microsoft Teams on
0 Replies
Unable to setup organisation
bob_barker in Microsoft Teams on
0 Replies