Skip to content

Adds 'outlook calendargroup add' command. Closes #7103 - #7440

Open
MartinM85 wants to merge 2 commits into
pnp:mainfrom
MartinM85:feature/7103-outlook-calendargroup-add
Open

Adds 'outlook calendargroup add' command. Closes #7103#7440
MartinM85 wants to merge 2 commits into
pnp:mainfrom
MartinM85:feature/7103-outlook-calendargroup-add

Conversation

@MartinM85

Copy link
Copy Markdown
Contributor

Closes #7103

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a new Outlook workload command to the CLI for Microsoft 365 to create Microsoft Graph calendar groups for the signed-in user or a specified user, aligning with the requested outlook calendargroup add functionality in issue #7103.

Changes:

  • Introduces the outlook calendargroup add Graph command implementation with Zod-based option validation and delegated/app-only behavior.
  • Adds a full test suite covering validation, permission-mode behavior, and OData error handling.
  • Updates documentation (command reference + sidebar navigation) and registers the new command constant.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/m365/outlook/commands/calendargroup/calendargroup-add.ts Implements the new calendargroup add Graph command with schema validation and permission-mode handling.
src/m365/outlook/commands/calendargroup/calendargroup-add.spec.ts Adds unit tests for validation rules, request URL construction, permission scenarios, and error handling.
src/m365/outlook/commands.ts Registers the CALENDARGROUP_ADD command name constant.
docs/src/config/sidebars.ts Adds the new command doc page to the Outlook calendargroup sidebar section.
docs/docs/cmd/outlook/calendargroup/calendargroup-add.mdx Adds the command reference documentation, including options, permissions, examples, and response formats.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/m365/outlook/commands/calendargroup/calendargroup-add.spec.ts Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New command: outlook calendargroup add

2 participants