Skip to main content

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​

InputTypeRequiredDefaultWhat it is
Access tokenCredentialNoMicrosoft Graph access token from the vault; or leave it empty and choose a connection that signs in, which gets and renews the token.
StartDateTimeYesStart of the period (UTC).
EndDateTimeYesEnd of the period (UTC).
Subject containsStringNoOnly events whose title contains this text.
Time zoneStringNoUTCTime zone of the returned start and end times, e.g. Europe/London.
CalendarStringNoRead this calendar instead of the default one.
MailboxStringNomeMailbox: me, or a user's email address (needs application permission).
Endpoint addressStringNohttps://graph.microsoft.com/v1.0Graph endpoint; change only for national clouds or testing.
Maximum resultsNumberNo1000At most this many events (0: every event in the period).

Outputs​

OutputTypeWhat it is
tableTableColumns: id, subject, start, end, location, organizer.
countNumberHow many rows the table has.