Get calendar events
List events between two dates.
Command in the Microsoft 365 toolkit · id ooa.microsoft365/list_events · 9 inputs (2 required), 2 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Access token | Credential | No | Microsoft Graph access token from the vault; or leave it empty and choose a connection that signs in, which gets and renews the token. | |
| Start | DateTime | Yes | Start of the period (UTC). | |
| End | DateTime | Yes | End of the period (UTC). | |
| Subject contains | String | No | Only events whose title contains this text. | |
| Time zone | String | No | UTC | Time zone of the returned start and end times, e.g. Europe/London. |
| Calendar | String | No | Read this calendar instead of the default one. | |
| Mailbox | String | No | me | Mailbox: me, or a user's email address (needs application permission). |
| Endpoint address | String | No | https://graph.microsoft.com/v1.0 | Graph endpoint; change only for national clouds or testing. |
| Maximum results | Number | No | 1000 | At most this many events (0: every event in the period). |
Outputs
| Output | Type | What it is |
|---|---|---|
| table | Table | Columns: id, subject, start, end, location, organizer. |
| count | Number | How many rows the table has. |