@pnp/cli-microsoft365 11.7.0-beta.b67a258 → 11.7.0-beta.ba78c1f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.devproxy/api-specs/sharepoint.yaml +53 -0
- package/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/config.js +1 -0
- package/dist/m365/context/commands/option/option-list.js +6 -1
- package/dist/m365/entra/commands/resourcenamespace/resourcenamespace-list.js +6 -0
- package/dist/m365/entra/commands/user/user-license-add.js +2 -1
- package/dist/m365/entra/commands/user/user-license-list.js +4 -9
- package/dist/m365/entra/commands/user/user-license-remove.js +2 -1
- package/dist/m365/external/commands/connection/connection-list.js +6 -0
- package/dist/m365/outlook/commands/calendar/calendar-add.js +85 -0
- package/dist/m365/outlook/commands/calendar/calendar-get.js +71 -0
- package/dist/m365/outlook/commands/calendar/calendar-remove.js +100 -0
- package/dist/m365/outlook/commands/calendar/calendar-set.js +132 -0
- package/dist/m365/outlook/commands/calendargroup/calendargroup-get.js +114 -0
- package/dist/m365/outlook/commands/calendargroup/calendargroup-set.js +115 -0
- package/dist/m365/outlook/commands/event/event-cancel.js +103 -0
- package/dist/m365/outlook/commands/event/event-list.js +115 -0
- package/dist/m365/outlook/commands/event/event-remove.js +104 -0
- package/dist/m365/outlook/commands.js +9 -0
- package/dist/m365/spfx/commands/SpfxCompatibilityMatrix.js +643 -0
- package/dist/m365/spfx/commands/project/DeployWorkflow.js +2 -2
- package/dist/m365/spfx/commands/project/project-azuredevops-pipeline-add.js +13 -1
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.23.0-rc.0.js +19 -0
- package/dist/m365/spfx/commands/project/project-doctor.js +2 -1
- package/dist/m365/spfx/commands/project/project-github-workflow-add.js +16 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002021_DEVDEP_rushstack_eslint_config.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002032_DEVDEP_typescript_eslint_parser.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015008_FILE_eslintrc_js.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015016_FILE_eslint_config_js.js +10 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.23.0-rc.0.js +84 -0
- package/dist/m365/spfx/commands/project/project-upgrade.js +12 -11
- package/dist/m365/spfx/commands/spfx-doctor.js +5 -631
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-add.js +13 -1
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-set.js +24 -3
- package/dist/m365/spo/commands/brandcenter/brandcenter-colors-list.js +59 -0
- package/dist/m365/spo/commands/file/file-archive.js +83 -0
- package/dist/m365/spo/commands/propertybag/propertybag-set.js +3 -9
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-add.js +20 -0
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-set.js +27 -2
- package/dist/m365/spo/commands/tenant/tenant-settings-set.js +5 -1
- package/dist/m365/spo/commands.js +2 -0
- package/dist/m365/teams/commands/chat/chat-message-list.js +43 -4
- package/dist/request.js +0 -16
- package/dist/utils/calendar.js +37 -0
- package/dist/utils/calendarGroup.js +22 -0
- package/dist/utils/entraApp.js +9 -2
- package/dist/utils/spfx.js +59 -0
- package/docs/docs/cmd/entra/license/license-list.mdx +19 -0
- package/docs/docs/cmd/entra/m365group/m365group-conversation-list.mdx +19 -0
- package/docs/docs/cmd/entra/m365group/m365group-conversation-post-list.mdx +19 -0
- package/docs/docs/cmd/entra/m365group/m365group-user-add.mdx +21 -0
- package/docs/docs/cmd/entra/m365group/m365group-user-list.mdx +19 -0
- package/docs/docs/cmd/entra/m365group/m365group-user-remove.mdx +21 -0
- package/docs/docs/cmd/entra/m365group/m365group-user-set.mdx +21 -0
- package/docs/docs/cmd/entra/roledefinition/roledefinition-add.mdx +19 -0
- package/docs/docs/cmd/entra/roledefinition/roledefinition-get.mdx +19 -0
- package/docs/docs/cmd/entra/roledefinition/roledefinition-list.mdx +19 -0
- package/docs/docs/cmd/entra/roledefinition/roledefinition-remove.mdx +21 -0
- package/docs/docs/cmd/entra/roledefinition/roledefinition-set.mdx +21 -0
- package/docs/docs/cmd/entra/siteclassification/siteclassification-disable.mdx +21 -0
- package/docs/docs/cmd/entra/siteclassification/siteclassification-enable.mdx +21 -0
- package/docs/docs/cmd/entra/siteclassification/siteclassification-get.mdx +19 -0
- package/docs/docs/cmd/entra/siteclassification/siteclassification-set.mdx +20 -0
- package/docs/docs/cmd/entra/user/user-groupmembership-list.mdx +19 -0
- package/docs/docs/cmd/entra/user/user-guest-add.mdx +19 -0
- package/docs/docs/cmd/entra/user/user-license-add.mdx +19 -0
- package/docs/docs/cmd/entra/user/user-license-list.mdx +18 -1
- package/docs/docs/cmd/entra/user/user-license-remove.mdx +21 -0
- package/docs/docs/cmd/entra/user/user-password-validate.mdx +12 -0
- package/docs/docs/cmd/entra/user/user-recyclebinitem-clear.mdx +21 -0
- package/docs/docs/cmd/entra/user/user-recyclebinitem-list.mdx +19 -0
- package/docs/docs/cmd/entra/user/user-recyclebinitem-remove.mdx +21 -0
- package/docs/docs/cmd/entra/user/user-recyclebinitem-restore.mdx +19 -0
- package/docs/docs/cmd/entra/user/user-registrationdetails-list.mdx +19 -0
- package/docs/docs/cmd/entra/user/user-session-revoke.mdx +21 -0
- package/docs/docs/cmd/entra/user/user-signin-list.mdx +19 -0
- package/docs/docs/cmd/exo/approleassignment/approleassignment-add.mdx +19 -0
- package/docs/docs/cmd/external/connection/connection-add.mdx +21 -0
- package/docs/docs/cmd/external/connection/connection-doctor.mdx +19 -0
- package/docs/docs/cmd/external/connection/connection-get.mdx +19 -0
- package/docs/docs/cmd/external/connection/connection-list.mdx +19 -0
- package/docs/docs/cmd/external/connection/connection-remove.mdx +21 -0
- package/docs/docs/cmd/external/connection/connection-schema-add.mdx +21 -0
- package/docs/docs/cmd/external/connection/connection-urltoitemresolver-add.mdx +21 -0
- package/docs/docs/cmd/external/item/item-add.mdx +19 -0
- package/docs/docs/cmd/file/convert/convert-pdf.mdx +21 -0
- package/docs/docs/cmd/file/file-add.mdx +21 -0
- package/docs/docs/cmd/file/file-copy.mdx +21 -0
- package/docs/docs/cmd/file/file-list.mdx +19 -0
- package/docs/docs/cmd/file/file-move.mdx +21 -0
- package/docs/docs/cmd/outlook/calendar/calendar-add.mdx +165 -0
- package/docs/docs/cmd/outlook/calendar/calendar-get.mdx +165 -0
- package/docs/docs/cmd/outlook/calendar/calendar-remove.mdx +86 -0
- package/docs/docs/cmd/outlook/calendar/calendar-set.mdx +178 -0
- package/docs/docs/cmd/outlook/calendargroup/calendargroup-get.mdx +125 -0
- package/docs/docs/cmd/outlook/calendargroup/calendargroup-set.mdx +83 -0
- package/docs/docs/cmd/outlook/event/event-cancel.mdx +85 -0
- package/docs/docs/cmd/outlook/event/event-list.mdx +245 -0
- package/docs/docs/cmd/outlook/event/event-remove.mdx +85 -0
- package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -1
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.mdx +14 -11
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-set.mdx +9 -6
- package/docs/docs/cmd/spo/brandcenter/brandcenter-colors-list.mdx +115 -0
- package/docs/docs/cmd/spo/file/file-archive.mdx +68 -0
- package/docs/docs/cmd/spo/propertybag/propertybag-set.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.mdx +13 -10
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-set.mdx +7 -4
- package/docs/docs/cmd/spo/tenant/tenant-settings-set.mdx +3 -0
- package/docs/docs/cmd/teams/chat/chat-message-list.mdx +23 -2
- package/npm-shrinkwrap.json +0 -7
- package/package.json +2 -1
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# outlook calendargroup get
|
|
6
|
+
|
|
7
|
+
Retrieves a calendar group for a user.
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 outlook calendargroup get [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`--id [id]`
|
|
19
|
+
: ID of the calendar group. Specify either `id` or `name`, but not both.
|
|
20
|
+
|
|
21
|
+
`--name [name]`
|
|
22
|
+
: Name of the calendar group. Specify either `id` or `name`, but not both.
|
|
23
|
+
|
|
24
|
+
`--userId [userId]`
|
|
25
|
+
: ID of the user. Specify either `userId` or `userName`, but not both. This option is required when using application permissions.
|
|
26
|
+
|
|
27
|
+
`--userName [userName]`
|
|
28
|
+
: UPN of the user. Specify either `userId` or `userName`, but not both. This option is required when using application permissions.
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
<Global />
|
|
32
|
+
|
|
33
|
+
## Permissions
|
|
34
|
+
|
|
35
|
+
<Tabs>
|
|
36
|
+
<TabItem value="Delegated">
|
|
37
|
+
|
|
38
|
+
| Resource | Permissions |
|
|
39
|
+
|-----------------|------------------------------------------------------------|
|
|
40
|
+
| Microsoft Graph | Calendars.ReadBasic, Calendars.Read, Calendars.Read.Shared |
|
|
41
|
+
|
|
42
|
+
</TabItem>
|
|
43
|
+
<TabItem value="Application">
|
|
44
|
+
|
|
45
|
+
| Resource | Permissions |
|
|
46
|
+
|-----------------|-------------------------------------|
|
|
47
|
+
| Microsoft Graph | Calendars.ReadBasic, Calendars.Read |
|
|
48
|
+
|
|
49
|
+
</TabItem>
|
|
50
|
+
</Tabs>
|
|
51
|
+
|
|
52
|
+
:::note
|
|
53
|
+
|
|
54
|
+
When using delegated permissions, specifying `userId` or `userName` for a different user requires the `Calendars.Read.Shared` or `Calendars.ReadWrite.Shared` scope. When the specified user matches the signed-in user, no shared scope is needed.
|
|
55
|
+
|
|
56
|
+
:::
|
|
57
|
+
|
|
58
|
+
## Examples
|
|
59
|
+
|
|
60
|
+
Get the calendar group specified by name for the signed-in user.
|
|
61
|
+
|
|
62
|
+
```sh
|
|
63
|
+
m365 outlook calendargroup get --name "Personal Events"
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
Get the calendar group specified by name for a user using application permissions.
|
|
67
|
+
|
|
68
|
+
```sh
|
|
69
|
+
m365 outlook calendargroup get --name "Personal Events" --userId "44288f7d-7710-4293-8c8e-36f310ed2e6a"
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Get the calendar group specified by id for a user using application permissions.
|
|
73
|
+
|
|
74
|
+
```sh
|
|
75
|
+
m365 outlook calendargroup get --id "AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAAABuC34AAA=" --userId "44288f7d-7710-4293-8c8e-36f310ed2e6a"
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## Response
|
|
79
|
+
|
|
80
|
+
<Tabs>
|
|
81
|
+
<TabItem value="JSON">
|
|
82
|
+
|
|
83
|
+
```json
|
|
84
|
+
{
|
|
85
|
+
"id": "AAMkAGE0MGM1Y2M5LWEzMmUtNGVlNy05MjRlLTk0YmYyY2I5NTM3ZAAuAAAAAAC_0WfqSjt_SqLtNkuO-bj1AQAbfYq5lmBxQ6a4t1fGbeYAAAAAAEOAAA=",
|
|
86
|
+
"name": "My Calendars",
|
|
87
|
+
"changeKey": "nfZyf7VcrEKLNoU37KWlkQAAA0x0+w==",
|
|
88
|
+
"classId": "0006f0b7-0000-0000-c000-000000000046"
|
|
89
|
+
}
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
</TabItem>
|
|
93
|
+
<TabItem value="Text">
|
|
94
|
+
|
|
95
|
+
```text
|
|
96
|
+
id name
|
|
97
|
+
----------------------------------------------------------------------------------------------------------------------- ----------------
|
|
98
|
+
AAMkAGE0MGM1Y2M5LWEzMmUtNGVlNy05MjRlLTk0YmYyY2I5NTM3ZAAuAAAAAAC_0WfqSjt_SqLtNkuO-bj1AQAbfYq5lmBxQ6a4t1fGbeYAAAAAAEOAAA= My Calendars
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
</TabItem>
|
|
102
|
+
<TabItem value="CSV">
|
|
103
|
+
|
|
104
|
+
```csv
|
|
105
|
+
id,name
|
|
106
|
+
AAMkAGE0MGM1Y2M5LWEzMmUtNGVlNy05MjRlLTk0YmYyY2I5NTM3ZAAuAAAAAAC_0WfqSjt_SqLtNkuO-bj1AQAbfYq5lmBxQ6a4t1fGbeYAAAAAAEOAAA=,My Calendars
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
</TabItem>
|
|
110
|
+
<TabItem value="Markdown">
|
|
111
|
+
|
|
112
|
+
```md
|
|
113
|
+
# outlook calendargroup get
|
|
114
|
+
|
|
115
|
+
Date: 3/20/2026
|
|
116
|
+
|
|
117
|
+
Property | Value
|
|
118
|
+
---------|-------
|
|
119
|
+
id | AAMkAGE0MGM1Y2M5LWEzMmUtNGVlNy05MjRlLTk0YmYyY2I5NTM3ZAAuAAAAAAC_0WfqSjt_SqLtNkuO-bj1AQAbfYq5lmBxQ6a4t1fGbeYAAAAAAEOAAA=
|
|
120
|
+
name | My Calendars
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
</TabItem>
|
|
124
|
+
</Tabs>
|
|
125
|
+
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# outlook calendargroup set
|
|
6
|
+
|
|
7
|
+
Updates a calendar group for a user.
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 outlook calendargroup set [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`--id [id]`
|
|
19
|
+
: ID of the calendar group. Specify either `id` or `name`, but not both.
|
|
20
|
+
|
|
21
|
+
`--name [name]`
|
|
22
|
+
: Name of the calendar group. Specify either `id` or `name`, but not both.
|
|
23
|
+
|
|
24
|
+
`--userId [userId]`
|
|
25
|
+
: ID of the user. Specify either `userId` or `userName`, but not both.
|
|
26
|
+
|
|
27
|
+
`--userName [userName]`
|
|
28
|
+
: UPN of the user. Specify either `userId` or `userName`, but not both.
|
|
29
|
+
|
|
30
|
+
`--newName <newName>`
|
|
31
|
+
: New name of the calendar group.
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
<Global />
|
|
35
|
+
|
|
36
|
+
## Permissions
|
|
37
|
+
|
|
38
|
+
<Tabs>
|
|
39
|
+
<TabItem value="Delegated">
|
|
40
|
+
|
|
41
|
+
| Resource | Permissions |
|
|
42
|
+
|-----------------|----------------------------------------|
|
|
43
|
+
| Microsoft Graph | Calendars.ReadWrite, Calendars.ReadWrite.Shared |
|
|
44
|
+
|
|
45
|
+
</TabItem>
|
|
46
|
+
<TabItem value="Application">
|
|
47
|
+
|
|
48
|
+
| Resource | Permissions |
|
|
49
|
+
|-----------------|----------------------|
|
|
50
|
+
| Microsoft Graph | Calendars.ReadWrite |
|
|
51
|
+
|
|
52
|
+
</TabItem>
|
|
53
|
+
</Tabs>
|
|
54
|
+
|
|
55
|
+
:::note
|
|
56
|
+
|
|
57
|
+
When using delegated permissions, specifying `userId` or `userName` for a different user requires the `Calendars.ReadWrite.Shared` scope. When the specified user matches the signed-in user, no shared scope is needed.
|
|
58
|
+
|
|
59
|
+
:::
|
|
60
|
+
|
|
61
|
+
## Examples
|
|
62
|
+
|
|
63
|
+
Update the calendar group specified by name for the current user.
|
|
64
|
+
|
|
65
|
+
```sh
|
|
66
|
+
m365 outlook calendargroup set --name "Personal Evts" --newName "Personal Events"
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Update the calendar group specified by id for a user.
|
|
70
|
+
|
|
71
|
+
```sh
|
|
72
|
+
m365 outlook calendargroup set --id "AAMkADIxYjJiYm" --newName "Personal Events" --userId "44288f7d-7710-4293-8c8e-36f310ed2e6a"
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
Update the calendar group specified by name for a user specified by email.
|
|
76
|
+
|
|
77
|
+
```sh
|
|
78
|
+
m365 outlook calendargroup set --name "Personal Evts" --newName "Personal Events" --userName "john.doe@contoso.com"
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
## Response
|
|
82
|
+
|
|
83
|
+
The command won't return a response on success.
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import Global from '../../_global.mdx';
|
|
2
|
+
import TabItem from '@theme/TabItem';
|
|
3
|
+
import Tabs from '@theme/Tabs';
|
|
4
|
+
|
|
5
|
+
# outlook event cancel
|
|
6
|
+
|
|
7
|
+
Cancels a calendar event
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 outlook event cancel [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-i, --id <id>`
|
|
19
|
+
: ID of the event.
|
|
20
|
+
|
|
21
|
+
`--userId [userId]`
|
|
22
|
+
: ID of the user that owns the calendar. Specify either `userId` or `userName`, but not both. This option is required when using application permissions.
|
|
23
|
+
|
|
24
|
+
`--userName [userName]`
|
|
25
|
+
: UPN of the user that owns the calendar. Specify either `userId` or `userName`, but not both. This option is required when using application permissions.
|
|
26
|
+
|
|
27
|
+
`--comment [comment]`
|
|
28
|
+
: A comment about the cancellation sent to all the attendees.
|
|
29
|
+
|
|
30
|
+
`-f, --force`
|
|
31
|
+
: Don't prompt for confirmation.
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
<Global />
|
|
35
|
+
|
|
36
|
+
## Permissions
|
|
37
|
+
|
|
38
|
+
<Tabs>
|
|
39
|
+
<TabItem value="Delegated">
|
|
40
|
+
|
|
41
|
+
| Resource | Permissions |
|
|
42
|
+
|-----------------|---------------------|
|
|
43
|
+
| Microsoft Graph | Calendars.ReadWrite |
|
|
44
|
+
|
|
45
|
+
</TabItem>
|
|
46
|
+
<TabItem value="Application">
|
|
47
|
+
|
|
48
|
+
| Resource | Permissions |
|
|
49
|
+
|-----------------|---------------------|
|
|
50
|
+
| Microsoft Graph | Calendars.ReadWrite |
|
|
51
|
+
|
|
52
|
+
</TabItem>
|
|
53
|
+
</Tabs>
|
|
54
|
+
|
|
55
|
+
## Remarks
|
|
56
|
+
|
|
57
|
+
:::info
|
|
58
|
+
|
|
59
|
+
This action is only available to the organizer of the event.
|
|
60
|
+
|
|
61
|
+
:::
|
|
62
|
+
|
|
63
|
+
## Examples
|
|
64
|
+
|
|
65
|
+
Cancel a calendar event from the current logged-in user without a comment
|
|
66
|
+
|
|
67
|
+
```sh
|
|
68
|
+
m365 outlook event cancel --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAENAAAiIsqMbYjsT5e-T7KzowPTAAAa_WKzAAA=
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Cancel a calendar event from a specific user with a comment
|
|
72
|
+
|
|
73
|
+
```sh
|
|
74
|
+
m365 outlook event cancel --userName "john.doe@contoso.com" --comment "Cancelling for this week due to all hands" --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAENAAAiIsqMbYjsT5e-T7KzowPTAAAa_WKzAAA=
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
Cancel a calendar event from a specific user specified by user ID
|
|
78
|
+
|
|
79
|
+
```sh
|
|
80
|
+
m365 outlook event cancel --userId 6799fd1a-723b-4eb7-8e52-41ae530274ca --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAENAAAiIsqMbYjsT5e-T7KzowPTAAAa_WKzAAA=
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
## Response
|
|
84
|
+
|
|
85
|
+
The command won't return a response on success.
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# event list
|
|
6
|
+
|
|
7
|
+
Retrieves a list of events from a specific calendar of a user.
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 outlook event list [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`--userId [userId]`
|
|
19
|
+
: ID of the user. Specify either `userId` or `userName`, but not both.
|
|
20
|
+
|
|
21
|
+
`--userName [userName]`
|
|
22
|
+
: UPN of the user. Specify either `userId` or `userName`, but not both.
|
|
23
|
+
|
|
24
|
+
`--calendarId [calendarId]`
|
|
25
|
+
: ID of the calendar. Specify either `calendarId` or `calendarName`, but not both.
|
|
26
|
+
|
|
27
|
+
`--calendarName [calendarName]`
|
|
28
|
+
: Name of the calendar. Specify either `calendarId` or `calendarName`, but not both.
|
|
29
|
+
|
|
30
|
+
`--startDateTime [startDateTime]`
|
|
31
|
+
: Time indicating the inclusive start of a time range when the event starts.
|
|
32
|
+
|
|
33
|
+
`--endDateTime [endDateTime]`
|
|
34
|
+
: Time indicating the exclusive end of a time range when the event starts.
|
|
35
|
+
|
|
36
|
+
`--timeZone [timeZone]`
|
|
37
|
+
: The time zone for the event start and end times.
|
|
38
|
+
|
|
39
|
+
`--properties [properties]`
|
|
40
|
+
: Comma-separated list of properties to retrieve.
|
|
41
|
+
|
|
42
|
+
`--filter [filter]`
|
|
43
|
+
: OData filter to apply when retrieving the events.
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
<Global />
|
|
47
|
+
|
|
48
|
+
## Remarks
|
|
49
|
+
|
|
50
|
+
:::info
|
|
51
|
+
|
|
52
|
+
When you specify a value for `timeZone`, consider the options of the [time zone list](https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11#time-zones), or [additional time zone list](https://learn.microsoft.com/en-us/graph/api/resources/datetimetimezone?view=graph-rest-1.0#additional-time-zones)
|
|
53
|
+
|
|
54
|
+
:::
|
|
55
|
+
|
|
56
|
+
## Permissions
|
|
57
|
+
|
|
58
|
+
<Tabs>
|
|
59
|
+
<TabItem value="Delegated">
|
|
60
|
+
|
|
61
|
+
| Resource | Permissions |
|
|
62
|
+
|-----------------|-------------------------------------|
|
|
63
|
+
| Microsoft Graph | Calendars.ReadBasic, Calendars.Read |
|
|
64
|
+
|
|
65
|
+
</TabItem>
|
|
66
|
+
<TabItem value="Application">
|
|
67
|
+
|
|
68
|
+
| Resource | Permissions |
|
|
69
|
+
|-----------------|-------------------------------------|
|
|
70
|
+
| Microsoft Graph | Calendars.ReadBasic, Calendars.Read |
|
|
71
|
+
|
|
72
|
+
</TabItem>
|
|
73
|
+
</Tabs>
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
## Examples
|
|
77
|
+
|
|
78
|
+
List all events for the current signed-in user from a calendar specified by id.
|
|
79
|
+
|
|
80
|
+
```sh
|
|
81
|
+
m365 outlook event list --userId "@meId" --calendarId "AAMkAGRkZ"
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
List all events for the current signed-in user from a calendar specified by id and return event times in Pacific Standard Time time zone.
|
|
85
|
+
|
|
86
|
+
```sh
|
|
87
|
+
m365 outlook event list --userId "@meId" --calendarId "AAMkAGRkZ" --timeZone 'Pacific Standard Time'
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
List only id, subject, start time and end time of all events for a specific user and specific calendar
|
|
91
|
+
|
|
92
|
+
```sh
|
|
93
|
+
m365 outlook event list --userName "john.doe@contoso.com" --calendarName "Calendar" --properties "id,subject,start,end"
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
Filter events for the current signed-in user
|
|
97
|
+
|
|
98
|
+
```sh
|
|
99
|
+
m365 outlook event list --userId "@meId" --calendarId "AAMkAGRkZ" --filter "contains(subject, 'contoso')"
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
List all events from specific date range
|
|
103
|
+
|
|
104
|
+
```sh
|
|
105
|
+
m365 outlook event list --userId "@meId" --calendarId "AAMkAGRkZ" --startDateTime '2026-01-01' --endDateTime '2026-01-31'
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
## Response
|
|
109
|
+
|
|
110
|
+
<Tabs>
|
|
111
|
+
<TabItem value="JSON">
|
|
112
|
+
|
|
113
|
+
```json
|
|
114
|
+
[
|
|
115
|
+
{
|
|
116
|
+
"id": "AQMkAGRlM2Y5YTkzLWI2NzAtNDczOS05YWMyLTJhZGY2MGExMGU0MgBGAAADSG3wPE27kUeySjmT5eRT8QcAfJKVL07AC6GQ5pgAAAA==",
|
|
117
|
+
"createdDateTime": "2026-03-29T13:57:47.9194633Z",
|
|
118
|
+
"lastModifiedDateTime": "2026-03-29T13:59:48.6329479Z",
|
|
119
|
+
"changeKey": "fJKVL07sbkmIfHqjbDnRgQAC54IeWA==",
|
|
120
|
+
"categories": [],
|
|
121
|
+
"transactionId": "localevent:c95ac848-7295-ad3e-ee1e-f3832b10bf3e",
|
|
122
|
+
"originalStartTimeZone": "Greenwich Standard Time",
|
|
123
|
+
"originalEndTimeZone": "Greenwich Standard Time",
|
|
124
|
+
"iCalUId": "040000008200E00074C5B7101A82E008000000006B71750684BFDC01000000000000000010000000872F2916501A8442A7DB64D2E460E3D9",
|
|
125
|
+
"uid": "040000008200E00074C5B7101A82E008000000006B71750684BFDC01000000000000000010000000872F2916501A8442A7DB64D2E460E3D9",
|
|
126
|
+
"reminderMinutesBeforeStart": 15,
|
|
127
|
+
"isReminderOn": true,
|
|
128
|
+
"hasAttachments": false,
|
|
129
|
+
"subject": "Retro",
|
|
130
|
+
"bodyPreview": "Retrospective",
|
|
131
|
+
"importance": "normal",
|
|
132
|
+
"sensitivity": "normal",
|
|
133
|
+
"isAllDay": false,
|
|
134
|
+
"isCancelled": false,
|
|
135
|
+
"isOrganizer": true,
|
|
136
|
+
"responseRequested": true,
|
|
137
|
+
"seriesMasterId": null,
|
|
138
|
+
"showAs": "busy",
|
|
139
|
+
"type": "singleInstance",
|
|
140
|
+
"webLink": "https://outlook.office365.com/owa/?itemid=AQMkAGRlM2Y%3D%3D&exvsurl=1&path=/calendar/item",
|
|
141
|
+
"onlineMeetingUrl": null,
|
|
142
|
+
"isOnlineMeeting": false,
|
|
143
|
+
"onlineMeetingProvider": "unknown",
|
|
144
|
+
"allowNewTimeProposals": true,
|
|
145
|
+
"occurrenceId": null,
|
|
146
|
+
"isDraft": false,
|
|
147
|
+
"hideAttendees": false,
|
|
148
|
+
"responseStatus": {
|
|
149
|
+
"response": "organizer",
|
|
150
|
+
"time": "0001-01-01T00:00:00Z"
|
|
151
|
+
},
|
|
152
|
+
"body": {
|
|
153
|
+
"contentType": "html",
|
|
154
|
+
"content": "<html>\r\\\n<head>\r\\\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\r\\\n</head>\r\\\n<body>\r\\\n<div class=\"elementToProof\" style=\"font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)\">\r\\\nRetrospective</div>\r\\\n</body>\r\\\n</html>\r\\\n"
|
|
155
|
+
},
|
|
156
|
+
"start": {
|
|
157
|
+
"dateTime": "2026-03-29T16:00:00.0000000",
|
|
158
|
+
"timeZone": "UTC"
|
|
159
|
+
},
|
|
160
|
+
"end": {
|
|
161
|
+
"dateTime": "2026-03-29T18:00:00.0000000",
|
|
162
|
+
"timeZone": "UTC"
|
|
163
|
+
},
|
|
164
|
+
"location": {
|
|
165
|
+
"displayName": "",
|
|
166
|
+
"locationType": "default",
|
|
167
|
+
"uniqueIdType": "unknown",
|
|
168
|
+
"address": {},
|
|
169
|
+
"coordinates": {}
|
|
170
|
+
},
|
|
171
|
+
"locations": [],
|
|
172
|
+
"recurrence": null,
|
|
173
|
+
"attendees": [],
|
|
174
|
+
"organizer": {
|
|
175
|
+
"emailAddress": {
|
|
176
|
+
"name": "John Doe",
|
|
177
|
+
"address": "john.doe@contoso.com"
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
"onlineMeeting": null
|
|
181
|
+
}
|
|
182
|
+
]
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
</TabItem>
|
|
186
|
+
<TabItem value="Text">
|
|
187
|
+
|
|
188
|
+
```text
|
|
189
|
+
id subject
|
|
190
|
+
-------------------------------------------------------------------------------------------------------------------------------------------------------- -------
|
|
191
|
+
AQMkAGRlM2Y5YTkzLWI2NzAtNDczOS05YWMyLTJhZGY2MGExMGU0MgBGAAADSG3wPE27kUeySjmT5eRT8QcAfJKVL07AC6GQ5pgAAAA== Retro
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
</TabItem>
|
|
195
|
+
<TabItem value="CSV">
|
|
196
|
+
|
|
197
|
+
```csv
|
|
198
|
+
id,createdDateTime,lastModifiedDateTime,changeKey,transactionId,originalStartTimeZone,originalEndTimeZone,iCalUId,uid,reminderMinutesBeforeStart,isReminderOn,hasAttachments,subject,bodyPreview,importance,sensitivity,isAllDay,isCancelled,isOrganizer,responseRequested,seriesMasterId,showAs,type,webLink,onlineMeetingUrl,isOnlineMeeting,onlineMeetingProvider,allowNewTimeProposals,occurrenceId,isDraft,hideAttendees,recurrence,onlineMeeting
|
|
199
|
+
AQMkAGRlM2Y5YTkzLWI2NzAtNDczOS05YWMyLTJhZGY2MGExMGU0MgBGAAADSG3wPE27kUeySjmT5eRT8QcAfJKVL07AC6GQ5pgAAAA==,2026-03-29T13:57:47.9194633Z,2026-03-29T13:59:48.6329479Z,fJKVL07sbkmIfHqjbDnRgQAC54IeWA==,localevent:c95ac848-7295-ad3e-ee1e-f3832b10bf3e,Greenwich Standard Time,Greenwich Standard Time,040000008200E00074C5B7101A82E008000000006B71750684BFDC01000000000000000010000000872F2916501A8442A7DB64D2E460E3D9,040000008200E00074C5B7101A82E008000000006B71750684BFDC01000000000000000010000000872F2916501A8442A7DB64D2E460E3D9,15,1,0,Retro,Retrospective,normal,normal,0,0,1,1,,busy,singleInstance,https://outlook.office365.com/owa/?itemid=AQMkAGRlM2Y=1&path=/calendar/item,,0,unknown,1,,0,0,,
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
</TabItem>
|
|
203
|
+
<TabItem value="Markdown">
|
|
204
|
+
|
|
205
|
+
```md
|
|
206
|
+
# outlook event list --debug "false" --verbose "false" --userId "893f9116-e024-4bc6-8e98-54c245129485" --startDateTime "2026-03-29" --endDateTime "2026-03-31"
|
|
207
|
+
|
|
208
|
+
Date: 3/29/2026
|
|
209
|
+
|
|
210
|
+
## AQMkAGRlM2Y5YTkzLWI2NzAtNDczOS05YWMyLTJhZGY2MGExMGU0MgBGAAADSG3wPE27kUeySjmT5eRT8QcAfJKVL07AC6GQ5pgAAAA==
|
|
211
|
+
|
|
212
|
+
Property | Value
|
|
213
|
+
---------|-------
|
|
214
|
+
id | AQMkAGRlM2Y5YTkzLWI2NzAtNDczOS05YWMyLTJhZGY2MGExMGU0MgBGAAADSG3wPE27kUeySjmT5eRT8QcAfJKVL07AC6GQ5pgAAAA==
|
|
215
|
+
createdDateTime | 2026-03-29T13:57:47.9194633Z
|
|
216
|
+
lastModifiedDateTime | 2026-03-29T13:59:48.6329479Z
|
|
217
|
+
changeKey | fJKVL07sbkmIfHqjbDnRgQAC54IeWA==
|
|
218
|
+
transactionId | localevent:c95ac848-7295-ad3e-ee1e-f3832b10bf3e
|
|
219
|
+
originalStartTimeZone | Greenwich Standard Time
|
|
220
|
+
originalEndTimeZone | Greenwich Standard Time
|
|
221
|
+
iCalUId | 040000008200E00074C5B7101A82E008000000006B71750684BFDC01000000000000000010000000872F2916501A8442A7DB64D2E460E3D9
|
|
222
|
+
uid | 040000008200E00074C5B7101A82E008000000006B71750684BFDC01000000000000000010000000872F2916501A8442A7DB64D2E460E3D9
|
|
223
|
+
reminderMinutesBeforeStart | 15
|
|
224
|
+
isReminderOn | true
|
|
225
|
+
hasAttachments | false
|
|
226
|
+
subject | Retro
|
|
227
|
+
bodyPreview | Retrospective
|
|
228
|
+
importance | normal
|
|
229
|
+
sensitivity | normal
|
|
230
|
+
isAllDay | false
|
|
231
|
+
isCancelled | false
|
|
232
|
+
isOrganizer | true
|
|
233
|
+
responseRequested | true
|
|
234
|
+
showAs | busy
|
|
235
|
+
type | singleInstance
|
|
236
|
+
webLink | https://outlook.office365.com/owa/?itemid=AQMkAGRlM2Y5YTkzLWI2NzAtNDczOS05YWMyLTJhZGY2MGExMGU0MgBGAAADSG3wPE27kUeySjmT5eRT8QcAfJKVL07sbkmIfHqjbDnRgQAAAgENAAAAfJKVL07sbkmIfHqjbDnRgQAC6GQ5pgAAAA%3D%3D&exvsurl=1&path=/calendar/item
|
|
237
|
+
isOnlineMeeting | false
|
|
238
|
+
onlineMeetingProvider | unknown
|
|
239
|
+
allowNewTimeProposals | true
|
|
240
|
+
isDraft | false
|
|
241
|
+
hideAttendees | false
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
</TabItem>
|
|
245
|
+
</Tabs>
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import Global from '../../_global.mdx';
|
|
2
|
+
import TabItem from '@theme/TabItem';
|
|
3
|
+
import Tabs from '@theme/Tabs';
|
|
4
|
+
|
|
5
|
+
# outlook event remove
|
|
6
|
+
|
|
7
|
+
Removes an event from a calendar
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 outlook event remove [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-i, --id <id>`
|
|
19
|
+
: ID of the event.
|
|
20
|
+
|
|
21
|
+
`--userId [userId]`
|
|
22
|
+
: ID of the user that owns the calendar. Specify either `userId` or `userName`, but not both. This option is required when using application permissions.
|
|
23
|
+
|
|
24
|
+
`--userName [userName]`
|
|
25
|
+
: UPN of the user that owns the calendar. Specify either `userId` or `userName`, but not both. This option is required when using application permissions.
|
|
26
|
+
|
|
27
|
+
`--permanent`
|
|
28
|
+
: Permanently remove the event, don't send it to the recycle bin.
|
|
29
|
+
|
|
30
|
+
`-f, --force`
|
|
31
|
+
: Don't prompt for confirmation.
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
<Global />
|
|
35
|
+
|
|
36
|
+
## Permissions
|
|
37
|
+
|
|
38
|
+
<Tabs>
|
|
39
|
+
<TabItem value="Delegated">
|
|
40
|
+
|
|
41
|
+
| Resource | Permissions |
|
|
42
|
+
|-----------------|---------------------|
|
|
43
|
+
| Microsoft Graph | Calendars.ReadWrite |
|
|
44
|
+
|
|
45
|
+
</TabItem>
|
|
46
|
+
<TabItem value="Application">
|
|
47
|
+
|
|
48
|
+
| Resource | Permissions |
|
|
49
|
+
|-----------------|---------------------|
|
|
50
|
+
| Microsoft Graph | Calendars.ReadWrite |
|
|
51
|
+
|
|
52
|
+
</TabItem>
|
|
53
|
+
</Tabs>
|
|
54
|
+
|
|
55
|
+
## Remarks
|
|
56
|
+
|
|
57
|
+
:::warning
|
|
58
|
+
|
|
59
|
+
When using the `--permanent` option, the event will be permanently deleted and cannot be recovered.
|
|
60
|
+
|
|
61
|
+
:::
|
|
62
|
+
|
|
63
|
+
## Examples
|
|
64
|
+
|
|
65
|
+
Remove a calendar event from the current logged-in user
|
|
66
|
+
|
|
67
|
+
```sh
|
|
68
|
+
m365 outlook event remove --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAENAAAiIsqMbYjsT5e-T7KzowPTAAAa_WKzAAA=
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Permanently remove a calendar event from a specific user
|
|
72
|
+
|
|
73
|
+
```sh
|
|
74
|
+
m365 outlook event remove --userName "john.doe@contoso.com" --permanent --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAENAAAiIsqMbYjsT5e-T7KzowPTAAAa_WKzAAA=
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
Remove a calendar event from a specific user specified by user ID
|
|
78
|
+
|
|
79
|
+
```sh
|
|
80
|
+
m365 outlook event remove --userId 6799fd1a-723b-4eb7-8e52-41ae530274ca --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAENAAAiIsqMbYjsT5e-T7KzowPTAAAa_WKzAAA=
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
## Response
|
|
84
|
+
|
|
85
|
+
The command won't return a response on success.
|
|
@@ -45,7 +45,7 @@ m365 spfx project upgrade [options]
|
|
|
45
45
|
|
|
46
46
|
## Remarks
|
|
47
47
|
|
|
48
|
-
The `spfx project upgrade` command helps you upgrade your SharePoint Framework project to the specified version. If no version is specified, the command will upgrade to the latest version of the SharePoint Framework it supports (v1.
|
|
48
|
+
The `spfx project upgrade` command helps you upgrade your SharePoint Framework project to the specified version. If no version is specified, the command will upgrade to the latest version of the SharePoint Framework it supports (v1.23.0-rc.0).
|
|
49
49
|
|
|
50
50
|
This command doesn't change your project files. Instead, it gives you a report with all steps necessary to upgrade your project to the specified version of the SharePoint Framework. Changing project files is error-prone, especially when it comes to updating your solution's code. This is why at this moment, this command produces a report that you can use yourself to perform the necessary updates and verify that everything is working as expected.
|
|
51
51
|
|