pnp / pnp/cli-microsoft365

New command: `outlook calendargroup add`

Open
#7,103 4 comments 0 reactions 1 assignee View on GitHub

@MartinM85 is already working on this.

Since Jul 9, 2026.

good first issue new feature work in progress
Dominant language
TypeScript
Stars
1.5k
Forks
413
Avg merge
5d 6h
Merged PRs (30d)
21

Description

Usage

m365 outlook calendargroup add [options]

Description

Creates a new calendar group for a user

Options
Option Description
--userId [userId] ID of the user. Specify either userId or userName, but not both.
--userName [userName] UPN of the user. Specify either userId or userName, but not both.
--name <name> Name of the calendar group.
Examples

Create a new calendar group for the current user

m365 outlook calendargroup add --name "Personal Events" --userId "@meId"

Create a new calendar group for a user

m365 outlook calendargroup add --name "Personal Events" --userId "44288f7d-7710-4293-8c8e-36f310ed2e6a"

Create a new calendar group for a user specified by email

m365 outlook calendargroup add --name "Personal Events" --userName "john.doe@contoso.com"
Default properties

N/A

Additional Info

API: https://learn.microsoft.com/en-us/graph/api/user-post-calendargroups?view=graph-rest-1.0&tabs=http

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.