The Get Schedule Availability action retrieves availability information for users, groups, or rooms during a specified time period. It uses Microsoft Graph to determine whether participants are free, tentative, busy, out of the office, or working elsewhere. This information can be used by workflows to identify suitable meeting times before creating calendar events.
During the operation, the connector sends an availability request to Microsoft Graph and availability information is retrieved for the specified users, groups, or rooms. The requested time period is divided into intervals based on the specified granularity, then the availability statuses are calculated for each interval. As a result, a merged availability view and overall availability status are returned to the workflow.
The input parameters of the action are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| startDate | DateTime | Required | Start date and time of the period to evaluate. |
| endDate | DateTime | Required | End date and time of the period to evaluate. |
| timeZone | String | Optional | Time zone used when evaluating availability. Defaults to GMT Standard Time. The value can be any Microsoft-supported Windows time zone. |
| scheduleAddress | Array | Required | Email address of a user, group, or room whose availability will be retrieved. |
| availabilityViewInterval | Integer | Required | Granularity, in minutes, used to represent availability slots. Default value: 60. |
The output parameters of the action are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| availabilityView | String | Required |
Merged availability view represented as time slots. The values are:
|
| availability | String | Required |
Overall availability status for the requested period. The values are:
In the following example, at least one portion of the requested time range contains busy periods, resulting in an overall availability status of 2. {
"availabilityView": "00222000",
"availability": "2"
}
|
| scheduleItems | JSON | Required | Collection of calendar events that occur during the requested time period. Each object represents an event from the user's calendar and can include details used to determine availability. |
| workingHours | JSON | Required | The user's configured working hours, including available days of the week and working time ranges. This information can be used to identify preferred scheduling windows. |