pnp/cli-microsoft365

New command: `outlook calendargroup add`

Open

#7103 aperta il 16 gen 2026

Vedi su GitHub
 (4 commenti) (0 reazioni) (1 assegnatario)TypeScript (399 fork)auto 404
good first issuenew featurework in progress

Metriche repository

Star
 (1390 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor