@pnp/cli-microsoft365 11.7.0-beta.71e4ac5 → 11.7.0-beta.837cfea

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.
Files changed (86) hide show
  1. package/allCommands.json +1 -1
  2. package/allCommandsFull.json +1 -1
  3. package/dist/m365/entra/commands/user/user-license-add.js +2 -1
  4. package/dist/m365/entra/commands/user/user-license-list.js +4 -9
  5. package/dist/m365/entra/commands/user/user-license-remove.js +2 -1
  6. package/dist/m365/outlook/commands/calendar/calendar-set.js +132 -0
  7. package/dist/m365/outlook/commands/calendargroup/calendargroup-get.js +114 -0
  8. package/dist/m365/outlook/commands/calendargroup/calendargroup-set.js +115 -0
  9. package/dist/m365/outlook/commands/event/event-cancel.js +103 -0
  10. package/dist/m365/outlook/commands/event/event-remove.js +104 -0
  11. package/dist/m365/outlook/commands.js +5 -0
  12. package/dist/m365/spfx/commands/SpfxCompatibilityMatrix.js +643 -0
  13. package/dist/m365/spfx/commands/project/DeployWorkflow.js +2 -2
  14. package/dist/m365/spfx/commands/project/project-azuredevops-pipeline-add.js +13 -1
  15. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.23.0-rc.0.js +19 -0
  16. package/dist/m365/spfx/commands/project/project-doctor.js +2 -1
  17. package/dist/m365/spfx/commands/project/project-github-workflow-add.js +16 -1
  18. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002021_DEVDEP_rushstack_eslint_config.js +2 -2
  19. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002032_DEVDEP_typescript_eslint_parser.js +2 -2
  20. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015008_FILE_eslintrc_js.js +1 -1
  21. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015016_FILE_eslint_config_js.js +10 -0
  22. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.23.0-rc.0.js +84 -0
  23. package/dist/m365/spfx/commands/project/project-upgrade.js +12 -11
  24. package/dist/m365/spfx/commands/spfx-doctor.js +5 -631
  25. package/dist/m365/spo/commands/brandcenter/brandcenter-colors-list.js +59 -0
  26. package/dist/m365/spo/commands/propertybag/propertybag-set.js +3 -9
  27. package/dist/m365/spo/commands/tenant/tenant-settings-set.js +5 -1
  28. package/dist/m365/spo/commands.js +1 -0
  29. package/dist/m365/teams/commands/chat/chat-message-list.js +43 -4
  30. package/dist/request.js +0 -16
  31. package/dist/utils/entraApp.js +9 -2
  32. package/dist/utils/spfx.js +59 -0
  33. package/docs/docs/cmd/entra/license/license-list.mdx +19 -0
  34. package/docs/docs/cmd/entra/m365group/m365group-conversation-list.mdx +19 -0
  35. package/docs/docs/cmd/entra/m365group/m365group-conversation-post-list.mdx +19 -0
  36. package/docs/docs/cmd/entra/m365group/m365group-user-add.mdx +21 -0
  37. package/docs/docs/cmd/entra/m365group/m365group-user-list.mdx +19 -0
  38. package/docs/docs/cmd/entra/m365group/m365group-user-remove.mdx +21 -0
  39. package/docs/docs/cmd/entra/m365group/m365group-user-set.mdx +21 -0
  40. package/docs/docs/cmd/entra/roledefinition/roledefinition-add.mdx +19 -0
  41. package/docs/docs/cmd/entra/roledefinition/roledefinition-get.mdx +19 -0
  42. package/docs/docs/cmd/entra/roledefinition/roledefinition-list.mdx +19 -0
  43. package/docs/docs/cmd/entra/roledefinition/roledefinition-remove.mdx +21 -0
  44. package/docs/docs/cmd/entra/roledefinition/roledefinition-set.mdx +21 -0
  45. package/docs/docs/cmd/entra/siteclassification/siteclassification-disable.mdx +21 -0
  46. package/docs/docs/cmd/entra/siteclassification/siteclassification-enable.mdx +21 -0
  47. package/docs/docs/cmd/entra/siteclassification/siteclassification-get.mdx +19 -0
  48. package/docs/docs/cmd/entra/siteclassification/siteclassification-set.mdx +20 -0
  49. package/docs/docs/cmd/entra/user/user-groupmembership-list.mdx +19 -0
  50. package/docs/docs/cmd/entra/user/user-guest-add.mdx +19 -0
  51. package/docs/docs/cmd/entra/user/user-license-add.mdx +19 -0
  52. package/docs/docs/cmd/entra/user/user-license-list.mdx +18 -1
  53. package/docs/docs/cmd/entra/user/user-license-remove.mdx +21 -0
  54. package/docs/docs/cmd/entra/user/user-password-validate.mdx +12 -0
  55. package/docs/docs/cmd/entra/user/user-recyclebinitem-clear.mdx +21 -0
  56. package/docs/docs/cmd/entra/user/user-recyclebinitem-list.mdx +19 -0
  57. package/docs/docs/cmd/entra/user/user-recyclebinitem-remove.mdx +21 -0
  58. package/docs/docs/cmd/entra/user/user-recyclebinitem-restore.mdx +19 -0
  59. package/docs/docs/cmd/entra/user/user-registrationdetails-list.mdx +19 -0
  60. package/docs/docs/cmd/entra/user/user-session-revoke.mdx +21 -0
  61. package/docs/docs/cmd/entra/user/user-signin-list.mdx +19 -0
  62. package/docs/docs/cmd/exo/approleassignment/approleassignment-add.mdx +19 -0
  63. package/docs/docs/cmd/external/connection/connection-add.mdx +21 -0
  64. package/docs/docs/cmd/external/connection/connection-doctor.mdx +19 -0
  65. package/docs/docs/cmd/external/connection/connection-get.mdx +19 -0
  66. package/docs/docs/cmd/external/connection/connection-list.mdx +19 -0
  67. package/docs/docs/cmd/external/connection/connection-remove.mdx +21 -0
  68. package/docs/docs/cmd/external/connection/connection-schema-add.mdx +21 -0
  69. package/docs/docs/cmd/external/connection/connection-urltoitemresolver-add.mdx +21 -0
  70. package/docs/docs/cmd/external/item/item-add.mdx +19 -0
  71. package/docs/docs/cmd/file/convert/convert-pdf.mdx +21 -0
  72. package/docs/docs/cmd/file/file-add.mdx +21 -0
  73. package/docs/docs/cmd/file/file-copy.mdx +21 -0
  74. package/docs/docs/cmd/file/file-list.mdx +19 -0
  75. package/docs/docs/cmd/file/file-move.mdx +21 -0
  76. package/docs/docs/cmd/outlook/calendar/calendar-set.mdx +178 -0
  77. package/docs/docs/cmd/outlook/calendargroup/calendargroup-get.mdx +125 -0
  78. package/docs/docs/cmd/outlook/calendargroup/calendargroup-set.mdx +83 -0
  79. package/docs/docs/cmd/outlook/event/event-cancel.mdx +85 -0
  80. package/docs/docs/cmd/outlook/event/event-remove.mdx +85 -0
  81. package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -1
  82. package/docs/docs/cmd/spo/brandcenter/brandcenter-colors-list.mdx +115 -0
  83. package/docs/docs/cmd/spo/propertybag/propertybag-set.mdx +1 -1
  84. package/docs/docs/cmd/spo/tenant/tenant-settings-set.mdx +3 -0
  85. package/docs/docs/cmd/teams/chat/chat-message-list.mdx +23 -2
  86. package/package.json +2 -1
@@ -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,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.22.2).
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
 
@@ -0,0 +1,115 @@
1
+ import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
4
+
5
+ # spo brandcenter colors list
6
+
7
+ Lists the brand center colors
8
+
9
+ ## Usage
10
+
11
+ ```sh
12
+ m365 spo brandcenter colors list [options]
13
+ ```
14
+
15
+ ## Options
16
+
17
+ <Global />
18
+
19
+ ## Permissions
20
+
21
+ <Tabs>
22
+ <TabItem value="Delegated">
23
+
24
+ | Resource | Permissions |
25
+ |------------|---------------|
26
+ | SharePoint | AllSites.Read |
27
+
28
+ </TabItem>
29
+ <TabItem value="Application">
30
+
31
+ | Resource | Permissions |
32
+ |------------|----------------|
33
+ | SharePoint | Sites.Read.All |
34
+
35
+ </TabItem>
36
+ </Tabs>
37
+
38
+ ## Remarks
39
+
40
+ If the brand colors list has not been created yet in the Brand Center, the command will return an empty array.
41
+
42
+ ## Examples
43
+
44
+ List all brand center colors
45
+
46
+ ```sh
47
+ m365 spo brandcenter colors list
48
+ ```
49
+
50
+ ## Response
51
+
52
+ <Tabs>
53
+ <TabItem value="JSON">
54
+
55
+ ```json
56
+ [
57
+ {
58
+ "Title": "Primary",
59
+ "ColorCode": "#0078D4",
60
+ "IsVisible": true
61
+ },
62
+ {
63
+ "Title": "Secondary",
64
+ "ColorCode": "#FF4500",
65
+ "IsVisible": false
66
+ }
67
+ ]
68
+ ```
69
+
70
+ </TabItem>
71
+ <TabItem value="Text">
72
+
73
+ ```txt
74
+ Title ColorCode IsVisible
75
+ --------- --------- ---------
76
+ Primary #0078D4 true
77
+ Secondary #FF4500 false
78
+ ```
79
+
80
+ </TabItem>
81
+ <TabItem value="CSV">
82
+
83
+ ```csv
84
+ Title,ColorCode,IsVisible
85
+ Primary,#0078D4,true
86
+ Secondary,#FF4500,false
87
+ ```
88
+
89
+ </TabItem>
90
+ <TabItem value="Markdown">
91
+
92
+ ```md
93
+ # spo brandcenter colors list
94
+
95
+ Date: 4/4/2026
96
+
97
+ ## Primary
98
+
99
+ Property | Value
100
+ ---------|-------
101
+ Title | Primary
102
+ ColorCode | #0078D4
103
+ IsVisible | true
104
+
105
+ ## Secondary
106
+
107
+ Property | Value
108
+ ---------|-------
109
+ Title | Secondary
110
+ ColorCode | #FF4500
111
+ IsVisible | false
112
+ ```
113
+
114
+ </TabItem>
115
+ </Tabs>
@@ -30,7 +30,7 @@ m365 spo propertybag set [options]
30
30
 
31
31
  ## Remarks
32
32
 
33
- SharePoint Online supports setting property bag values only in classic sites. On modern sites you will get a _Site has NoScript enabled, and setting property bag values is not supported_ error.
33
+ If a site has NoScript enabled, setting property bag values may result in an _Access is denied_ error. To resolve this, you can configure a tenant-wide property to allow property bag updates on NoScript sites.
34
34
 
35
35
  ## Examples
36
36
 
@@ -267,6 +267,9 @@ m365 spo tenant settings set [options]
267
267
 
268
268
  `--SyncAadB2BManagementPolicy [SyncAadB2BManagementPolicy]`
269
269
  : Syncs Azure B2B Management Policies. Allowed values `true`, `false`. For more information, see [SharePoint and OneDrive integration with Microsoft Entra B2B](https://aka.ms/spo-b2b-integration).
270
+
271
+ `--AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled [AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled]`
272
+ : Enables or disables web property bag updates when DenyAddAndCustomizePages is enabled. Allowed values `true`, `false`.
270
273
  ```
271
274
 
272
275
  <Global />
@@ -18,8 +18,17 @@ m365 teams chat message list [options]
18
18
  `-i, --chatId <chatId>`
19
19
  : The ID of the chat conversation.
20
20
 
21
- `--endDateTime [endDateTime]`
21
+ `--createdEndDateTime [createdEndDateTime]`
22
22
  : Time indicating the exclusive end of a time range when the message was created.
23
+
24
+ `--endDateTime [endDateTime]`
25
+ : (deprecated. Use `createdEndDateTime` instead) Time indicating the exclusive end of a time range when the message was created.
26
+
27
+ `--modifiedStartDateTime [modifiedStartDateTime]`
28
+ : Time indicating the inclusive start of a time range when the message was last modified. Cannot be combined with `createdEndDateTime`.
29
+
30
+ `--modifiedEndDateTime [modifiedEndDateTime]`
31
+ : Time indicating the exclusive end of a time range when the message was last modified. Cannot be combined with `createdEndDateTime`.
23
32
  ```
24
33
 
25
34
  <Global />
@@ -54,7 +63,19 @@ m365 teams chat message list --chatId 19:2da4c29f6d7041eca70b638b43d45437@thread
54
63
  List messages from a Microsoft Teams chat conversation created before November 1, 2022
55
64
 
56
65
  ```sh
57
- m365 teams chat message list --chatId 19:2da4c29f6d7041eca70b638b43d45437@thread.v2 --endDateTime 2022-11-01T00:00:00Z
66
+ m365 teams chat message list --chatId 19:2da4c29f6d7041eca70b638b43d45437@thread.v2 --createdEndDateTime 2022-11-01T00:00:00Z
67
+ ```
68
+
69
+ List messages from a Microsoft Teams chat conversation modified after October 1, 2025
70
+
71
+ ```sh
72
+ m365 teams chat message list --chatId 19:2da4c29f6d7041eca70b638b43d45437@thread.v2 --modifiedStartDateTime 2025-10-01T00:00:00Z
73
+ ```
74
+
75
+ List messages from a Microsoft Teams chat conversation modified between October 1, 2025 and November 1, 2025
76
+
77
+ ```sh
78
+ m365 teams chat message list --chatId 19:2da4c29f6d7041eca70b638b43d45437@thread.v2 --modifiedStartDateTime 2025-10-01T00:00:00Z --modifiedEndDateTime 2025-11-01T00:00:00Z
58
79
  ```
59
80
 
60
81
  ## Response
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnp/cli-microsoft365",
3
- "version": "11.7.0-beta.71e4ac5",
3
+ "version": "11.7.0-beta.837cfea",
4
4
  "description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/api.js",
@@ -253,6 +253,7 @@
253
253
  "van Brug, Herco <hercovanbrug@hotmail.com>",
254
254
  "Van de Voorde, Tim <tim.vdv1995@hotmail.com>",
255
255
  "van Dijk, Mark <mark@ichicraft.com>",
256
+ "Van Horn, Matt <mvanhorn@users.noreply.github.com>",
256
257
  "van Hunen, Erwin <erwin.van.hunen@outlook.com>",
257
258
  "van Iersel, Cas <cvaniersel@portiva.nl>",
258
259
  "van Rousselt, Rick <rick.vanrousselt@outlook.com>",