@pnp/cli-microsoft365 11.7.0-beta.71c58f3 → 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 (47) hide show
  1. package/allCommands.json +1 -1
  2. package/allCommandsFull.json +1 -1
  3. package/dist/m365/outlook/commands/calendar/calendar-set.js +132 -0
  4. package/dist/m365/outlook/commands/calendargroup/calendargroup-get.js +114 -0
  5. package/dist/m365/outlook/commands.js +2 -0
  6. package/dist/m365/spfx/commands/SpfxCompatibilityMatrix.js +21 -6
  7. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.23.0-rc.0.js +19 -0
  8. package/dist/m365/spfx/commands/project/project-doctor.js +2 -1
  9. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002021_DEVDEP_rushstack_eslint_config.js +2 -2
  10. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002032_DEVDEP_typescript_eslint_parser.js +2 -2
  11. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015008_FILE_eslintrc_js.js +1 -1
  12. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015016_FILE_eslint_config_js.js +10 -0
  13. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.23.0-rc.0.js +84 -0
  14. package/dist/m365/spfx/commands/project/project-upgrade.js +12 -11
  15. package/dist/m365/spo/commands/brandcenter/brandcenter-colors-list.js +59 -0
  16. package/dist/m365/spo/commands/propertybag/propertybag-set.js +3 -9
  17. package/dist/m365/spo/commands/tenant/tenant-settings-set.js +5 -1
  18. package/dist/m365/spo/commands.js +1 -0
  19. package/dist/request.js +0 -16
  20. package/docs/docs/cmd/entra/m365group/m365group-user-add.mdx +21 -0
  21. package/docs/docs/cmd/entra/m365group/m365group-user-list.mdx +19 -0
  22. package/docs/docs/cmd/entra/m365group/m365group-user-remove.mdx +21 -0
  23. package/docs/docs/cmd/entra/m365group/m365group-user-set.mdx +21 -0
  24. package/docs/docs/cmd/entra/roledefinition/roledefinition-add.mdx +19 -0
  25. package/docs/docs/cmd/entra/roledefinition/roledefinition-get.mdx +19 -0
  26. package/docs/docs/cmd/entra/roledefinition/roledefinition-list.mdx +19 -0
  27. package/docs/docs/cmd/entra/roledefinition/roledefinition-remove.mdx +21 -0
  28. package/docs/docs/cmd/entra/roledefinition/roledefinition-set.mdx +21 -0
  29. package/docs/docs/cmd/entra/siteclassification/siteclassification-disable.mdx +21 -0
  30. package/docs/docs/cmd/entra/siteclassification/siteclassification-enable.mdx +21 -0
  31. package/docs/docs/cmd/entra/siteclassification/siteclassification-get.mdx +19 -0
  32. package/docs/docs/cmd/entra/siteclassification/siteclassification-set.mdx +20 -0
  33. package/docs/docs/cmd/external/connection/connection-add.mdx +21 -0
  34. package/docs/docs/cmd/external/connection/connection-doctor.mdx +19 -0
  35. package/docs/docs/cmd/external/connection/connection-get.mdx +19 -0
  36. package/docs/docs/cmd/external/connection/connection-list.mdx +19 -0
  37. package/docs/docs/cmd/external/connection/connection-remove.mdx +21 -0
  38. package/docs/docs/cmd/external/connection/connection-schema-add.mdx +21 -0
  39. package/docs/docs/cmd/external/connection/connection-urltoitemresolver-add.mdx +21 -0
  40. package/docs/docs/cmd/external/item/item-add.mdx +19 -0
  41. package/docs/docs/cmd/outlook/calendar/calendar-set.mdx +178 -0
  42. package/docs/docs/cmd/outlook/calendargroup/calendargroup-get.mdx +125 -0
  43. package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -1
  44. package/docs/docs/cmd/spo/brandcenter/brandcenter-colors-list.mdx +115 -0
  45. package/docs/docs/cmd/spo/propertybag/propertybag-set.mdx +1 -1
  46. package/docs/docs/cmd/spo/tenant/tenant-settings-set.mdx +3 -0
  47. package/package.json +1 -1
@@ -0,0 +1,178 @@
1
+ import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
4
+
5
+ # outlook calendar set
6
+
7
+ Updates a calendar for a user.
8
+
9
+ ## Usage
10
+
11
+ ```sh
12
+ m365 outlook calendar set [options]
13
+ ```
14
+
15
+ ## Options
16
+
17
+ ```md definition-list
18
+ `-i, --id <id>`
19
+ : ID of the calendar.
20
+
21
+ `-n, --name [name]`
22
+ : New name of the calendar.
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
+ `--calendarGroupId [calendarGroupId]`
31
+ : ID of the calendar group where the calendar belongs. Specify either `calendarGroupId` or `calendarGroupName`, but not both.
32
+
33
+ `--calendarGroupName [calendarGroupName]`
34
+ : Name of the calendar group where the calendar belongs. Specify either `calendarGroupId` or `calendarGroupName`, but not both.
35
+
36
+ `--color [color]`
37
+ : The color of the calendar in the UI. Allowed values: `auto`, `lightBlue`, `lightGreen`, `lightOrange`, `lightGray`, `lightYellow`, `lightTeal`, `lightPink`, `lightBrown`, `lightRed`, `maxColor`.
38
+
39
+ `--isDefault [isDefault]`
40
+ : Mark whether the calendar is the user's default calendar. Allowed values: `true`, `false`.
41
+ ```
42
+
43
+ <Global />
44
+
45
+ ## Permissions
46
+
47
+ <Tabs>
48
+ <TabItem value="Delegated">
49
+
50
+ | Resource | Permissions |
51
+ |-----------------|-------------------------------------------------|
52
+ | Microsoft Graph | Calendars.ReadWrite, Calendars.ReadWrite.Shared |
53
+
54
+ </TabItem>
55
+ <TabItem value="Application">
56
+
57
+ | Resource | Permissions |
58
+ |-----------------|---------------------|
59
+ | Microsoft Graph | Calendars.ReadWrite |
60
+
61
+ </TabItem>
62
+ </Tabs>
63
+
64
+ :::note
65
+
66
+ 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.
67
+
68
+ :::
69
+
70
+ ## Examples
71
+
72
+ Update the name of a calendar for the signed-in user.
73
+
74
+ ```sh
75
+ m365 outlook calendar set --id 'AAMkAGI2TQpZAAA=' --name 'Team planning'
76
+ ```
77
+
78
+ Change the color of a specific calendar for a user by UPN.
79
+
80
+ ```sh
81
+ m365 outlook calendar set --id 'AAMkAGI2TQpZAAA=' --userName 'john.doe@contoso.com' --color 'lightGreen'
82
+ ```
83
+
84
+ Mark a calendar as the default calendar for a user.
85
+
86
+ ```sh
87
+ m365 outlook calendar set --id 'AAMkAGI2TQpZAAA=' --userId 'b743445a-112c-4fda-9afd-05943f9c7b36' --isDefault true
88
+ ```
89
+
90
+ Update a calendar within a specific calendar group by name.
91
+
92
+ ```sh
93
+ m365 outlook calendar set --id 'AAMkAGI2TQpZAAA=' --name 'Team planning' --calendarGroupName 'My Calendars'
94
+ ```
95
+
96
+ ## Response
97
+
98
+ <Tabs>
99
+ <TabItem value="JSON">
100
+
101
+ ```json
102
+ {
103
+ "id": "AAMkAGI2TQpZAAA=",
104
+ "name": "Team planning",
105
+ "color": "auto",
106
+ "hexColor": "",
107
+ "isDefaultCalendar": false,
108
+ "changeKey": "DxYSthXJXEWwAQSYQnXvIgAAIxGttg==",
109
+ "canShare": true,
110
+ "canViewPrivateItems": true,
111
+ "canEdit": true,
112
+ "allowedOnlineMeetingProviders": [
113
+ "teamsForBusiness"
114
+ ],
115
+ "defaultOnlineMeetingProvider": "teamsForBusiness",
116
+ "isTallyingResponses": true,
117
+ "isRemovable": false,
118
+ "owner": {
119
+ "name": "John Doe",
120
+ "address": "john.doe@contoso.com"
121
+ }
122
+ }
123
+ ```
124
+
125
+ </TabItem>
126
+ <TabItem value="Text">
127
+
128
+ ```text
129
+ allowedOnlineMeetingProviders: ["teamsForBusiness"]
130
+ canEdit : true
131
+ canShare : true
132
+ canViewPrivateItems : true
133
+ changeKey : DxYSthXJXEWwAQSYQnXvIgAAIxGttg==
134
+ color : auto
135
+ defaultOnlineMeetingProvider : teamsForBusiness
136
+ hexColor :
137
+ id : AAMkAGI2TQpZAAA=
138
+ isDefaultCalendar : false
139
+ isRemovable : false
140
+ isTallyingResponses : true
141
+ name : Team planning
142
+ owner : {"name":"John Doe","address":"john.doe@contoso.com"}
143
+ ```
144
+
145
+ </TabItem>
146
+ <TabItem value="CSV">
147
+
148
+ ```csv
149
+ id,name,color,hexColor,isDefaultCalendar,changeKey,canShare,canViewPrivateItems,canEdit,defaultOnlineMeetingProvider,isTallyingResponses,isRemovable
150
+ AAMkAGI2TQpZAAA=,Team planning,auto,,false,DxYSthXJXEWwAQSYQnXvIgAAIxGttg==,true,true,true,teamsForBusiness,true,false
151
+ ```
152
+
153
+ </TabItem>
154
+ <TabItem value="Markdown">
155
+
156
+ ```md
157
+ # outlook calendar set
158
+
159
+ Date: 4/2/2026
160
+
161
+ Property | Value
162
+ ---------|-------
163
+ id | AAMkAGI2TQpZAAA=
164
+ name | Team planning
165
+ color | auto
166
+ hexColor |
167
+ isDefaultCalendar | false
168
+ changeKey | DxYSthXJXEWwAQSYQnXvIgAAIxGttg==
169
+ canShare | true
170
+ canViewPrivateItems | true
171
+ canEdit | true
172
+ defaultOnlineMeetingProvider | teamsForBusiness
173
+ isTallyingResponses | true
174
+ isRemovable | false
175
+ ```
176
+
177
+ </TabItem>
178
+ </Tabs>
@@ -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
+
@@ -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 />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnp/cli-microsoft365",
3
- "version": "11.7.0-beta.71c58f3",
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",