Task Office365 - Get Calendar Events
The Office365 - Get calendar event(s) Task writes information about the calendars of a Microsoft 365 user, and their events, to the Task output, using an Office365 Connection. The fields work as filters: a field left empty is not used.

The Main settings, Flow, On error, Conditions and TimeOut tabs are the same for every Task; see Job - Tasks. This Task also has its own Output tab.
Office365 - Get calendar event(s) tab
Connection
- Connection: The Office365 Connection to use. The Task works on the calendars of the Microsoft 365 user the Connection signs in as. Click the Settings icon to open Manage Connections
Event parameters pattern
Text fields take a value or a pattern: * matches any characters, ? one character, # one digit, and [ starts a character list.
- Calendar name pattern: The calendars to read; not case-sensitive
- Event start date/time from: Only events that start at or after this time
- Event start date/time to: Only events that start at or before this time
- Is all day: Selected for all-day events only, cleared for other events only, indeterminate for both
- Event subject pattern: Only events whose subject matches
- Event location pattern: Only events whose location name matches
- Event body pattern: Only events whose body preview, the start of the body text, matches
- Reminder minutes pattern: Only events whose reminder time, in minutes, matches
- Importance: "None" for any importance, or "Low", "Normal" or "High"
- Response requested: Selected or cleared to filter on whether responses are requested; indeterminate for both
Variables are resolved in the text and date fields. For a recurring event, the Task lists its occurrences within the start dates set, or around the series dates when none are set.
Output tab
- Show information: The values to write. Calendar values: "Id", "Name", "Color", "CanShare", "CanViewPrivateItems", "CanEdit" and "Owner"; "Events" adds the events of each calendar, with the event values "EventId", "EventSubject", "EventStartDate", "EventEndDate", "EventBody", "EventLocation", "EventImportance", "EventAttendee", "EventRecurrence" and "IsAllDay". The calendar values and "Events" are selected by default
- Include field names: Puts the name of each value in front of it
- Field separator, Text qualifier and Line break: The characters used between and around the values
Output and errors
If Microsoft 365 rejects the request, or a calendar cannot be read, the error is written to standard error, and the Task reports success.