Adds 'outlook event list' command. Closes #7083#7174
Closed
Adds 'outlook event list' command. Closes #7083#7174
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a new Microsoft Graph-backed Outlook command to list calendar events (m365 outlook event list), along with supporting utilities, tests, and documentation updates.
Changes:
- Added
outlook event listcommand with options for user/calendar selection, time range, timezone, properties, and filtering. - Introduced a reusable
calendarutility for resolving calendars by id/name (with corresponding unit tests). - Added docs page and sidebar entry for the new command.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/utils/calendar.ts | New utility to retrieve a user’s calendar by id/name via Microsoft Graph |
| src/utils/calendar.spec.ts | Unit tests for the new calendar utility |
| src/m365/outlook/commands/event/event-list.ts | Implements the new outlook event list command and request building logic |
| src/m365/outlook/commands/event/event-list.spec.ts | Tests for validation and request URL construction for the new command |
| src/m365/outlook/commands.ts | Registers new command name constant EVENT_LIST |
| docs/src/config/sidebars.ts | Adds the new command doc to the Outlook sidebar |
| docs/docs/cmd/outlook/event/event-list.mdx | Documentation page for m365 outlook event list |
Adam-it
requested changes
Apr 3, 2026
Member
Adam-it
left a comment
There was a problem hiding this comment.
@MartinM85 Amazing work 👏 I only noticed one thing regarding validating of the user identity, other than that for me looks like it's ready to go 🚀
Checked locally ✅
Member
|
Ready to merge 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #7083