@pnp/cli-microsoft365 11.7.0-beta.293104a → 11.7.0-beta.71e4ac5

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.
@@ -1,85 +0,0 @@
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.
@@ -1,85 +0,0 @@
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.