Adds command outlook calendargroup set. Closes #7109#7183
Merged
Conversation
outlook calendargroup set. Closes #7109
There was a problem hiding this comment.
Pull request overview
Adds the new Microsoft Graph-backed command m365 outlook calendargroup set to update a user’s Outlook calendar group name, including command implementation, tests, and documentation updates to surface it in the CLI docs.
Changes:
- Implemented
outlook calendargroup setcommand logic (Graph PATCH + lookup by name when needed) - Added a comprehensive Mocha test suite covering validation and app-only vs delegated behaviors
- Documented the command and added it to the Outlook docs sidebar and command name registry
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| src/m365/outlook/commands/calendargroup/calendargroup-set.ts | New command implementation to update a calendar group (by id or name) for me or a specified user |
| src/m365/outlook/commands/calendargroup/calendargroup-set.spec.ts | New test suite covering validation, URL selection logic, scope checks, and error handling |
| src/m365/outlook/commands.ts | Registers the new command name outlook calendargroup set for lazy-loading |
| docs/src/config/sidebars.ts | Adds the command page to the Outlook → calendargroup section in the docs nav |
| docs/docs/cmd/outlook/calendargroup/calendargroup-set.mdx | New documentation page for the command (usage/options/permissions/examples) |
Adam-it
reviewed
Apr 7, 2026
Member
Adam-it
left a comment
There was a problem hiding this comment.
@MathijsVerbeeck Awesome work so far 👏. I only added a few comments we could recheck before we proceed further
Checked locally ✅
src/m365/outlook/commands/calendargroup/calendargroup-set.spec.ts
Outdated
Show resolved
Hide resolved
Adam-it
requested changes
Apr 7, 2026
70a1e25 to
0d52a95
Compare
Contributor
Author
|
Hi @Adam-it Thanks for the review. I resolved your comments. |
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 #7109