Skip to content

Adds command outlook calendargroup set. Closes #7109#7183

Merged
Adam-it merged 1 commit intopnp:mainfrom
MathijsVerbeeck:add-outlook-calendargroup-set
Apr 9, 2026
Merged

Adds command outlook calendargroup set. Closes #7109#7183
Adam-it merged 1 commit intopnp:mainfrom
MathijsVerbeeck:add-outlook-calendargroup-set

Conversation

@MathijsVerbeeck
Copy link
Copy Markdown
Contributor

Closes #7109

@MathijsVerbeeck MathijsVerbeeck changed the title Adds command ´outlook calendargroup set´. Closes #7109 Adds command outlook calendargroup set. Closes #7109 Apr 2, 2026
@Adam-it Adam-it self-assigned this Apr 3, 2026
@Adam-it Adam-it requested a review from Copilot April 3, 2026 21:38
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 set command 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)

Copy link
Copy Markdown
Member

@Adam-it Adam-it left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MathijsVerbeeck Awesome work so far 👏. I only added a few comments we could recheck before we proceed further

Checked locally ✅

Image

@Adam-it Adam-it marked this pull request as draft April 7, 2026 21:07
@MathijsVerbeeck MathijsVerbeeck force-pushed the add-outlook-calendargroup-set branch from 70a1e25 to 0d52a95 Compare April 8, 2026 08:18
@MathijsVerbeeck MathijsVerbeeck marked this pull request as ready for review April 8, 2026 08:19
@MathijsVerbeeck
Copy link
Copy Markdown
Contributor Author

Hi @Adam-it

Thanks for the review. I resolved your comments.

Copy link
Copy Markdown
Member

@Adam-it Adam-it left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🔥

@Adam-it
Copy link
Copy Markdown
Member

Adam-it commented Apr 9, 2026

Ready to merge 🚀

@Adam-it Adam-it merged commit 86dc519 into pnp:main Apr 9, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New command: outlook calendargroup set

3 participants