outOfOfficeSettings resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents the out of office settings related to the presence of a user.

Properties

Property Type Description
message String The out of office message that the user configured on Outlook client (Automatic Replies (Out of Office)) or the Teams client (Schedule out of office).
isOutOfOffice Boolean True if either:
  • It is currently in the out of office time window configured on the Outlook or Teams client.
  • There is currently an event on the user's calendar that's marked as Show as Out of Office

Otherwise, false.

JSON representation

The following is a JSON representation of the resource.

{
  "message": "String",
  "isOutOfOffice": "Boolean"
}